mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
Bug 1340027 - Part 2: Add HTML CEReactions annotation.
Tag UXP Issue #1344
This commit is contained in:
parent
0ff8d62963
commit
8119a60e3d
68 changed files with 398 additions and 359 deletions
|
|
@ -17,18 +17,18 @@ interface HTMLMediaElement : HTMLElement {
|
|||
readonly attribute MediaError? error;
|
||||
|
||||
// network state
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute DOMString src;
|
||||
readonly attribute DOMString currentSrc;
|
||||
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute DOMString? crossOrigin;
|
||||
const unsigned short NETWORK_EMPTY = 0;
|
||||
const unsigned short NETWORK_IDLE = 1;
|
||||
const unsigned short NETWORK_LOADING = 2;
|
||||
const unsigned short NETWORK_NO_SOURCE = 3;
|
||||
readonly attribute unsigned short networkState;
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute DOMString preload;
|
||||
[NewObject]
|
||||
readonly attribute TimeRanges buffered;
|
||||
|
|
@ -63,9 +63,9 @@ interface HTMLMediaElement : HTMLElement {
|
|||
[NewObject]
|
||||
readonly attribute TimeRanges seekable;
|
||||
readonly attribute boolean ended;
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute boolean autoplay;
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute boolean loop;
|
||||
[Throws]
|
||||
Promise<void> play();
|
||||
|
|
@ -78,12 +78,12 @@ interface HTMLMediaElement : HTMLElement {
|
|||
// attribute MediaController? controller;
|
||||
|
||||
// controls
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute boolean controls;
|
||||
[SetterThrows]
|
||||
attribute double volume;
|
||||
attribute boolean muted;
|
||||
[SetterThrows]
|
||||
[CEReactions, SetterThrows]
|
||||
attribute boolean defaultMuted;
|
||||
|
||||
// TODO: Bug 847379
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue