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

Side by Side Diff: third_party/WebKit/LayoutTests/vibration/vibration-durations-expected.txt

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: Move the flag name/description to const char* 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 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
2 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
3 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
4 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
5 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
6 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
7 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
8 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
9 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
10 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
11 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
12 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
13 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
14 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
15 CONSOLE WARNING: line 1: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/56442738 61001216.
16 CONSOLE WARNING: line 17: A call to navigator.vibrate will soon require user tap on the frame or any embedded frame:https://www.chromestatus.com/feature/5644273 861001216.
1 Tests for how durations are handled in the Vibration API. 17 Tests for how durations are handled in the Vibration API.
2 18
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 19 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 20
5 21
6 PASS navigator.vibrate([]) is true 22 PASS navigator.vibrate([]) is true
7 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), []) is true 23 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), []) is true
8 PASS internals.isVibrating(navigator) is false 24 PASS internals.isVibrating(navigator) is false
9 PASS navigator.vibrate(0) is true 25 PASS navigator.vibrate(0) is true
10 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), []) is true 26 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), []) is true
(...skipping 13 matching lines...) Expand all
24 PASS navigator.vibrate(-1) is true 40 PASS navigator.vibrate(-1) is true
25 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), []) is true 41 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), []) is true
26 PASS internals.isVibrating(navigator) is false 42 PASS internals.isVibrating(navigator) is false
27 PASS navigator.vibrate([-1, -1, -1]) is true 43 PASS navigator.vibrate([-1, -1, -1]) is true
28 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), [10000, 10000, 10000]) is true 44 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), [10000, 10000, 10000]) is true
29 PASS internals.isVibrating(navigator) is true 45 PASS internals.isVibrating(navigator) is true
30 PASS successfullyParsed is true 46 PASS successfullyParsed is true
31 47
32 TEST COMPLETE 48 TEST COMPLETE
33 49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698