Closed Bug 1910686 Opened 1 year ago Closed 1 year ago

Remove support for the assert syntax

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: jon4t4n, Assigned: jon4t4n)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

The assert syntax was removed from the spec today [1] and has also been unshipped in Chrome 126.

We should remove the code that handles the assert syntax and its associated pref (javascript.options.experimental.import_attributes.assert_syntax).

[1] https://github.com/tc39/proposal-import-attributes/pull/161

Blocks: 1736059

Thanks for filing the bug :)

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: -- → N/A
Priority: -- → P3

The --enable-import-assertions flag and the support for the assert syntax
will be removed, so we need to update a few old test cases to use the new
with syntax and also the correct flag.

Assignee: nobody → jonatan.r.klemets
Status: NEW → ASSIGNED

This patch removes an old unused flag. The tests for the assert syntax were
removed in PR 4203 [1] and were imported into central as part of bug 1919446
[2].

[1] https://github.com/tc39/test262/pull/4203
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1919446

Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fccb79317a0f Part 1: Update tests using the old assert syntax and flag r=spidermonkey-reviewers,mgaudet https://hg.mozilla.org/integration/autoland/rev/53da75056e57 Part 2: Remove old import-assertions SHELL_OPTIONS from test262-update.py r=spidermonkey-reviewers,mgaudet https://hg.mozilla.org/integration/autoland/rev/c80207436547 Part 3: Remove import assertions implementation r=spidermonkey-reviewers,mgaudet
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Blocks: 1982243
Blocks: 1982418
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: