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_true(navigator.vibrate(200)); | 10 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
| |
11 }, "A same-origin iframe may call navigator.vibrate."); | 11 }, "A frame with docwrite disabled by policy should not see document.wri te"); |
12 </script> | 12 </script> |
13 </body> | 13 </body> |
14 </html> | 14 </html> |
OLD | NEW |