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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2394473002: iframes with allowpaymentrequest attribute are allowed to make payment requests. (Closed)
Patch Set: Rebase issues fixed Created 4 years, 2 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/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index db1de678cac7e8bda77e43567030f9960c02da88..72429d7fcb3e290d39b5466e58d437b7a25e7042 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -894,7 +894,8 @@ void FrameLoaderClientImpl::didChangeFrameOwnerProperties(
WebFrameOwnerProperties(
frameElement->scrollingMode(), frameElement->marginWidth(),
frameElement->marginHeight(), frameElement->allowFullscreen(),
- frameElement->csp(), frameElement->delegatedPermissions()));
+ frameElement->allowPaymentRequest(), frameElement->csp(),
pals 2016/10/19 12:53:12 HTMLIFrameElement needs to override allowPaymentRe
haraken 2016/10/19 15:37:56 Can we avoid the override by changing the line to
pals 2016/10/20 09:30:07 Done.
+ frameElement->delegatedPermissions()));
}
void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(

Powered by Google App Engine
This is Rietveld 408576698