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

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, added RuntimeFeatures::FeaturePolicyExperimentalFeatures 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..c234368d84441521ffc808a2b17bc9d7a77b0c1c 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
@@ -29,6 +29,10 @@ interface HTMLIFrameElement : HTMLElement {
[CEReactions, Reflect] attribute boolean allowFullscreen;
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
+
+ // Feature Policy allow attribute
+ [CEReactions, PutForwards=value, RuntimeEnabled=FeaturePolicy] readonly attribute DOMTokenList allow;
iclelland 2017/02/08 20:11:35 Should we remove the readonly modifier here? It's
lunalu1 2017/02/08 21:06:11 I believe this is what you need to do for DomToken
Rick Byers 2017/02/09 19:00:35 You can still add things to a readonly DOMTokenLis
lunalu1 2017/02/09 23:19:04 Done.
+
[CheckSecurity=ReturnValue] readonly attribute Document? contentDocument;
readonly attribute Window? contentWindow;
[CheckSecurity=ReturnValue, RaisesException] Document? getSVGDocument();

Powered by Google App Engine
This is Rietveld 408576698