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

Unified Diff: LayoutTests/fast/parser/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
« no previous file with comments | « no previous file | LayoutTests/fast/parser/document-write-then-close-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/parser/document-write-then-close.html
diff --git a/LayoutTests/fast/parser/document-write-then-close.html b/LayoutTests/fast/parser/document-write-then-close.html
new file mode 100644
index 0000000000000000000000000000000000000000..af817bf2c91e0f4c939192aaea91de75a01bcd7c
--- /dev/null
+++ b/LayoutTests/fast/parser/document-write-then-close.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<p>Cancelling a document.write()-inserted and blocking script shouldn't fail.</p>
+<p>PASS if no crash.</p>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.setCanOpenWindows();
+ testRunner.waitUntilDone();
+}
+window.open("resources/document-write-then-close.html");
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/parser/document-write-then-close-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698