Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/cross-origin-iframe-for-feature-disabled.html

Issue 2483703002: Replicate feature policy headers to remote frames (Closed)
Patch Set: Get replication actually working; add layout tests Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698