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

Unified Diff: Source/core/dom/DOMStringList.idl

Issue 966843002: Mark DOMStringList.contains() as deprecated, add console warning. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add more detailed use counters Created 5 years, 6 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
Index: Source/core/dom/DOMStringList.idl
diff --git a/Source/core/dom/DOMStringList.idl b/Source/core/dom/DOMStringList.idl
index 02926f66392101f9689489bc4c9c874cded62f27..0d2b68ac7579e13534d91cef5b5d36d6d115f777 100644
--- a/Source/core/dom/DOMStringList.idl
+++ b/Source/core/dom/DOMStringList.idl
@@ -30,6 +30,8 @@
WillBeGarbageCollected,
] interface DOMStringList {
readonly attribute unsigned long length;
- [Measure] getter DOMString? item(unsigned long index);
- [MeasureAs=DOMStringListContains] boolean contains(DOMString string);
+ getter DOMString? (unsigned long index);
+
+ [CallWith=ExecutionContext,DeprecateAs=V8DOMStringList_Item_Method] DOMString? item(unsigned long index);
+ [CallWith=ExecutionContext,DeprecateAs=DOMStringListContains] boolean contains(DOMString string);
};

Powered by Google App Engine
This is Rietveld 408576698