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