Add stubs for src and currentSrc for HTMLMediaElement.

This commit is contained in:
Josh Matthews 2015-11-06 16:50:34 -06:00
parent b8b4be34c0
commit 53f9307fb7
5 changed files with 45 additions and 344 deletions

View file

@ -11,8 +11,8 @@ interface HTMLMediaElement : HTMLElement {
//readonly attribute MediaError? error;
// network state
// attribute DOMString src;
//readonly attribute DOMString currentSrc;
attribute DOMString src;
readonly attribute DOMString currentSrc;
// attribute DOMString crossOrigin;
const unsigned short NETWORK_EMPTY = 0;
const unsigned short NETWORK_IDLE = 1;