Closed Bug 1718623 Opened 3 years ago Closed 3 years ago

Investigate cloning with different JSScript::ImmutableFlags::HasNonSyntacticScope value.

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

CloneGlobalScript supports cloning into different syntactic/non-syntactic global scope.
if it's still necessary, we should support instantiating with different syntactic/non-syntactic global scope.
if it's no more used, we can remove that, and also look into JSOp::GImplicitThis [1]

[1] https://searchfox.org/mozilla-central/rev/ed5c7b4262d4e30656886a45321cbbf4200de349/js/src/vm/Opcodes.h#1782-1787

Blocks: 1718635
Blocks: 1718952

this patch stack is based on ScriptPreloader patches (bug 1688790 and bug 1688788)

Attachment #9233805 - Attachment description: WIP: Bug 1718623 - Drop support for cloning between syntactic/non-syntactic scopes. r?tcampbell! → Bug 1718623 - Drop support for cloning between syntactic/non-syntactic scopes. r?tcampbell!
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/f7cb7313d1c7
Drop support for cloning between syntactic/non-syntactic scopes. r=tcampbell
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/59ba9c430403
Drop support for cloning between syntactic/non-syntactic scopes. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Regressions: 1731983
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: