Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: Source/core/html/HTMLMediaElement.idl

Issue 26694003: Add support for [TreatNullAs] extended attribute for reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move code to a subroutine Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.idl ('k') | Source/core/html/HTMLMetaElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.idl
diff --git a/Source/core/html/HTMLMediaElement.idl b/Source/core/html/HTMLMediaElement.idl
index 3cf979387299fe6ffc878c4e41712f517dc7a456..24982058eafb632cdc3c55b1dfd8147bf6352dad 100644
--- a/Source/core/html/HTMLMediaElement.idl
+++ b/Source/core/html/HTMLMediaElement.idl
@@ -32,7 +32,7 @@
readonly attribute MediaError error;
// network state
-[Reflect, URL] attribute DOMString src;
+[Reflect, TreatNullAs=NullString, URL] attribute DOMString src;
[URL] readonly attribute DOMString currentSrc;
const unsigned short NETWORK_EMPTY = 0;
@@ -102,6 +102,6 @@ readonly attribute unsigned long webkitVideoDecodedByteCount;
[EnabledAtRuntime=VideoTrack, RaisesException] TextTrack addTextTrack(DOMString kind, optional DOMString label, optional DOMString language);
[EnabledAtRuntime=VideoTrack] readonly attribute TextTrackList textTracks;
-[Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup;
+[Reflect, TreatNullAs=NullString, TreatNullAs=NullString] attribute DOMString mediaGroup;
[CustomSetter] attribute MediaController controller;
};
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.idl ('k') | Source/core/html/HTMLMetaElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698