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

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

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Update rebase 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.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
index b95120597c5e8e93838348787c43b88cfcd63a15..90a0daed6f20f66ee4acd1b255aef936f7b606e8 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
@@ -231,15 +231,14 @@ void HTMLIFrameElement::sandboxValueWasSet() {
void HTMLIFrameElement::allowValueWasSet() {
String invalidTokens;
- m_allowedFeatureNames = m_allow->parseAllowedFeatureNames(invalidTokens);
+ m_allowedFeatures = m_allow->parseAllowedFeatureNames(invalidTokens);
if (!invalidTokens.isNull()) {
document().addConsoleMessage(ConsoleMessage::create(
OtherMessageSource, ErrorMessageLevel,
"Error while parsing the 'allow' attribute: " + invalidTokens));
}
setSynchronizedLazyAttribute(allowAttr, m_allow->value());
- // TODO(lunalu): Once allowedFeatureNames is passed to frame owner, call
- // frameOwnerPropertiesChanged.
+ frameOwnerPropertiesChanged();
}
ReferrerPolicy HTMLIFrameElement::referrerPolicyAttribute() {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLIFrameElement.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698