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

Unified Diff: Source/core/css/MediaList.idl

Issue 23621013: Make MediaList API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « LayoutTests/fast/media/mq-append-delete-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaList.idl
diff --git a/Source/core/css/MediaList.idl b/Source/core/css/MediaList.idl
index 9d2661732a1c2cbc8fce31a48dcff42da407c5e4..20ef3ec883560a23d138b8c7f351203a8c320300 100644
--- a/Source/core/css/MediaList.idl
+++ b/Source/core/css/MediaList.idl
@@ -30,9 +30,9 @@
[TreatNullAs=NullString, TreatReturnedNullStringAs=Null] attribute DOMString mediaText;
readonly attribute unsigned long length;
- [TreatReturnedNullStringAs=Null] getter DOMString item([Default=Undefined] optional unsigned long index);
- [RaisesException] void deleteMedium([Default=Undefined] optional DOMString oldMedium);
- [RaisesException] void appendMedium([Default=Undefined] optional DOMString newMedium);
+ [TreatReturnedNullStringAs=Null] getter DOMString item(unsigned long index);
+ [RaisesException] void deleteMedium(DOMString oldMedium);
+ [RaisesException] void appendMedium(DOMString newMedium);
};
« no previous file with comments | « LayoutTests/fast/media/mq-append-delete-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698