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> |