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

Unified Diff: third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-enabledforall.html

Issue 2492623002: Implementation for feature policy - vibrate. (Closed)
Patch Set: Added layout tests for vibrate with runtime flag turned on 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-enabledforall.html
diff --git a/third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-enabledforall.html b/third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-enabledforall.html
new file mode 100644
index 0000000000000000000000000000000000000000..2045e27c959feaef4d7a3c024aab8f8518592417
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-enabledforall.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<title>Feature-Policy Vibrate Enabled For All</title>
iclelland 2016/11/18 04:46:48 Ditto here.
lunalu1 2016/11/23 00:25:03 Done.
+<head>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+</head>
+<script>
+ test(function() {
+ assert_true(navigator.vibrate(200));
+ }. 'Any iframe may call navigator.vibrate when enabled for all.');
+</script>

Powered by Google App Engine
This is Rietveld 408576698