Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/cross-origin-iframe-for-feature-disabled.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-disabled.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-disabled.html |
| index d5b3f8f5884276bac569c963d3daa4fdbb5c6580..38f0fdf0cf383ee63c4f85b1cda77960852f8104 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-disabled.html |
| @@ -7,8 +7,8 @@ |
| <body> |
| <script> |
| test(function () { |
| - assert_true(navigator.vibrate(200)); |
| - }, "A same-origin iframe may call navigator.vibrate."); |
| + assert_false("write" in document); |
|
alexmos
2016/11/09 01:16:55
Looks like the test is failing without --site-per-
iclelland
2016/11/09 18:07:59
Thanks for the pointer -- I'll definitely do that
|
| + }, "A frame with docwrite disabled by policy should not see document.write"); |
| </script> |
| </body> |
| </html> |