Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforall.php b/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy.html |
similarity index 52% |
copy from third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforall.php |
copy to third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy.html |
index 471f7b05bef19d1763655c6a3cafd20a3ace4252..de116e0d6520f7a58d32bcd7f1be6205584d3622 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforall.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-allowed-by-container-policy.html |
@@ -1,14 +1,3 @@ |
-<?php |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-// This test ensures that navigator.vibrate when enabled for all works across |
-// origins. |
- |
-Header("Feature-Policy: {\"vibrate\": [\"*\"]}"); |
-?> |
- |
<!DOCTYPE html> |
<html> |
<head> |
@@ -22,7 +11,7 @@ Header("Feature-Policy: {\"vibrate\": [\"*\"]}"); |
</script> |
</head> |
<body> |
-<iframe id="f1" src="resources/feature-policy-vibrate-enabled.html"></iframe> |
-<iframe id="f2" src="http://localhost:8000/feature-policy/resources/feature-policy-vibrate-enabled.html"></iframe> |
+<iframe id="f1" src="resources/feature-policy-vibrate-enabled.html" allow="vibrate"></iframe> |
+<iframe id="f2" src="http://localhost:8000/feature-policy/resources/feature-policy-vibrate-enabled.html" allow="vibrate"></iframe> |
</body> |
</html> |