Skip to content

script: Remove named window proxy map entry when destroying nested browsing context#42344

Merged
jdm merged 1 commit intoservo:mainfrom
jdm:remove-window-proxy
Feb 4, 2026
Merged

script: Remove named window proxy map entry when destroying nested browsing context#42344
jdm merged 1 commit intoservo:mainfrom
jdm:remove-window-proxy

Conversation

@jdm
Copy link
Copy Markdown
Member

@jdm jdm commented Feb 4, 2026

Leaving the entries sitting around both unnecessarily increases memory usage and breaks code that looks up window proxies by name and reuses names for iframes within the same page.

Testing: Newly-passing tests.
Fixes: #15258

@jdm jdm requested a review from gterzian as a code owner February 4, 2026 17:38
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 4, 2026
@jdm
Copy link
Copy Markdown
Member Author

jdm commented Feb 4, 2026

https://github.com/servo/servo/actions/runs/21681834109

This is known to fix timing out tests in #42254 but there's no reason to make that PR even bigger.

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#57570) with upstreamable changes.

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

🤖 This change no longer contains upstreamable changes to WPT; closed existing upstream pull request (web-platform-tests/wpt#57570).

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 4, 2026
@jdm jdm added this pull request to the merge queue Feb 4, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 4, 2026
Merged via the queue into servo:main with commit e2dba87 Feb 4, 2026
29 checks passed
@jdm jdm deleted the remove-window-proxy branch February 4, 2026 20:27
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Script thread hashtables grow indefinitely?

4 participants