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

Side by Side Diff: content/test/data/simple_database.html

Issue 2503453003: Remove all calls to domAutomationController.setAutomationId.
Patch Set: Fix nacl_browsertest_util.cc Created 3 years, 5 months 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 <script> 2 <script>
3 3
4 // Open a Web SQL database. 4 // Open a Web SQL database.
5 var g_db = null; 5 var g_db = null;
6 if (typeof window.openDatabase == "undefined") { 6 if (typeof window.openDatabase == "undefined") {
7 document.write("Error: Web SQL databases are not supported."); 7 document.write("Error: Web SQL databases are not supported.");
8 } 8 }
9 try { 9 try {
10 g_db = openDatabase("test", "1.0", "test database", 1024 * 1024); 10 g_db = openDatabase("test", "1.0", "test database", 1024 * 1024);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 sendValueToTest("could not find row with index: " + index); 127 sendValueToTest("could not find row with index: " + index);
128 }, 128 },
129 function(tx, error) { 129 function(tx, error) {
130 sendValueToTest("findId error: " + error); 130 sendValueToTest("findId error: " + error);
131 }); 131 });
132 }); 132 });
133 } 133 }
134 134
135 function sendValueToTest(value) { 135 function sendValueToTest(value) {
136 //alert(value); 136 //alert(value);
137 window.domAutomationController.setAutomationId(0);
138 window.domAutomationController.send(value); 137 window.domAutomationController.send(value);
139 } 138 }
140 139
141 </script> 140 </script>
142 141
143 <body> 142 <body>
144 This page is used for testing Web SQL databases. 143 This page is used for testing Web SQL databases.
145 </body> 144 </body>
146 </html> 145 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698