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

Side by Side Diff: content/test/data/gpu/concave_paths.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
« no previous file with comments | « content/test/data/fullscreen_frame.html ('k') | content/test/data/gpu/filter_effects.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta name="viewport" content="initial-scale=1"/> 4 <meta name="viewport" content="initial-scale=1"/>
5 <title>Concave Paths test</title> 5 <title>Concave Paths test</title>
6 <script> 6 <script>
7 var g_swapsBeforeAck = 15; 7 var g_swapsBeforeAck = 15;
8 8
9 function main() { 9 function main() {
10 waitForFinish(); 10 waitForFinish();
11 } 11 }
12 12
13 function waitForFinish() 13 function waitForFinish()
14 { 14 {
15 if (g_swapsBeforeAck == 0) { 15 if (g_swapsBeforeAck == 0) {
16 domAutomationController.setAutomationId(1);
17 domAutomationController.send("SUCCESS"); 16 domAutomationController.send("SUCCESS");
18 } else { 17 } else {
19 g_swapsBeforeAck--; 18 g_swapsBeforeAck--;
20 document.getElementById('paths').style.zIndex = g_swapsBeforeAck + 1; 19 document.getElementById('paths').style.zIndex = g_swapsBeforeAck + 1;
21 window.requestAnimationFrame(waitForFinish); 20 window.requestAnimationFrame(waitForFinish);
22 } 21 }
23 } 22 }
24 </script> 23 </script>
25 </head> 24 </head>
26 <body onload="main()"> 25 <body onload="main()">
(...skipping 14 matching lines...) Expand all
41 </g> 40 </g>
42 <g transform="translate(400, 0)"> 41 <g transform="translate(400, 0)">
43 <use xlink:href="#chomp"/> 42 <use xlink:href="#chomp"/>
44 </g> 43 </g>
45 <g transform="translate(500, 0)"> 44 <g transform="translate(500, 0)">
46 <use xlink:href="#chomp"/> 45 <use xlink:href="#chomp"/>
47 </g> 46 </g>
48 </svg> 47 </svg>
49 </body> 48 </body>
50 </html> 49 </html>
OLDNEW
« no previous file with comments | « content/test/data/fullscreen_frame.html ('k') | content/test/data/gpu/filter_effects.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698