upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / inspector / database-table-name-excaping.html
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script>
5
6 function test()
7 {
8     var tableName = "table-name-with-dashes-and-\"quotes\"";
9     var escapedTableName = WebInspector.DatabaseTableView.prototype._escapeTableName(tableName, "", true);
10     InspectorTest.addResult("Original value: " + tableName);
11     InspectorTest.addResult("Escaped value: " + escapedTableName);
12     InspectorTest.completeTest();
13 }
14 </script>
15 </head>
16 <body onload="runTest()">
17  <p>Tests how table names are escaped in database table view.</p>
18 <a href="https://bugs.webkit.org/show_bug.cgi?id=61205">Bug 74422</a>
19 </body>
20 </html>