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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/worklet/worklet-should-report-context-destroyed.html

Issue 2702613004: Worklet: Move a chromium-specific test to chromium/ (Closed)
Patch Set: Created 3 years, 10 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 if (window.testRunner) {
6 testRunner.waitUntilDone();
7 testRunner.dumpAsText();
8 }
9
10 function gc()
11 {
12 if (window.GCController) {
13 GCController.collect();
14 } else {
15 for (var i = 0; i < 10000; ++i)
16 new Object;
17 }
18 }
19
20 function tryCrash()
21 {
22 document.frame.paintWorklet;
23 tCF1.outerHTML = "";
24 gc();
25 if (window.testRunner)
26 testRunner.notifyDone();
27 }
28 </script>
29 <div id=tCF1><iframe onload="tryCrash()" name=frame id=frame></iframe></div>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698