Index: LayoutTests/screen_orientation/lockOrientation-bad-array-argument-expected.txt |
diff --git a/LayoutTests/screen_orientation/lockOrientation-bad-array-argument-expected.txt b/LayoutTests/screen_orientation/lockOrientation-bad-array-argument-expected.txt |
index 07c9548e3b9869adb227330ac5a0901f4f894519..e72ac8fc480c8f74984f95866c1a747452ecb130 100644 |
--- a/LayoutTests/screen_orientation/lockOrientation-bad-array-argument-expected.txt |
+++ b/LayoutTests/screen_orientation/lockOrientation-bad-array-argument-expected.txt |
@@ -3,13 +3,13 @@ Validates that lockOrientation() returns false on bad orientation value in array |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS screen.orientation is "portrait-primary" |
+PASS screen.orientation.type is "portrait-primary" |
PASS screen.lockOrientation(['portrait-primary', 'invalid-orientation']) threw exception TypeError: Failed to execute 'lockOrientation' on 'Screen': parameter 1 ('portrait-primary,invalid-orientation') is not a valid enum value.. |
PASS screen.lockOrientation(['portrait-primary', null]) threw exception TypeError: Failed to execute 'lockOrientation' on 'Screen': parameter 1 ('portrait-primary,') is not a valid enum value.. |
PASS screen.lockOrientation(['portrait-primary', undefined]) threw exception TypeError: Failed to execute 'lockOrientation' on 'Screen': parameter 1 ('portrait-primary,') is not a valid enum value.. |
PASS screen.lockOrientation(['portrait-primary', 123]) threw exception TypeError: Failed to execute 'lockOrientation' on 'Screen': parameter 1 ('portrait-primary,123') is not a valid enum value.. |
PASS screen.lockOrientation(['portrait-primary', window]) threw exception TypeError: Failed to execute 'lockOrientation' on 'Screen': parameter 1 ('portrait-primary,[object Window]') is not a valid enum value.. |
-PASS screen.orientation is "portrait-primary" |
+PASS screen.orientation.type is "portrait-primary" |
PASS successfullyParsed is true |
TEST COMPLETE |