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

Side by Side Diff: LayoutTests/vibration/navigator-vibration-expected.txt

Issue 39313002: Move vibration test case to the vibration directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « LayoutTests/vibration/navigator-vibration.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test for the Vibration API. 1 Test for the Vibration API.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS navigator.vibrate(0); is true 6 PASS navigator.vibrate(0); is true
7 PASS navigator.vibrate([]); is true 7 PASS navigator.vibrate([]); is true
8 PASS navigator.vibrate(1); is true 8 PASS navigator.vibrate(1); is true
9 PASS navigator.vibrate([1, 2]); is true 9 PASS navigator.vibrate([1, 2]); is true
10 PASS navigator.vibrate([1, 2, 3]); is true 10 PASS navigator.vibrate([1, 2, 3]); is true
11 PASS navigator.vibrate(10000); is true 11 PASS navigator.vibrate(10000); is true
12 PASS navigator.vibrate(10001); is true 12 PASS navigator.vibrate(10001); is true
13 PASS navigator.vibrate(-1); is true 13 PASS navigator.vibrate(-1); is true
14 PASS var p = []; for (var i = 0; i < 99; i++) p[i] = 1; navigator.vibrate(p); is true 14 PASS var p = []; for (var i = 0; i < 99; i++) p[i] = 1; navigator.vibrate(p); is true
15 PASS var p = []; for (var i = 0; i < 100; i++) p[i] = 1; navigator.vibrate(p); i s true 15 PASS var p = []; for (var i = 0; i < 100; i++) p[i] = 1; navigator.vibrate(p); i s true
16 PASS navigator.vibrate(); threw exception TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present.. 16 PASS navigator.vibrate(); threw exception TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present..
17 PASS navigator.vibrate([1], [2]); threw exception TypeError: Type error. 17 PASS navigator.vibrate([1], [2]); threw exception TypeError: Type error.
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW
« no previous file with comments | « LayoutTests/vibration/navigator-vibration.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698