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

Side by Side Diff: LayoutTests/fast/parser/html-document-parser-suspended-40.html

Issue 625583002: Properly suspend HTMLDocumentParser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: better way to call m_parserScheduler->resume Created 6 years, 1 month 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 <head>
3 <meta charset="utf-8">
4 </head>
5 <body>
6 <noscript><p>Javascript must be enabled.</p></noscript>
7 <p>Testing a crash.</p>
8 <script>
9 if (window.testRunner)
10 testRunner.dumpAsText();
11 setTimeout(function (){
12 // alert() is practically a no-op while running blink tests, so testRunn er.sleep
13 // will be the call that blocks scripts and sets defersLoading.
14 alert("When you close this alert, the renderer should not assert and cra sh");
15 if (window.testRunner)
16 testRunner.sleep(500);
17 else
18 location.reload();
19 }, 40);
20 </script>
21 <p><iframe src="data:text/html,%3Ch1%3EHi%3C%2Fh1%3E%3Ciframe%20src%3D%22data%3A text%2Fhtml%2C%3Ch1%3EHi%22%3E%3C%2Fiframe%3E"></iframe></p>
kouhei (in TOK) 2014/11/19 07:56:10 Ditto.
22
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698