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

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

Issue 2370783002: Adding CSP attribute on HTMLIFrameElement (Closed)
Patch Set: Addressing Comments: changing TreatAsNull, adding frameOwnerPropertyChanged Created 4 years, 3 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 bdfc2854a39e75a93ab6a76c7ae5282fc9e95f25..0a43b108ad1fd5e6c85bb2e2e9a51784fe94be08 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.idl
@@ -35,6 +35,8 @@ interface HTMLIFrameElement : HTMLElement {
[CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy;
// https://noncombatant.github.io/permission-delegation-api/#delegation-via-the-declarative-api
[RuntimeEnabled=PermissionDelegation, PutForwards=value] readonly attribute DOMTokenList permissions;
+ // https://w3c.github.io/webappsec-csp/embedded/#dom-htmliframeelement-csp
+ [RuntimeEnabled=EmbedderCSPEnforcement, CEReactions, Reflect] attribute DOMString csp;
// obsolete members
// https://html.spec.whatwg.org/#HTMLIFrameElement-partial

Powered by Google App Engine
This is Rietveld 408576698