Index: core/html/HTMLMediaElement.idl |
diff --git a/core/html/HTMLMediaElement.idl b/core/html/HTMLMediaElement.idl |
index aa9d0405be6540ac997516ab4536c35aaef5aedf..7990f6b726eb6a934d234c1fc82594960b594d34 100644 |
--- a/core/html/HTMLMediaElement.idl |
+++ b/core/html/HTMLMediaElement.idl |
@@ -26,6 +26,7 @@ |
[ |
ActiveDOMObject, |
RuntimeEnabled=Media, |
+ SpecialWrapFor=(HTMLAudioElement,HTMLVideoElement), |
TypeChecking=Unrestricted, |
] interface HTMLMediaElement : HTMLElement { |
@@ -35,7 +36,7 @@ |
// network state |
[Reflect, URL] attribute DOMString src; |
[URL] readonly attribute DOMString currentSrc; |
- [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString crossOrigin; |
+ [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; |
const unsigned short NETWORK_EMPTY = 0; |
const unsigned short NETWORK_IDLE = 1; |