aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLMediaElement.webidl
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2018-12-14 03:59:03 +0000
committerDan Robertson <dan@dlrobertson.com>2018-12-17 15:28:42 +0000
commitc46508e497e503c8fd42deb26aa536060334a9c9 (patch)
tree526fba0f92f508c9e54559cde967241dd118378f /components/script/dom/webidls/HTMLMediaElement.webidl
parent1e983d86c05d988779177775ee1ef9b835400960 (diff)
downloadservo-c46508e497e503c8fd42deb26aa536060334a9c9.tar.gz
servo-c46508e497e503c8fd42deb26aa536060334a9c9.zip
Update src/href attributes to be a USVString
The following IDLs have the src/href attributes typed as a DOMString while in the spec the attribute has been updated to be a USVString: - HTMLIFrameElement - HTMLImageElement - HTMLInputElement - HTMLLinkElement - HTMLMediaElement - HTMLScriptElement
Diffstat (limited to 'components/script/dom/webidls/HTMLMediaElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLMediaElement.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/HTMLMediaElement.webidl b/components/script/dom/webidls/HTMLMediaElement.webidl
index d93fe067d09..db67a81e2a1 100644
--- a/components/script/dom/webidls/HTMLMediaElement.webidl
+++ b/components/script/dom/webidls/HTMLMediaElement.webidl
@@ -13,9 +13,9 @@ interface HTMLMediaElement : HTMLElement {
readonly attribute MediaError? error;
// network state
- [CEReactions] attribute DOMString src;
+ [CEReactions] attribute USVString src;
attribute MediaProvider? srcObject;
- readonly attribute DOMString currentSrc;
+ readonly attribute USVString currentSrc;
// [CEReactions] attribute DOMString crossOrigin;
const unsigned short NETWORK_EMPTY = 0;
const unsigned short NETWORK_IDLE = 1;