1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibWeb: Implement the HTMLMediaElement currentSrc attribute

This commit is contained in:
Timothy Flynn 2023-04-19 06:44:40 -04:00 committed by Andreas Kling
parent 74a6f50c91
commit 1a67b86b76
3 changed files with 11 additions and 1 deletions

View file

@ -14,6 +14,7 @@ interface HTMLMediaElement : HTMLElement {
// network state
[Reflect, CEReactions] attribute DOMString src;
readonly attribute USVString currentSrc;
[Reflect=crossorigin, CEReactions] attribute DOMString? crossOrigin;
const unsigned short NETWORK_EMPTY = 0;
const unsigned short NETWORK_IDLE = 1;