mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 12:31:22 +00:00
Purge a number of Mozilla-specific WebIDL
Did a bunch of grepping for `moz*` and searched for "moz" in rustdoc, deleting anything that looked mozilla-specific. Now there's nothing left with the "moz" prefix in rustdoc!
This commit is contained in:
26
crates/web-sys/webidls/enabled/Screen.webidl
vendored
26
crates/web-sys/webidls/enabled/Screen.webidl
vendored
@ -27,32 +27,6 @@ interface Screen : EventTarget {
|
||||
readonly attribute long availTop;
|
||||
[Throws]
|
||||
readonly attribute long availLeft;
|
||||
|
||||
/**
|
||||
* DEPRECATED, use ScreenOrientation API instead.
|
||||
* Returns the current screen orientation.
|
||||
* Can be: landscape-primary, landscape-secondary,
|
||||
* portrait-primary or portrait-secondary.
|
||||
*/
|
||||
[NeedsCallerType]
|
||||
readonly attribute DOMString mozOrientation;
|
||||
|
||||
attribute EventHandler onmozorientationchange;
|
||||
|
||||
/**
|
||||
* DEPRECATED, use ScreenOrientation API instead.
|
||||
* Lock screen orientation to the specified type.
|
||||
*/
|
||||
[Throws]
|
||||
boolean mozLockOrientation(DOMString orientation);
|
||||
[Throws]
|
||||
boolean mozLockOrientation(sequence<DOMString> orientation);
|
||||
|
||||
/**
|
||||
* DEPRECATED, use ScreenOrientation API instead.
|
||||
* Unlock the screen orientation.
|
||||
*/
|
||||
void mozUnlockOrientation();
|
||||
};
|
||||
|
||||
// https://w3c.github.io/screen-orientation
|
||||
|
Reference in New Issue
Block a user