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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/animation-worklet-debugging.html

Issue 2171973002: [WIP][worklets] ThreadedWorkletGlobalScope + AnimationWorkletGlobalScope Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...... Created 4 years, 3 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 | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/animation-worklet-debugging-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../inspector-test.js"></script> 3 <script src="../../inspector-test.js"></script>
4 <script src="../../debugger-test.js"></script> 4 <script src="../../debugger-test.js"></script>
5 <script src="../../console-test.js"></script> 5 <script src="../../console-test.js"></script>
6 6
7 <script> 7 <script>
8 8
9 function installWorker() 9 function importWorklet()
10 { 10 {
11 new Worker("resources/worker-source.js"); 11 animationWorklet.import("resources/worker-source.js");
12 } 12 }
13 13
14 function test() 14 function test()
15 { 15 {
16 InspectorTest.startDebuggerTest(step1); 16 InspectorTest.startDebuggerTest(step1);
17 17
18 function step1() 18 function step1()
19 { 19 {
20 InspectorTest.evaluateInPage("installWorker()"); 20 InspectorTest.evaluateInPage("importWorklet()");
21 InspectorTest.waitUntilPaused(paused); 21 InspectorTest.waitUntilPaused(paused);
22 } 22 }
23 23
24 function paused(callFrames) 24 function paused(callFrames)
25 { 25 {
26 InspectorTest.captureStackTrace(callFrames); 26 InspectorTest.captureStackTrace(callFrames);
27 InspectorTest.resumeExecution(InspectorTest.completeDebuggerTest); 27 InspectorTest.resumeExecution(InspectorTest.completeDebuggerTest);
28 } 28 }
29 }; 29 };
30 30
31 </script> 31 </script>
32 32
33 </head> 33 </head>
34 34
35 <body onload="runTest()"> 35 <body onload="runTest()">
36 <p>Tests stopping in debugger in the worker.</p> 36 <p>Tests stopping in debugger in the animation worklet.</p>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/animation-worklet-debugging-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698