Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/cross-origin-iframe-for-feature-enabled.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/cross-origin-iframe-for-feature-enabled.html |
similarity index 63% |
copy from third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html |
copy to third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/cross-origin-iframe-for-feature-enabled.html |
index d5b3f8f5884276bac569c963d3daa4fdbb5c6580..236c00504a2fd63901388b3cf4d4d8c31633b135 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/cross-origin-iframe-for-feature-enabled.html |
@@ -7,8 +7,8 @@ |
<body> |
<script> |
test(function () { |
- assert_true(navigator.vibrate(200)); |
- }, "A same-origin iframe may call navigator.vibrate."); |
+ assert_idl_attribute(document, "write"); |
+ }, "A frame with docwrite enabled by policy should see document.write"); |
</script> |
</body> |
</html> |