Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/payments/resources/payment-request-in-iframe-nested1.html |
| diff --git a/third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html b/third_party/WebKit/LayoutTests/payments/resources/payment-request-in-iframe-nested1.html |
| similarity index 65% |
| copy from third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html |
| copy to third_party/WebKit/LayoutTests/payments/resources/payment-request-in-iframe-nested1.html |
| index 69193a237dab5d6768c61e9e3c85261fc36d45b5..0b073f2b3d1478009d390e41acd92fbdf2b24fab 100644 |
| --- a/third_party/WebKit/LayoutTests/payments/payment-request-in-iframe.html |
| +++ b/third_party/WebKit/LayoutTests/payments/resources/payment-request-in-iframe-nested1.html |
| @@ -3,14 +3,12 @@ |
| <title>Test for PaymentRequest in an iframe</title> |
| <script src="../resources/testharness.js"></script> |
| <script src="../resources/testharnessreport.js"></script> |
| -<iframe srcdoc=" |
| +<iframe allowpaymentrequest srcdoc=" |
|
please use gerrit instead
2016/10/13 00:26:48
Ditto
pals
2016/10/14 08:11:18
Done.
|
| <!DOCTYPE html> |
| <meta charset='utf-8'> |
| <script> |
| window.top.test(function() { |
| - window.top.assert_throws({name: 'SecurityError'}, function() { |
| 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.'); |
| -}); |
| + }, 'Scripts in the iframe element with allowpaymentrequest content attribute are allowed to make payment requests.'); |
| </script> |
| "></iframe> |