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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp

Issue 2484763007: [Feature Policy] Remove cookie, domain, and docwrite from Feature Policy MVP (Closed)
Patch Set: Created 4 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 | third_party/WebKit/Source/core/dom/Document.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
index 72bbfb861c5d16cac7225474d2e56acf2707673a..b9501d6dd842674d51aa2b6b71fbbbf25caae1fb 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
@@ -38,26 +38,6 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo,
interfaceObject);
}
}
-
- // Install feature-policy-controlled features
- LocalFrame* frame = nullptr;
- if (executionContext->isDocument())
- frame = toDocument(executionContext)->executingFrame();
-
- if (wrapperTypeInfo == &V8Document::wrapperTypeInfo) {
- if (isFeatureEnabledInFrame(blink::kDocumentCookie, frame)) {
- V8Document::installDocumentCookie(isolate, world, v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
- }
- if (isFeatureEnabledInFrame(blink::kDocumentDomain, frame)) {
- V8Document::installDocumentDomain(isolate, world, v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
- }
- if (isFeatureEnabledInFrame(blink::kDocumentWrite, frame)) {
- V8Document::installDocumentWrite(isolate, world, v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
- }
- }
}
namespace {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698