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

Unified Diff: core/dom/DOMStringList.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/DOMSettableTokenList.idl ('k') | core/dom/DOMStringMap.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/DOMStringList.idl
diff --git a/core/dom/DOMStringList.idl b/core/dom/DOMStringList.idl
index 8a570878796a7efca9bb9190aaf98cf4b6eb7726..3821bd83be36d7c9cc5509d53ca1d760da4a6201 100644
--- a/core/dom/DOMStringList.idl
+++ b/core/dom/DOMStringList.idl
@@ -23,10 +23,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dom.spec.whatwg.org/#domstringlist
+
+// FIXME: DOMStringList has been removed from the spec. crbug.com/460726
[
WillBeGarbageCollected,
] interface DOMStringList {
readonly attribute unsigned long length;
- [TreatReturnedNullStringAs=Null] getter DOMString item([Default=Undefined] optional unsigned long index);
- [MeasureAs=DOMStringListContains] boolean contains([Default=Undefined] optional DOMString string);
+ getter DOMString? (unsigned long index);
+
+ [CallWith=ExecutionContext] DOMString? item(unsigned long index);
+ [CallWith=ExecutionContext,MeasureAs=DOMStringListContains] boolean contains(DOMString string);
};
« no previous file with comments | « core/dom/DOMSettableTokenList.idl ('k') | core/dom/DOMStringMap.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698