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> |