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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp

Issue 2657263002: Experiment with blocking script inside fragment-parser-inserted `<iframe srcdoc>`.
Patch Set: Bitwise logic is hard. Created 3 years, 11 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/Source/core/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 5fb9dca5f46835c5df48fef9819b45d455d9c468..c7fbbe8f082c52c2bee39cef9d1653bd8823182b 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -380,7 +380,7 @@ TEST_F(FrameFetchContextModifyRequestTest, SendEmbeddingCSPHeader) {
{"https://example.test/page.html", WebURLRequest::FrameTypeNone},
{"https://example.test/page.html", WebURLRequest::FrameTypeTopLevel}};
- HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document);
+ HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document, false);
const AtomicString& requiredCSP = AtomicString("default-src 'none'");
const AtomicString& anotherRequiredCSP = AtomicString("default-src 'self'");
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTagNames.in ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698