Skip to content

Defer updating the reused window's associated document until activation#12421

Draft
shannonbooth wants to merge 1 commit into
whatwg:mainfrom
shannonbooth:active
Draft

Defer updating the reused window's associated document until activation#12421
shannonbooth wants to merge 1 commit into
whatwg:mainfrom
shannonbooth:active

Conversation

@shannonbooth
Copy link
Copy Markdown
Member

@shannonbooth shannonbooth commented May 5, 2026

For discussion purposes, this is the fix for #12415 mentioned in that issue. It is as far as I can tell is correct by deferring setting the associated document until activation.

I'm not sure of what approach would have the best model here. Maybe instead there needs to be a more explicit distinction here between the Window's associated Document and the browsing context's currently active Document during this transient state (maybe window needs a "current" document?).

(See WHATWG Working Mode: Changes for more details.)


/browsing-the-web.html ( diff )
/document-lifecycle.html ( diff )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant