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;