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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-on-paint-worklet.html

Issue 2826983002: Rename Worklet.import() to Worklet.addModule(). (Closed)
Patch Set: Fixing Layout Tests Created 3 years, 8 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 src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 function importWorklet() 6 function importWorklet()
7 { 7 {
8 paintWorklet.import('console-worklet-script.js'); 8 paintWorklet.addModule('console-worklet-script.js');
9 } 9 }
10 10
11 function test() 11 function test()
12 { 12 {
13 InspectorTest.waitForConsoleMessages(3, finish); 13 InspectorTest.waitForConsoleMessages(3, finish);
14 InspectorTest.evaluateInPage("importWorklet();"); 14 InspectorTest.evaluateInPage("importWorklet();");
15 15
16 function finish() 16 function finish()
17 { 17 {
18 InspectorTest.dumpConsoleMessages(); 18 InspectorTest.dumpConsoleMessages();
19 InspectorTest.completeTest(); 19 InspectorTest.completeTest();
20 } 20 }
21 } 21 }
22 </script> 22 </script>
23 </head> 23 </head>
24 <body onload="runTest()"> 24 <body onload="runTest()">
25 <p>Tests console output from PaintWorklet.</p> 25 <p>Tests console output from PaintWorklet.</p>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698