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

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

Issue 2767983003: Initial Implementation of Iframe Attribute for Feature Policy (Part 4) (Closed)
Patch Set: Nit Created 3 years, 9 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/vibrate-allowed-by-container-policy-relocate.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy-relocate.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy-relocate.html
new file mode 100644
index 0000000000000000000000000000000000000000..96783931d84599aac93a8801788876b7bc89d914
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy-relocate.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+</script>
+</head>
+<iframe id="f1" src="about:blank" allow="vibrate"></iframe>
+<iframe id="f2" src="resources/feature-policy-vibrate-relocate-disabled.html" allow="vibrate"></iframe>
+<script>
+document.getElementById("f1").src = "http://localhost:8000/feature-policy/resources/feature-policy-vibrate-enabled.html";
+</script>

Powered by Google App Engine
This is Rietveld 408576698