Closed Bug 1858622 Opened 9 months ago Closed 9 months ago

Freeze/seal more JS standard classes in freezeBuiltins realms

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

We did this for Object/Array/Function for security reasons in bug 1771084, but we can extend this to other builtins.

We did this for Object/Array/Function for security reasons in bug 1771084, but we can
extend this to other builtins.

Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a64fd92f37f7
Freeze/seal more JS standard classes in freezeBuiltins realms. r=mgaudet

xpcshell tests are using this Sinon library that overrides Date.now apparently. I relanded this with an exception for Date. Let's see if there are other issues.

Flags: needinfo?(jdemooij)
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/105aa04166a8
Freeze/seal more JS standard classes in freezeBuiltins realms. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: