mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb: Implement HTMLMediaElement's networkState attribute
This commit is contained in:
parent
9a370a5eed
commit
6d5893a121
2 changed files with 18 additions and 0 deletions
|
@ -10,7 +10,13 @@ enum CanPlayTypeResult {
|
|||
[Exposed=Window]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
// network state
|
||||
[Reflect, CEReactions] attribute DOMString src;
|
||||
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;
|
||||
|
||||
[Reflect, CEReactions] attribute boolean autoplay;
|
||||
[Reflect, CEReactions] attribute boolean loop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue