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

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.idl

Issue 2680083002: Initial Implementation of Iframe Attribute for Feature Policy (Part 1) (Closed)
Patch Set: Codereview: nit Created 3 years, 10 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/html/HTMLIFrameElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl b/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
index 0a43b108ad1fd5e6c85bb2e2e9a51784fe94be08..862f9aa6a53bd8a5c95346cbdbddb7ab84d0f67a 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
@@ -29,6 +29,7 @@ interface HTMLIFrameElement : HTMLElement {
[CEReactions, Reflect] attribute boolean allowFullscreen;
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
+
[CheckSecurity=ReturnValue] readonly attribute Document? contentDocument;
readonly attribute Window? contentWindow;
[CheckSecurity=ReturnValue, RaisesException] Document? getSVGDocument();
@@ -38,6 +39,9 @@ interface HTMLIFrameElement : HTMLElement {
// https://w3c.github.io/webappsec-csp/embedded/#dom-htmliframeelement-csp
[RuntimeEnabled=EmbedderCSPEnforcement, CEReactions, Reflect] attribute DOMString csp;
+ // Feature Policy allow attribute
+ // https://wicg.github.io/feature-policy/
+ [RuntimeEnabled=FeaturePolicy, CEReactions, PutForwards=value] readonly attribute DOMTokenList allow;
// obsolete members
// https://html.spec.whatwg.org/#HTMLIFrameElement-partial
[CEReactions, Reflect] attribute DOMString align;

Powered by Google App Engine
This is Rietveld 408576698