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

Side by Side Diff: content/test/data/gpu/pixel_offscreenCanvas_2d_commit_main.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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- READ BEFORE UPDATING: 3 <!-- READ BEFORE UPDATING:
4 If this test is updated make sure to increment the "revision" value of the 4 If this test is updated make sure to increment the "revision" value of the
5 associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ens ure 5 associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ens ure
6 that the baseline images are regenerated on the next run. 6 that the baseline images are regenerated on the next run.
7 --> 7 -->
8 8
9 <html> 9 <html>
10 <head> 10 <head>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 } 106 }
107 107
108 function main() { 108 function main() {
109 startTest(); 109 startTest();
110 } 110 }
111 111
112 function waitForFinish() 112 function waitForFinish()
113 { 113 {
114 if (g_swapsBeforeAck == 0) { 114 if (g_swapsBeforeAck == 0) {
115 domAutomationController.setAutomationId(1);
116 domAutomationController.send("SUCCESS"); 115 domAutomationController.send("SUCCESS");
117 } else { 116 } else {
118 g_swapsBeforeAck--; 117 g_swapsBeforeAck--;
119 document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1; 118 document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1;
120 requestAnimationFrame(waitForFinish); 119 requestAnimationFrame(waitForFinish);
121 } 120 }
122 } 121 }
123 122
124 </script> 123 </script>
125 </body> 124 </body>
126 </html> 125 </html>
OLDNEW
« no previous file with comments | « content/test/data/gpu/pixel_css3d.html ('k') | content/test/data/gpu/pixel_offscreenCanvas_2d_commit_worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698