Transition JS code of the Mozilla-codebase to version-free JS

NEW
Unassigned

Status

()

Core
JavaScript Engine
5 years ago
28 days ago

People

(Reporter: David Bruant, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Might require static analysis to find all cases where JS-version specific is used in the Mozilla codebase.
If too numerous, might require automated rewriting.
(Reporter)

Updated

5 years ago
Blocks: 867609
(Reporter)

Comment 1

5 years ago
Probably need to wait for some ES6 sugar to land before being able to do that.
Depends on: 611388, 666399
for each() should be doable now, I guess.
As is harmony-style generators (i.e. function*)
Depends on: 925989
(Assignee)

Updated

3 years ago
Assignee: general → nobody
Depends on: 1083459
Depends on: 968038
Depends on: 1083499
Depends on: 1059843
To completely remove the version= parsing code from ScriptLoader we will have to finish this. I actually get very few matches for this on searchfox: https://searchfox.org/mozilla-central/search?q=%3B%5Cs*version%3D&case=false&regexp=true&path=
You need to log in before you can comment on or make changes to this bug.