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

Unified Diff: third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html

Issue 2020883002: PaymentRequest: Introduce PaymentMethodData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/LayoutTests/payments/payment-request-in-iframe.html
diff --git a/third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html b/third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html
index 4afa3a834b3d46884a44ba079b32858f160a369c..69193a237dab5d6768c61e9e3c85261fc36d45b5 100644
--- a/third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html
+++ b/third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html
@@ -9,7 +9,7 @@
<script>
window.top.test(function() {
window.top.assert_throws({name: 'SecurityError'}, function() {
- new PaymentRequest(['foo'], {total: {label: 'label', amount: {currency: 'USD', value: '5.00'}}});
+ new PaymentRequest([{supportedMethods: ['foo']}], {total: {label: 'label', amount: {currency: 'USD', value: '5.00'}}});
}, 'If the browsing context of the script calling the constructor is not a top-level browsing context, then throw a SecurityError.');
});
</script>

Powered by Google App Engine
This is Rietveld 408576698