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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp 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> 4 <script>
5 5
6 function createPromiseAndScheduleResolve() 6 function createPromiseAndScheduleResolve()
7 { 7 {
8 var resolveCallback; 8 var resolveCallback;
9 var promise = new Promise((resolve) => resolveCallback = resolve); 9 var promise = new Promise((resolve) => resolveCallback = resolve);
10 setTimeout(resolveCallback.bind(null, { a : 239 }), 0); 10 setTimeout(resolveCallback.bind(null, { a : 239 }), 0);
11 return promise; 11 return promise;
12 } 12 }
13 13
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 ]); 68 ]);
69 } 69 }
70 </script> 70 </script>
71 </head> 71 </head>
72 <body onLoad="runTest();"> 72 <body onLoad="runTest();">
73 Tests that Runtime.evaluate works with awaitPromise flag. 73 Tests that Runtime.evaluate works with awaitPromise flag.
74 </body> 74 </body>
75 </html> 75 </html>
76 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698