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

Unified Diff: LayoutTests/screen_orientation/lockOrientation-bad-argument-expected.txt

Issue 200893004: Remove the ability to lock to multiple orientations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/screen_orientation/lockOrientation-bad-argument-expected.txt
diff --git a/LayoutTests/screen_orientation/lockOrientation-bad-argument-expected.txt b/LayoutTests/screen_orientation/lockOrientation-bad-argument-expected.txt
index a21f6726fe504aa51e7e9e22e7db528f476951ba..4de1f103656ca1f3f710a56728af1e4c2811e5c8 100644
--- a/LayoutTests/screen_orientation/lockOrientation-bad-argument-expected.txt
+++ b/LayoutTests/screen_orientation/lockOrientation-bad-argument-expected.txt
@@ -14,6 +14,8 @@ PASS screen.lockOrientation(123) is false
PASS screen.orientation is "portrait-primary"
PASS screen.lockOrientation(window) is false
PASS screen.orientation is "portrait-primary"
+PASS screen.lockOrientation(['portrait-primary', 'landscape-primary']) is false
+PASS screen.orientation is "portrait-primary"
PASS screen.lockOrientation() threw exception TypeError: Failed to execute 'lockOrientation' on 'Screen': 1 argument required, but only 0 present..
PASS screen.orientation is "portrait-primary"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698