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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-enabled.html

Issue 2855133004: Re-enable feature policy layout tests after bug fix. (Closed)
Patch Set: Updated fp-vibrate tests expect Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <title>Feature-Policy PaymentRequest Enabled</title>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 </head>
7 <script>
8 test(function() {
9 var supportedInstruments = [ { supportedMethods: [ 'visa' ] } ];
10 var details = {
11 total: { label: 'Test', amount: { currency: 'USD', value: '5.00' } }
12 };
13 try {
14 new PaymentRequest(supportedInstruments, details);
15 } catch (e) {
16 assert_unreached('PaymentRequest should be enabled by FeaturePolicy');
17 }
18 }, 'Any iframes may construct PaymentRequest when enabled.');
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698