Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="/resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="/resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 test(function () { | 9 test(function () { |
| 10 assert_equals("", document.referrer); | 10 assert_true(navigator.vibrate(200)); |
|
ojan
2016/09/28 21:08:52
Acutally...wait, does this not output a PASS line
| |
| 11 }, "noreferrer link takes precedence over referrerpolicy attribute"); | 11 }, "A same-origin iframe may call navigator.vibrate."); |
| 12 </script> | 12 </script> |
| 13 </body> | 13 </body> |
| 14 </html> | 14 </html> |
| OLD | NEW |