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

Side by Side Diff: LayoutTests/screen_orientation/lockOrientation-array-argument.html

Issue 171683015: Screen Orientation API: Add support for lockOrientation() / unlockOrientation() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
« no previous file with comments | « no previous file | LayoutTests/screen_orientation/lockOrientation-array-argument-expected.txt » ('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 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../resources/js-test.js"></script>
5 <script>
6 description("Validates that lockOrientation() can take an array as argument.");
7
8 shouldBeEqualToString("screen.orientation", "portrait-primary");
9 debug("locking orientation to ['portrait-primary', 'landscape-primary'].");
10 shouldBeTrue("screen.lockOrientation(['portrait-primary', 'landscape-primary'])" );
11 </script>
12 </body>
13 </html>
14
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/screen_orientation/lockOrientation-array-argument-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698