Closed Bug 1811737 Opened 2 years ago Closed 2 years ago

Move processAssertions before append in ModuleBuilder::appendModuleRequest

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- wontfix
firefox111 --- fixed

People

(Reporter: jon4t4n, Assigned: jon4t4n)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

We need to call processAssertions before we append moduleRequests_ because the append will invoke the StencilModuleRequest copy constructor.
https://searchfox.org/mozilla-central/rev/f4948f24dd3d4ddf557f1d93337f3ab43e8220a7/js/src/builtin/ModuleObject.cpp#2065,2070-2072

This behavior is covered by js/src/jit-test/tests/modules/requested-modules.js but is behind a flag.

Regressed by: 1806136

We need to call processAssertions before we append moduleRequests_ because
the append will invoke the StencilModuleRequest copy constructor.

Assignee: nobody → jonatan.r.klemets
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 1806136

Maybe I shouldn't have marked this as a regression to not kick off a chain reaction... Anyhow, import assertions are behind a flag and JSON modules haven't landed yet, so this can probably be marked as wontfix.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/56318716c945 Move processAssertions before append in ModuleBuilder::appendModuleRequest r=jonco
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

The patch landed in nightly and beta is affected.
:jon4t4n, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox110 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(jonatan.r.klemets)

Matthew, could you set status-firefox110 to wontfix? I don't have the needed permissions. See comment 3 for the why.

Flags: needinfo?(jonatan.r.klemets) → needinfo?(mgaudet)

Done. Thanks for the ping!

Flags: needinfo?(mgaudet)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: