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