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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/timeline/timeline-timer.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts Created 3 years, 6 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 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/tracing- test.js"></script> 4 <script type="text/javascript" src="../resources/tracing-test.js"></script>
5 <script> 5 <script>
6 6
7 function performActions() 7 function performActions()
8 { 8 {
9 var callback; 9 var callback;
10 var promise = new Promise((fulfill) => callback = fulfill); 10 var promise = new Promise((fulfill) => callback = fulfill);
11 var timerId = setTimeout(function() 11 var timerId = setTimeout(function()
12 { 12 {
13 evaluateInFrontend("InspectorTest.testFunctionTimerFired(" + timerId + " , " + timerId2 + ")"); 13 evaluateInFrontend("InspectorTest.testFunctionTimerFired(" + timerId + " , " + timerId2 + ")");
14 callback(); 14 callback();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 InspectorTest.log("SUCCESS: found all expected events."); 48 InspectorTest.log("SUCCESS: found all expected events.");
49 InspectorTest.completeTest(); 49 InspectorTest.completeTest();
50 } 50 }
51 } 51 }
52 </script> 52 </script>
53 </head> 53 </head>
54 <body onLoad="runTest();"> 54 <body onLoad="runTest();">
55 <div id="myDiv">DIV</div> 55 <div id="myDiv">DIV</div>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698