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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet.html

Issue 1841633002: Make constructors in Worklets be properly exposed on the global. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <!DOCTYPE html>
1 <html> 2 <html>
2 <head>
3 <style id="m"></style>
4 </head>
5 <body> 3 <body>
6 <script> 4 <script>
7 var g = ":not\\( .title{}"; 5 if (window.testRunner) {
8 var me = document.getElementById("m"); 6 testRunner.waitUntilDone();
9 window.setTimeout(runTest,0); 7 testRunner.dumpAsText();
10 function runTest(){ 8 }
11 me.textContent=g; 9
10 paintWorklet.import('resources/global-interface-listing-worklet.js').then(fu nction() {
12 if (window.testRunner) { 11 if (window.testRunner) {
13 testRunner.notifyDone(); 12 testRunner.notifyDone();
14 } 13 }
15 } 14 });
16 if (window.testRunner) {
17 testRunner.dumpAsText();
18 testRunner.waitUntilDone();
19 }
20 </script> 15 </script>
21 <p>PASS without crash.</p>
22 </body> 16 </body>
23 </html> 17 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698