Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/referrer-attr-anchor-noreferrer-target.html b/third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html |
| similarity index 64% |
| copy from third_party/WebKit/LayoutTests/http/tests/security/resources/referrer-attr-anchor-noreferrer-target.html |
| copy to third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html |
| index fb75bd82e864ca03678ce63ab3576b466521aed8..d5b3f8f5884276bac569c963d3daa4fdbb5c6580 100644 |
| --- a/third_party/WebKit/LayoutTests/http/tests/security/resources/referrer-attr-anchor-noreferrer-target.html |
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/same-origin-iframe-for-vibrate-allowed.html |
| @@ -7,8 +7,8 @@ |
| <body> |
| <script> |
| test(function () { |
| - assert_equals("", document.referrer); |
| - }, "noreferrer link takes precedence over referrerpolicy attribute"); |
| + assert_true(navigator.vibrate(200)); |
|
ojan
2016/09/28 21:08:52
Acutally...wait, does this not output a PASS line
|
| + }, "A same-origin iframe may call navigator.vibrate."); |
| </script> |
| </body> |
| </html> |