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

Unified Diff: LayoutTests/fast/parser/resources/document-write-then-close.html

Issue 710933003: Handle parser-blocking script cancellations while nested. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Generalize cancellation 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/parser/resources/document-write-then-close.html
diff --git a/LayoutTests/fast/parser/resources/document-write-then-close.html b/LayoutTests/fast/parser/resources/document-write-then-close.html
new file mode 100644
index 0000000000000000000000000000000000000000..20bcaec9b44a0d475715784d58570426cb3944ba
--- /dev/null
+++ b/LayoutTests/fast/parser/resources/document-write-then-close.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<script>
+document.write("<script src='" + "irrelevant.js" + "'></scr" + "ipt>");
+window.close();
+if (window.testRunner)
+ testRunner.notifyDone();
+</script>
« no previous file with comments | « LayoutTests/fast/parser/document-write-then-close-expected.txt ('k') | Source/core/html/parser/HTMLScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698