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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-enabled.html

Issue 2767983003: Initial Implementation of Iframe Attribute for Feature Policy (Part 4) (Closed)
Patch Set: Nit 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 <head> 2 <title>Feature-Policy Vibrate Enabled</title>
3 <title>Feature-Policy Vibrate Enabled</title> 3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 </head>
7 <script> 5 <script>
8 test(function() { 6 test(function() {
9 assert_true(navigator.vibrate(200)); 7 assert_true(navigator.vibrate(200));
10 }, 'Any iframe may call navigator.vibrate when enabled.'); 8 }, 'Any iframe may call navigator.vibrate when enabled.');
11 </script> 9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698