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

Issue 1777483012: [bindings] ship "IterableCollections" (Closed)

Created:
4 years, 9 months ago by caitp (gmail)
Modified:
4 years, 9 months ago
CC:
chromium-reviews, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[bindings] ship "IterableCollections" Enable and remove flag for runtime-enabled feature "IterableCollections" This adds Symbol.iterator to WebIDL interfaces containing both an attribute named "length", and an integer-indexed property getter, per http://heycam.github.io/webidl/#es-iterators. Such interfaces are now iterable via ECMAScript for-of loops. Currently, this applies to the following interfaces: CSSRuleList, CSSStyleDeclaration, ClientRectList, DOMStringList, DataTransferItemList, FileList, HTMLAllCollection, HTMLCollection, HTMLFormElement, HTMLOptionsCollection, HTMLSelectElement, MediaList, MimeTypeArray, NamedNodeMap, Plugin, PluginArray, SVGLengthList, SVGNumberList, SVGPointList, SVGStringList, SVGTransformList, SourceBufferList, Storage, StyleSheetList, TextTrackCueList, TextTrackList, TouchList, and webkitSpeechGrammarList. In addition to the above interfaces, the NodeList interface is granted the methods "forEach", "keys", "values", and "entries", due to the `iterable<Node>` definition in https://dom.spec.whatwg.org/#interface-nodelist. Like the above interfaces, NodeLists are also iterable via ECMAScript for-of loops. Intent-to-Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/FWu2lHOCbNg BUG=538558 LOG=N R=haraken@chromium.org, yukishiino@chromium.org, jsbell@chromium.org, philipj@opera.com Committed: https://crrev.com/2f9367a3f1bc731e1cae19edfa3b89bc18071093 Cr-Commit-Position: refs/heads/master@{#381249}

Patch Set 1 #

Patch Set 2 : Update expectations for stable/webexposed/global-interface-listing.html #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : Update test expectations #

Patch Set 5 : Remove IterableCollections flag entirely #

Messages

Total messages: 32 (12 generated)
caitp (gmail)
Fixed mistake with the reviewer email, derp.
4 years, 9 months ago (2016-03-10 19:38:38 UTC) #3
caitp (gmail)
PTAL --- There are a few questions I have: 1. What is the correct thing ...
4 years, 9 months ago (2016-03-10 20:32:49 UTC) #4
Yuki
On 2016/03/10 20:32:49, caitp wrote: > PTAL --- There are a few questions I have: ...
4 years, 9 months ago (2016-03-11 06:50:16 UTC) #5
jsbell
+philipj Please update the CL description with more details. Expectations for virtual/stable/webexposed/global-interface-listing.html need to be ...
4 years, 9 months ago (2016-03-11 19:17:08 UTC) #7
caitp (gmail)
On 2016/03/11 19:17:08, jsbell wrote: > +philipj > > Please update the CL description with ...
4 years, 9 months ago (2016-03-11 19:20:58 UTC) #8
philipj_slow
https://codereview.chromium.org/1777483012/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in (right): https://codereview.chromium.org/1777483012/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in#newcode104 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in:104: IterableCollections status=stable I think you might just as well ...
4 years, 9 months ago (2016-03-11 19:23:13 UTC) #9
philipj_slow
On 2016/03/11 19:20:58, caitp wrote: > On 2016/03/11 19:17:08, jsbell wrote: > > Also... we ...
4 years, 9 months ago (2016-03-11 19:26:07 UTC) #10
caitp (gmail)
On 2016/03/11 19:26:07, philipj_UTC7 wrote: > On 2016/03/11 19:20:58, caitp wrote: > > On 2016/03/11 ...
4 years, 9 months ago (2016-03-11 20:09:09 UTC) #12
caitp (gmail)
https://codereview.chromium.org/1777483012/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in (right): https://codereview.chromium.org/1777483012/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in#newcode104 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in:104: IterableCollections status=stable On 2016/03/11 19:23:12, philipj_UTC7 wrote: > I ...
4 years, 9 months ago (2016-03-14 15:02:59 UTC) #15
philipj_slow
Looks good, but there are a lot more interfaces affected than I had guessed. Which ...
4 years, 9 months ago (2016-03-14 16:06:29 UTC) #18
caitp (gmail)
On 2016/03/14 16:06:29, philipj_UTC7 wrote: > Looks good, but there are a lot more interfaces ...
4 years, 9 months ago (2016-03-14 16:35:13 UTC) #19
philipj_slow
lgtm If you can link to the blink-dev thread in the commit message, that would ...
4 years, 9 months ago (2016-03-15 04:55:48 UTC) #20
philipj_slow
I think you should wait for an LGTM for one of the bindings experts as ...
4 years, 9 months ago (2016-03-15 04:56:16 UTC) #21
Yuki
LGTM.
4 years, 9 months ago (2016-03-15 05:47:01 UTC) #22
caitp (gmail)
On 2016/03/15 04:56:16, philipj_UTC7 wrote: > I think you should wait for an LGTM for ...
4 years, 9 months ago (2016-03-15 16:14:48 UTC) #24
philipj_slow
I meant this CL, so you're good to go!
4 years, 9 months ago (2016-03-15 16:30:50 UTC) #25
caitp (gmail)
On 2016/03/15 16:30:50, philipj_UTC7 wrote: > I meant this CL, so you're good to go! ...
4 years, 9 months ago (2016-03-15 16:31:32 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777483012/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777483012/80001
4 years, 9 months ago (2016-03-15 16:31:52 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-15 17:53:05 UTC) #30
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 17:53:57 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2f9367a3f1bc731e1cae19edfa3b89bc18071093
Cr-Commit-Position: refs/heads/master@{#381249}

Powered by Google App Engine
This is Rietveld 408576698