Move setImportAttributes call out of NIGHTLY_BUILD guard
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox137 | --- | verified |
People
(Reporter: allstars.chh, Assigned: allstars.chh, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Attachments
(3 files)
Currently, the API to set the import attributes pref is only available in nightly build, see
https://searchfox.org/mozilla-central/rev/5e7382bf8bbb88d8260c72990cfea9b626d9b307/js/xpconnect/src/XPCJSContext.cpp#796,
that causes a problem when running wpt or mochitest in BETA build, even the tests are run with the pref to turn on.
I'll remove the ifdef NIGHTLY_BUILD guard, while still keeping the pref off by default.
| Assignee | ||
Comment 1•1 year ago
|
||
Allow the pref could be flipped on/off in beta/release build.
| Assignee | ||
Comment 2•1 year ago
|
||
Replace the legacy name (import assertions) with the correct one (import
attributes).
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
This will fix the failures of bug 1947455 and bug 1947432 on beta release.
https://treeherder.mozilla.org/jobs?repo=try&revision=d2fbe27fad7d22844cde26add8d973d2426978fa
Comment 8•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/64a496c34397
https://hg.mozilla.org/mozilla-central/rev/4715f18f59fa
https://hg.mozilla.org/mozilla-central/rev/48a8dd8caf6e
https://hg.mozilla.org/mozilla-central/rev/c9e47dbea687
Updated•1 year ago
|
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
Comment 11•1 year ago
|
||
I thought this might have something to do with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import/with, but this particular issue is not linked to https://bugzilla.mozilla.org/show_bug.cgi?id=1736059 (import attributes meta).
Can you tell me what exactly is now supported/changed by this that was not previously? I.e. what needs to be documented/what is the change to data compatibility?
Updated•1 year ago
|
Description
•