Bug 1058961 - Disable mozLockOrientation, mozUnlockOrientation in prerendering; r=jst

--HG--
extra : amend_source : 9fbcff790ca45666e26911c6c8161453c12c1b88
This commit is contained in:
Roshan Vidyashankar 2014-12-21 12:03:52 -05:00
parent 39a1cd8ccb
commit a4be32e6e6

View File

@ -40,13 +40,14 @@ interface Screen : EventTarget {
/**
* Lock screen orientation to the specified type.
*/
[Throws]
[Throws, UnsafeInPrerendering]
boolean mozLockOrientation(DOMString orientation);
[Throws]
[Throws, UnsafeInPrerendering]
boolean mozLockOrientation(sequence<DOMString> orientation);
/**
* Unlock the screen orientation.
*/
[UnsafeInPrerendering]
void mozUnlockOrientation();
};