Closed Bug 1787278 Opened 2 years ago Closed 10 months ago

Some newtab instrumentation module(s) don't parse ES2020 constructs

Categories

(Firefox :: Messaging System, defect, P3)

defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: aminomancer, Assigned: standard8)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

It would be good to update the jsm/jsx compilation and unit tests to handle more modern ES syntax. We are currently using babel plugins to parse and transpile nullish coalescing and optional chaining operators, but they make the output far less readable. We could remove them, but for istanbul-instrumenter-loader.

According to this report, we may be able to use babel-plugin-istanbul instead.

NI @dmosedale to help link this under a Meta bug tracking infrastructure fixes.

Flags: needinfo?(dmosedale)
Priority: -- → P3
Blocks: fxms-build

:emcminn replaced istanbul-instrumenter-loader with coverage-istanbul-loader in bug 1825144. I wonder if this is now unblocked...

Clearing the needinfo, as this is already blocking fx-ms-build.

Flags: needinfo?(dmosedale)
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/37abb574b134 Drop babel transpile plugins from newtab and related code. r=aminomancer
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: