Open Bug 1950211 Opened 5 months ago Updated 3 months ago

Normative: Don't call well-known Symbol methods for RegExp on primitive values

Categories

(Core :: JavaScript: Standard Library, task, P3)

task

Tracking

()

REOPENED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: dminor, Assigned: nicolo.ribaudo)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

This normative change was approved at the February 2025 TC39 plenary. See https://github.com/tc39/ecma262/pull/3009.

Severity: -- → N/A
Priority: -- → P3
Blocks: 1953619

This patch adds telemetry for https://github.com/tc39/ecma262/pull/3009.

That normative PR has already been approved by TC39, but we need to
verify that it's web compatible.

Assignee: nobody → nicolo.ribaudo
Status: NEW → ASSIGNED

This patch implements (in nightly) the changes proposed in
https://github.com/tc39/ecma262/pull/3009, which got consensus at the
last TC39 meeting.

The new implementation still attempts to preserve telemetry, so that
we can keep collecting data about usage of this removed feature.
However, it cannot be 100% precise (see comments in the code).

This patch has test262 tests at https://github.com/tc39/test262/pull/4404,
but as far as I can tell they are too new and not included yet in
mozilla-central.

Attachment #9471567 - Attachment description: WIP: Bug 1950211 - Do not use RegExp symbols on primitives in String methods → Bug 1950211 - Do not use RegExp symbols on primitives in String methods
Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6ea635bde2b6 Add telemetry for String methods calling RegExp symbols on primitives r=dminor,iain
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
QA Whiteboard: [qa-triage-done-c140/b139]

Wait, this is not resolved yet. We only shipped telemetry for it.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 3 months ago3 months ago
Resolution: --- → FIXED

Wait, this is not resolved yet. We only shipped telemetry for it. This will be fixed once D241314 is landed.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: