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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy.html

Issue 2767983003: Initial Implementation of Iframe Attribute for Feature Policy (Part 4) (Closed)
Patch Set: Codereview: nit + added more unit tests for container policy Created 3 years, 8 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/payment-allowed-by-container-policy.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy.html
new file mode 100644
index 0000000000000000000000000000000000000000..dfc991ce53fb34a84bff7d748d8c5b08ead3c3c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+</script>
+<iframe id="f1" src="resources/feature-policy-payment-enabled.html" allow="payment"></iframe>
+<iframe id="f2" src="http://localhost:8000/feature-policy/resources/feature-policy-payment-enabled.html" allow="payment"></iframe>
+<iframe id="f3" src="resources/feature-policy-payment-enabled.html" allowpaymentrequest allow="payment"></iframe>
+<iframe id="f4" src="http://localhost:8000/feature-policy/resources/feature-policy-payment-enabled.html" allowpaymentrequest allow="payment"></iframe>

Powered by Google App Engine
This is Rietveld 408576698