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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html

Issue 2099583002: When pumping tokens yield for scripts waiting for resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format the test files and add a reference to the bug. Created 4 years, 5 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 <head>
4 <title>Regression test for CR573921</title>
5 </head>
6 <body>
7 <iframe id="f"></iframe>
8 <script>
9 if (window.testRunner) {
10 testRunner.dumpAsText();
11 testRunner.waitUntilDone();
12 }
13 let n = 0;
14 window.onmessage = (event) => {
15 n++;
16 if (n > 3) {
17 document.body.textContent = 'PASS did not crash';
18 if (window.testRunner) {
19 testRunner.notifyDone();
20 }
21 }
22 };
23 f.src = 'resources/write-script-waiting-for-style-crash.html';
24 </script>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698