Closed Bug 1641517 Opened 4 years ago Closed 4 years ago

FinalizationRegistry cleanupSome method should not be present in the browser

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

According to the description of HTML integration for weak refs, this method should be omitted in the browser:

https://github.com/whatwg/html/pull/4571

Discussion is still underway on whether this should be exposed to workers.

Severity: -- → N/A
Priority: -- → P2
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7671b59fd5f3
Don't expose FinalizationRegistry.prototype.cleanupSome in the browser r=mccr8
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79

This method is still visible by default.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Disabling toSource also disabled checking for whether to ignore cleanupSome.

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0b43814725e
Fix logic in ShouldIgnorePropertyDefinition to really ignore cleanupSome if it's not enabled r=sfink
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: