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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-on-top-page-before-during-after-user-gesture.html

Issue 2834493002: Remove vibrate w/o user gesture by default (Closed)
Patch Set: Change to turn on by default 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-on-top-page-before-during-after-user-gesture.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-on-top-page-before-during-after-user-gesture.html b/third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-on-top-page-before-during-after-user-gesture.html
index ac9056df51c6816824809b5b950ee3657fb5dbbe..ff788608e061c85c6fec808343cae1904d06051d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-on-top-page-before-during-after-user-gesture.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/vibration/vibrate-on-top-page-before-during-after-user-gesture.html
@@ -8,9 +8,9 @@
function startTest()
{
test(function() {
- assert_true(
+ assert_false(
navigator.vibrate(200),
- "1. Vibrate w/o user gesture is deprecated and will be blocked in M60.");
+ "1. Vibrate w/o user gesture is blocked.");
});
// A manual click should enable vibrate.

Powered by Google App Engine
This is Rietveld 408576698