Re: [csswg-drafts] [css-view-transitions-2] Script event on old Document for cross-document ViewTransitions (#8785)

> > committing is serial (in the same renderer)
> 
> Is that a spec requirement or an implementation detail. I could see a browser implementation switching to the new Document before dispatching events like `pagehide` on the old Document.

Spec requirement,. See https://html.spec.whatwg.org/#unload-a-document #4.
Without this, `sessionStorage` would be racy if accessed from `pagehide`, or directly accessing other windows etc.

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8785#issuecomment-1817145515 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 17 November 2023 21:43:09 UTC