Index: third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-relocate.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-relocate.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-relocate.html |
index e5e68b6d09fb5e8f95be641856cb031a3c59f40d..69e706beb4723d24db92024b267554778c518e10 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-relocate.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-relocate.html |
@@ -1,15 +1,7 @@ |
<!DOCTYPE html> |
-<html> |
-<head> |
<title>Feature-Policy Vibrate Relocated</title> |
-<script src="/resources/testharness.js"></script> |
-<script src="/resources/testharnessreport.js"></script> |
<script> |
-function loaded() { |
- document.location = "http://localhost:8000/feature-policy-experimental-features/resources/feature-policy-vibrate-disabled.html"; |
- parent.postMessage("Relocate completed", '*'); |
+window.onload = function() { |
+ document.location = "http://localhost:8000/feature-policy-experimental-features/resources/feature-policy-vibrate.html"; |
} |
</script> |
-</head> |
-<body onload="loaded()"></body> |
-</html> |