summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/inspector/display-sql-null.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/inspector/display-sql-null.html')
-rw-r--r--WebCore/manual-tests/inspector/display-sql-null.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/WebCore/manual-tests/inspector/display-sql-null.html b/WebCore/manual-tests/inspector/display-sql-null.html
new file mode 100644
index 0000000..1d1403b
--- /dev/null
+++ b/WebCore/manual-tests/inspector/display-sql-null.html
@@ -0,0 +1,21 @@
+<script>
+ try {
+ var db = openDatabase("InspectorTest", "0.1", "Database for Inspector tests", 200000);
+ db.transaction(function(tx) {
+ tx.executeSql("CREATE TABLE DisplaySQLNull (test TEXT)", [], function(tx) {
+ tx.executeSql("INSERT INTO DisplaySQLNull (test) VALUES (NULL)");
+ })
+ });
+ } catch (e) {
+ }
+</script>
+<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=18837">Bug 18837: Database panel fails to display tables if any value is NULL</a>.</p>
+<p>To test:</p>
+<ol>
+ <li>Open the Inspector</li>
+ <li>Go to the Databases panel</li>
+ <li>Click on the <code>DisplaySQLNull</code> table inside the <code>InspectorTest</code> database</li>
+</ol>
+<p>If the contents of the table appear (a single row with the value
+"<code>null</code>" in the <code>test</code> column), you have passed the
+test.</p>