|  | <script> | 
|  | try { | 
|  | var db = openDatabase("InspectorTest", "0.1", "Database for Inspector tests", 200000); | 
|  | db.transaction(function(tx) { | 
|  | tx.executeSql("CREATE TABLE DisplaySQLTransactionError (test TEXT)", []); | 
|  | }); | 
|  | } catch (e) { | 
|  | } | 
|  | </script> | 
|  | <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=19438">Bug 19438: Transaction errors are never displayed in database query view</a>.</p> | 
|  | <p>To test:</p> | 
|  | <ol> | 
|  | <li>Open the Inspector</li> | 
|  | <li>Go to the Databases panel</li> | 
|  | <li>Click on the <code>InspectorTest</code> database</li> | 
|  | <li>Enter the following text on the query input line: <code>INSERT INTO DisplaySQLTransactionError (test) VALUES (NULL)</code></li> | 
|  | </ol> | 
|  | <p>If the line of text you entered remains and an error line is output below | 
|  | it, you have passed the test.</p> | 
|  | <p>If the line of text you entered disappears and no error line is output, you | 
|  | have failed the test.</p> | 
|  | <p>If the line of text you entered remains and no error line is output, then | 
|  | the test has become invalid and needs to be modified to cause the error | 
|  | callback passed by the Inspector to <code>db.transaction</code> to be called.</p> |