Index: Source/modules/screen_orientation/ScreenOrientation.idl |
diff --git a/Source/modules/screen_orientation/ScreenOrientation.idl b/Source/modules/screen_orientation/ScreenOrientation.idl |
index 81a79ca5d285c555a6bbaac6b75999bc9c74be06..310a07b69bcef8ff71409757c0d82d2f4f4942f9 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientation.idl |
+++ b/Source/modules/screen_orientation/ScreenOrientation.idl |
@@ -24,7 +24,7 @@ enum OrientationLockType { |
] partial interface Screen { |
readonly attribute OrientationType orientation; |
- boolean lockOrientation(OrientationLockType orientation); |
+ [RaisesException] boolean lockOrientation(OrientationLockType orientation); |
void unlockOrientation(); |
}; |