Repository navigation
Conversation
sebsebmc
force-pushed
the
finalization-registry-cleanup
branch
3 times, most recently
from
March 11, 2025 20:44
1aeefcd to
13eac7b
Compare
Contributor
Author
|
My main concern is around needing to prune/drop registered callbacks when the matching global gets killed (or the page gets refreshed etc). |
sebsebmc
marked this pull request as ready for review
March 11, 2025 22:12
sebsebmc
marked this pull request as draft
March 13, 2025 22:24
sebsebmc
force-pushed
the
finalization-registry-cleanup
branch
2 times, most recently
from
March 18, 2025 16:45
9fa1eb6 to
9cbfde5
Compare
Contributor
Author
|
This can now pass the WPT test
|
sebsebmc
force-pushed
the
finalization-registry-cleanup
branch
from
March 18, 2025 17:36
9cbfde5 to
7b3da98
Compare
Closed
…l needs a lot of work Signed-off-by: Sebastian C <[email protected]>
Signed-off-by: Sebastian C <[email protected]>
Signed-off-by: Sebastian C <[email protected]>
Signed-off-by: Sebastian C <[email protected]>
Signed-off-by: Sebastian C <[email protected]>
sebsebmc
force-pushed
the
finalization-registry-cleanup
branch
from
April 5, 2025 19:29
7b3da98 to
c660159
Compare
Contributor
Author
|
With TestUtils implemented the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FinalizationRegistry is exposed by default in SpiderMonkey now that Servo is using ESR 128 but Servo still needs to register to receive and queue FinalizationRegistry cleanup callbacks.
SpiderMonkey does not support
FinalizationRegistry.cleanupSomeso most of thejs/builtins/weakrefsWPT tests will continue to fail.I'm not 100% sure that I am using
LiveDOMReferencescorrectly for this use but it was what @jdm suggested on Zulip.I am not sure if:
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors