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

Unified Diff: LayoutTests/fast/js/document-open-getter-throw-no-crash-expected.txt

Issue 249653002: document.open(): gracefully handle exception thrown on window.open access. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/document-open-getter-throw-no-crash-expected.txt
diff --git a/LayoutTests/fast/js/document-open-getter-throw-no-crash-expected.txt b/LayoutTests/fast/js/document-open-getter-throw-no-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f3049f5ff6aef11591ee856af215c0bbdc7c781
--- /dev/null
+++ b/LayoutTests/fast/js/document-open-getter-throw-no-crash-expected.txt
@@ -0,0 +1,10 @@
+document.open() - propagate exception thrown when accessing window.open.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS frame.contentDocument.open(1, 1, 1, 1, 1); threw exception PASS (no crash).
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698