Skip to content

Commit bab6798

Browse files
sygV8 LUCI CQ
authored andcommitted
Reland "[iterator-helpers] Unship due to incompat"
This is a reland of commit 1a22cf9 Change since revert: I mistakenly thought part of the finch kill-switch playbook is to keep it enabled on ToT. It's actually the opposite. Original change's description: > [iterator-helpers] Unship due to incompat > > Bug: chromium:1474613, v8:13558 > Change-Id: Iccba26e5cd5dc1787172c78b6e4f6889ef67fcea > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4834350 > Reviewed-by: Adam Klein <[email protected]> > Commit-Queue: Shu-yu Guo <[email protected]> > Cr-Commit-Position: refs/heads/main@{#89741} Bug: chromium:1474613, v8:13558 Change-Id: Idc421a114303f036622bff681c9fa252c9110b9d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4843761 Commit-Queue: Rezvan Mahdavi Hezaveh <[email protected]> Auto-Submit: Shu-yu Guo <[email protected]> Commit-Queue: Shu-yu Guo <[email protected]> Reviewed-by: Rezvan Mahdavi Hezaveh <[email protected]> Cr-Commit-Position: refs/heads/main@{#89800}
1 parent 413662b commit bab6798

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/flags/flag-definitions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ DEFINE_BOOL(js_shipping, true, "enable all shipped JavaScript features")
278278

279279
// Features that are complete (but still behind the --harmony flag).
280280
#define HARMONY_STAGED_BASE(V) \
281-
V(harmony_set_methods, "harmony Set Methods")
281+
V(harmony_set_methods, "harmony Set Methods") \
282+
V(harmony_iterator_helpers, "JavaScript iterator helpers")
282283

283284
#define JAVASCRIPT_STAGED_FEATURES_BASE(V) \
284285
V(js_promise_withresolvers, "Promise.withResolvers")
@@ -303,8 +304,7 @@ DEFINE_WEAK_IMPLICATION(harmony_rab_gsab_transfer, harmony_rab_gsab)
303304
V(harmony_regexp_unicode_sets, "harmony RegExp Unicode Sets") \
304305
V(harmony_json_parse_with_source, "harmony json parse with source") \
305306
V(harmony_rab_gsab_transfer, "harmony ArrayBuffer.transfer") \
306-
V(harmony_array_grouping, "harmony array grouping") \
307-
V(harmony_iterator_helpers, "JavaScript iterator helpers")
307+
V(harmony_array_grouping, "harmony array grouping")
308308

309309
#define JAVASCRIPT_SHIPPING_FEATURES_BASE(V)
310310

test/mjsunit/es6/iterator-prototype.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// Flags: --harmony-iterator-helpers
6+
57
var arrayIteratorPrototype = [].entries().__proto__;
68
var iteratorPrototype = arrayIteratorPrototype.__proto__;
79

test/mozilla/mozilla.status

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@
546546

547547
# Uses Mozilla-specific QName, XML, XMLList and Iterator.
548548
'js1_5/Regress/regress-407323': [FAIL_OK],
549+
'js1_5/Regress/regress-407957': [FAIL_OK],
549550

550551

551552
# Relies on JavaScript 1.2 / 1.3 deprecated features.

0 commit comments

Comments
 (0)