Closed Bug 1997187 Opened 1 month ago Closed 1 month ago

Add preference and shell option for `iterator chunking` proposal

Categories

(Core :: JavaScript: Standard Library, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: dminor, Assigned: meg387, Mentored)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As a first step to implementing iterator chunking, we should add a preference and shell option.

First, make a new preference called javascript.options.experimental.iterator_chunking, you can use this preference as an example of how to do this.

Next, we need to add a command line option to the JavaScript shell:

  1. First, add an option called: --enable-iterator-chunking, like this.
  2. Then, set the new pref when the option is passed, like this.

Here's a recent example of doing this for another proposal that you can look at: https://phabricator.services.mozilla.com/D270298.

Then check that everything still compiles, and submit your patches. Thanks!

Meg, this might be a good next bug for you to look at if you have some time :)

Flags: needinfo?(meg387)

Thank you! I'll try to take a look this weekend

Flags: needinfo?(meg387)
Assignee: nobody → meg387
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: