| Index: LayoutTests/screen_orientation/lockOrientation-bad-array-argument.html
|
| diff --git a/LayoutTests/screen_orientation/lockOrientation-bad-array-argument.html b/LayoutTests/screen_orientation/lockOrientation-bad-array-argument.html
|
| index 0c56955351bd8573e893ea6d48268be7ff778c7e..58f27589aeaec8b35088ddb889b09c0762cd8580 100644
|
| --- a/LayoutTests/screen_orientation/lockOrientation-bad-array-argument.html
|
| +++ b/LayoutTests/screen_orientation/lockOrientation-bad-array-argument.html
|
| @@ -11,7 +11,7 @@ function onOrientationChangeEvent(ev) {
|
| }
|
|
|
| function completeTest() {
|
| - shouldBeEqualToString("screen.orientation", "portrait-primary");
|
| + shouldBeEqualToString("screen.orientation.type", "portrait-primary");
|
| screen.unlockOrientation();
|
| finishJSTest();
|
| }
|
| @@ -22,7 +22,7 @@ function typeErrorEnum(argStr) {
|
| return "TypeError: Failed to execute 'lockOrientation' on 'Screen': parameter 1 ('" + argStr + "') is not a valid enum value.";
|
| }
|
|
|
| -shouldBeEqualToString("screen.orientation", "portrait-primary");
|
| +shouldBeEqualToString("screen.orientation.type", "portrait-primary");
|
| // Bad argument to lockOrientation(), we should not get locked.
|
| shouldThrow("screen.lockOrientation(['portrait-primary', 'invalid-orientation'])", "typeErrorEnum('portrait-primary,invalid-orientation')");
|
| shouldThrow("screen.lockOrientation(['portrait-primary', null])", "typeErrorEnum('portrait-primary,')");
|
|
|