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

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

Issue 2855133004: Re-enable feature policy layout tests after bug fix. (Closed)
Patch Set: Updated fp-vibrate tests expect Created 3 years, 7 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 <title>Feature-Policy PaymentRequest Disabled</title>
3 <script>
4 window.onload = function() {
5 var supportedInstruments = [ { supportedMethods: [ 'visa' ] } ];
6 var details = {
7 total: { label: 'Test', amount: { currency: 'USD', value: '5.00' } }
8 };
9 try {
10 new PaymentRequest(supportedInstruments, details);
11 parent.postMessage({ enabled: true, name: 'N/A', message: 'N/A' }, '*');
12 } catch (e) {
13 parent.postMessage({ enabled: false, name: e.name, message: e.message }, '*' );
14 }
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698