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

Unified Diff: third_party/WebKit/LayoutTests/fast/plugins/plugin-without-layout-csp-error-crash-expected.txt

Issue 2162473003: Only flag the LayoutObject on CSP error if one is attached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/plugins/plugin-without-layout-csp-error-crash-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked-expected.txt b/third_party/WebKit/LayoutTests/fast/plugins/plugin-without-layout-csp-error-crash-expected.txt
similarity index 50%
copy from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked-expected.txt
copy to third_party/WebKit/LayoutTests/fast/plugins/plugin-without-layout-csp-error-crash-expected.txt
index 2a584b3014afa04c0a2eed156d7f51f992f7d6d0..d53b9f00f6bbd04d50e836583c8f98018647df7a 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-no-url-blocked-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/plugins/plugin-without-layout-csp-error-crash-expected.txt
@@ -1,3 +1,3 @@
-CONSOLE ERROR: line 7: Refused to load plugin data from '' because it violates the following Content Security Policy directive: "object-src 'none'".
+CONSOLE ERROR: line 7: Refused to load plugin data from '' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'object-src' was not explicitly set, so 'default-src' is used as a fallback.
-This test passes if there is a console message saying the plugin was blocked.
+PASS if no crash

Powered by Google App Engine
This is Rietveld 408576698