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

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 780aa5ba3ce37bbe3723ac6f086bb199b730dd26..3f4629d1dd83e1ec32e6ab7b50173b6462c90a55 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'], {items: [{label: 'label', amount: {currency: 'USD', value: '5.00'}}]});
+ new PaymentRequest([{supportedMethods: ['foo']}], {items: [{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