Implement HTMLMediaElement.crossorigin attribute logic.

This commit is contained in:
Jack Britton 2019-04-10 17:28:13 -04:00 committed by Fernando Jiménez Moreno
parent 415b26e4f1
commit ade697b782
4 changed files with 19 additions and 55 deletions

View file

@ -16,7 +16,7 @@ interface HTMLMediaElement : HTMLElement {
[CEReactions] attribute USVString src;
attribute MediaProvider? srcObject;
readonly attribute USVString currentSrc;
// [CEReactions] attribute DOMString crossOrigin;
[CEReactions] attribute DOMString? crossOrigin;
const unsigned short NETWORK_EMPTY = 0;
const unsigned short NETWORK_IDLE = 1;
const unsigned short NETWORK_LOADING = 2;