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

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

Issue 40443002: Add Vibration API layout tests that inspect internal state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Address review comments. Created 7 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/vibration/vibration-patterns.html ('k') | LayoutTests/vibration/vibration-utils.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests for how patterns are handled in the Vibration API.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS navigator.vibrate(newPattern(1, 4)) is true
7 PASS areArraysEqual(internals.pendingVibrationPattern(document), newPattern(1, 3 )) is true
8 PASS internals.isVibrating(document) is true
9 PASS navigator.vibrate(newPattern(1, 99)) is true
10 PASS areArraysEqual(internals.pendingVibrationPattern(document), newPattern(1, 9 9)) is true
11 PASS internals.isVibrating(document) is true
12 PASS navigator.vibrate(newPattern(1, 200)) is true
13 PASS areArraysEqual(internals.pendingVibrationPattern(document), newPattern(1, 9 9)) is true
14 PASS internals.isVibrating(document) is true
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW
« no previous file with comments | « LayoutTests/vibration/vibration-patterns.html ('k') | LayoutTests/vibration/vibration-utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698