1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibWeb: Implement the HTMLMediaElement crossOrigin attribute

This commit is contained in:
Timothy Flynn 2023-04-18 16:38:54 -04:00 committed by Andreas Kling
parent 7833b321a3
commit f8d6a67294
3 changed files with 24 additions and 2 deletions

View file

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