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

Side by Side Diff: LayoutTests/screen_orientation/locking-then-unlocking-expected.txt

Issue 132113006: Add initial Blink-side support for the Screen Orientation API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update compile-time assertion for matching enum Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Validates that screen orientation can be unlocked
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS screen.orientation is "portrait-primary"
7 locking orientation to 'portrait-primary'.
8 PASS screen.lockOrientation('portrait-primary') is true
9 Faking device screen orientation change to 'landscape-primary'...
10 PASS screen.orientation is "portrait-primary"
11 PASS orientationChangeEventCount is 0
12 Unlocking orientation...
13 Received an 'orientationchange' event.
14 PASS locked is false
15 PASS orientationChangeEventCount is 1
16 PASS testEvent.type is "orientationchange"
17 PASS screen.orientation is "landscape-primary"
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698