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

Side by Side Diff: third_party/WebKit/LayoutTests/vibration/vibration-patterns-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.
1 Tests for how patterns are handled in the Vibration API. 7 Tests for how patterns are handled in the Vibration API.
2 8
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 10
5 11
6 PASS navigator.vibrate(newPattern(1, 4)) is true 12 PASS navigator.vibrate(newPattern(1, 4)) is true
7 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), newPattern(1, 3)) is true 13 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), newPattern(1, 3)) is true
8 PASS internals.isVibrating(navigator) is true 14 PASS internals.isVibrating(navigator) is true
9 PASS navigator.vibrate(newPattern(1, 99)) is true 15 PASS navigator.vibrate(newPattern(1, 99)) is true
10 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), newPattern(1, 99)) is true 16 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), newPattern(1, 99)) is true
11 PASS internals.isVibrating(navigator) is true 17 PASS internals.isVibrating(navigator) is true
12 PASS navigator.vibrate(newPattern(1, 200)) is true 18 PASS navigator.vibrate(newPattern(1, 200)) is true
13 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), newPattern(1, 99)) is true 19 PASS areArraysEqual(internals.pendingVibrationPattern(navigator), newPattern(1, 99)) is true
14 PASS internals.isVibrating(navigator) is true 20 PASS internals.isVibrating(navigator) is true
15 PASS successfullyParsed is true 21 PASS successfullyParsed is true
16 22
17 TEST COMPLETE 23 TEST COMPLETE
18 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698