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

Unified Diff: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name-denied-expected.txt

Issue 1885703003: Make testharness.js tests fail on uncaught exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recover script changes Created 4 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: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name-denied-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name-denied-expected.txt b/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name-denied-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5f1741e8a77f453072965489297e28648359977
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name-denied-expected.txt
@@ -0,0 +1,11 @@
+CONSOLE ERROR: Blocked opening 'fail-and-notify-done.html' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
+CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with URL 'sandboxed-iframe-navigation-top-by-name-denied.html' from frame with URL 'about:srcdoc'. The frame attempting navigation of the top-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
+
+CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with URL 'sandboxed-iframe-navigation-top-by-name-denied.html' from frame with URL 'about:srcdoc'. The frame attempting navigation of the top-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
+
+CONSOLE ERROR: Blocked opening 'fail-and-notify-done.html' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
+
+This is a testharness.js-based test.
+PASS Sandboxed frame cannot navigate top-level browsing context by name.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698