mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
web-sys: Remove a bunch of non-standard, Mozilla-specific Web IDL
This commit is contained in:
@ -98,55 +98,6 @@ interface HTMLMediaElement : HTMLElement {
|
||||
optional DOMString language = "");
|
||||
};
|
||||
|
||||
// Mozilla extensions:
|
||||
partial interface HTMLMediaElement {
|
||||
[Func="HasDebuggerOrTabsPrivilege"]
|
||||
readonly attribute MediaSource? mozMediaSourceObject;
|
||||
[Func="HasDebuggerOrTabsPrivilege"]
|
||||
readonly attribute DOMString mozDebugReaderData;
|
||||
[Func="HasDebuggerOrTabsPrivilege", NewObject]
|
||||
Promise<DOMString> mozRequestDebugInfo();
|
||||
|
||||
[Func="HasDebuggerOrTabsPrivilege", NewObject]
|
||||
static void mozEnableDebugLog();
|
||||
[Func="HasDebuggerOrTabsPrivilege", NewObject]
|
||||
Promise<DOMString> mozRequestDebugLog();
|
||||
|
||||
[Pref="media.test.dumpDebugInfo"]
|
||||
Promise<void> mozDumpDebugInfo();
|
||||
|
||||
attribute MediaStream? srcObject;
|
||||
|
||||
attribute boolean mozPreservesPitch;
|
||||
|
||||
/*Non standard
|
||||
// NB: for internal use with the video controls:
|
||||
[Func="IsChromeOrXBL"] attribute boolean mozAllowCasting;
|
||||
[Func="IsChromeOrXBL"] attribute boolean mozIsCasting;
|
||||
*/
|
||||
|
||||
// Mozilla extension: stream capture
|
||||
[Throws]
|
||||
MediaStream mozCaptureStream();
|
||||
[Throws]
|
||||
MediaStream mozCaptureStreamUntilEnded();
|
||||
readonly attribute boolean mozAudioCaptured;
|
||||
|
||||
// Mozilla extension: return embedded metadata from the stream as a
|
||||
// JSObject with key:value pairs for each tag. This can be used by
|
||||
// player interfaces to display the song title, artist, etc.
|
||||
[Throws]
|
||||
object? mozGetMetadata();
|
||||
|
||||
// Mozilla extension: provides access to the fragment end time if
|
||||
// the media element has a fragment URI for the currentSrc, otherwise
|
||||
// it is equal to the media duration.
|
||||
readonly attribute double mozFragmentEnd;
|
||||
|
||||
[ChromeOnly]
|
||||
void reportCanPlayTelemetry();
|
||||
};
|
||||
|
||||
// Encrypted Media Extensions
|
||||
partial interface HTMLMediaElement {
|
||||
readonly attribute MediaKeys? mediaKeys;
|
||||
@ -160,16 +111,6 @@ partial interface HTMLMediaElement {
|
||||
attribute EventHandler onwaitingforkey;
|
||||
};
|
||||
|
||||
// This is just for testing
|
||||
partial interface HTMLMediaElement {
|
||||
[Pref="media.useAudioChannelService.testing"]
|
||||
readonly attribute double computedVolume;
|
||||
[Pref="media.useAudioChannelService.testing"]
|
||||
readonly attribute boolean computedMuted;
|
||||
[Pref="media.useAudioChannelService.testing"]
|
||||
readonly attribute unsigned long computedSuspended;
|
||||
};
|
||||
|
||||
/*
|
||||
* HTMLMediaElement::seekToNextFrame() is a Mozilla experimental feature.
|
||||
*
|
||||
|
Reference in New Issue
Block a user