Repository navigation
PaymentRequest: Use [SecureContext] instead of manual check - #8648
Conversation
Until now, we had to use IsSecureContext() to check whether an execution context is a secure context manually. But we can use [SecureContext] instead of the manual check now. After this change, all related APIs including PaymentRequest will not be exposed in non-secure context. Bug: none Change-Id: Ie5b3fc6641e882cc2844595fea350b6adb3425db
wpt-pr-bot
left a comment
There was a problem hiding this comment.
Already reviewed downstream.
Build PASSEDStarted: 2017-12-11 10:53:07 View more information about this build on: |
|
@sideshowbarker, for these tests coming from Chromium that are labeled as "don't merge yet" - if they are ok, should I remove the label and merge them? |
As far as I know, yes. Otherwise there’s no way I know of that’ll cause the “do not merge yet” label to get removed. The expectation appears to be that whoever reviews it either needs to remove it after reviewing — or else just merge it without removing the label, since the presence of that label doesn’t actually make the system block it from being merged. But manually removing it before merging seems to the better thing to do. |
|
Ok, cool. Thanks for the clarification. |
Until now, we had to use IsSecureContext() to check whether an execution
context is a secure context manually. But we can use [SecureContext]
instead of the manual check now. After this change, all related APIs
including PaymentRequest will not be exposed in non-secure context.
Bug: none
Change-Id: Ie5b3fc6641e882cc2844595fea350b6adb3425db
Reviewed-on: https://chromium-review.googlesource.com/818594
WPT-Export-Revision: 2c38d5478806268c23be2edfee31c1a19b881560
This change is