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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-enabled.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-enabled.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-enabled.html
deleted file mode 100644
index ee07de1b6679710c119e4436b8614bbf094583e3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-enabled.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<head>
- <title>Feature-Policy PaymentRequest Enabled</title>
- <script src="/resources/testharness.js"></script>
- <script src="/resources/testharnessreport.js"></script>
-</head>
-<script>
- test(function() {
- var supportedInstruments = [ { supportedMethods: [ 'visa' ] } ];
- var details = {
- total: { label: 'Test', amount: { currency: 'USD', value: '5.00' } }
- };
- try {
- new PaymentRequest(supportedInstruments, details);
- } catch (e) {
- assert_unreached('PaymentRequest should be enabled by FeaturePolicy');
- }
- }, 'Any iframes may construct PaymentRequest when enabled.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698