Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/database-table-name-excaping.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script> 3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script src="../http/tests/inspector/resources-test.js"></script> 4 <script src="../http/tests/inspector/resources-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 var tableName = "table-name-with-dashes-and-\"quotes\""; 9 var tableName = "table-name-with-dashes-and-\"quotes\"";
10 var escapedTableName = WebInspector.DatabaseTableView.prototype._escapeTable Name(tableName, "", true); 10 var escapedTableName = Resources.DatabaseTableView.prototype._escapeTableNam e(tableName, "", true);
11 InspectorTest.addResult("Original value: " + tableName); 11 InspectorTest.addResult("Original value: " + tableName);
12 InspectorTest.addResult("Escaped value: " + escapedTableName); 12 InspectorTest.addResult("Escaped value: " + escapedTableName);
13 InspectorTest.completeTest(); 13 InspectorTest.completeTest();
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="runTest()"> 17 <body onload="runTest()">
18 <p>Tests how table names are escaped in database table view.</p> 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> 19 <a href="https://bugs.webkit.org/show_bug.cgi?id=61205">Bug 74422</a>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698