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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-in-cross-origin-iframe-blocked.html

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: rebase Created 3 years, 8 months 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 <title>Vibrate in cross-origin iframe is blocked.</title> 4 <title>Vibrate in cross-origin iframe is blocked.</title>
5 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 <script> 7 <script>
8 if (window.testRunner) { 8 if (window.testRunner) {
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 testRunner.dumpChildFramesAsText(); 10 testRunner.dumpChildFramesAsText();
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <iframe id="iframe" src="http://localhost:8000/security/resources/cross-orig in-iframe-for-vibrate-blocked.html"></iframe> 14 <iframe id="iframe" src="http://localhost:8000/security/vibration/resources/ vibrate-in-cross-origin-iframe-blocked.html"></iframe>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698