author | Jan de Mooij <jdemooij@mozilla.com> |
Wed, 09 Dec 2015 22:56:17 -0500 | |
changeset 276058 | 151ce2b0e3f6b73505be35561f148678577dcbcb |
parent 276057 | de72e2291ae84ca9798ce7e27976f4b839780a9a |
child 276059 | 412e4d7ce98ca4dbc37de133d0f26d7e1a59946f |
child 276097 | 23f42ea04dd17ad6f53e1c6edb7be61910ac66d4 |
push id | 29781 |
push user | cbook@mozilla.com |
push date | Thu, 10 Dec 2015 11:07:51 +0000 |
treeherder | mozilla-central@412e4d7ce98c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bz |
bugs | 1225396 |
milestone | 45.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/bindings/Codegen.py +++ b/dom/bindings/Codegen.py @@ -2264,32 +2264,16 @@ class MethodDefiner(PropertyDefiner): "name": "@@iterator", "methodInfo": False, "selfHostedName": "ArrayValues", "length": 0, "flags": "JSPROP_ENUMERATE", "condition": MemberCondition() }) - # Output an @@iterator for generated iterator interfaces. This should - # not be necessary, but - # https://bugzilla.mozilla.org/show_bug.cgi?id=1091945 means that - # %IteratorPrototype%[@@iterator] is a broken puppy. - if (not static and - not unforgeable and - descriptor.interface.isIteratorInterface()): - self.regular.append({ - "name": "@@iterator", - "methodInfo": False, - "selfHostedName": "IteratorIdentity", - "length": 0, - "flags": "0", - "condition": MemberCondition() - }) - # Generate the maplike/setlike iterator, if one wasn't already # generated by a method. If we already have an @@iterator symbol, fail. if descriptor.interface.maplikeOrSetlikeOrIterable: if hasIterator(methods, self.regular): raise TypeError("Cannot have maplike/setlike/iterable interface with " "other members that generate @@iterator " "on interface %s, such as indexed getters " "or aliased functions." %