Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1694993] Part 4: Copy session storage before loading, and only for newly created windows #35553

Merged
merged 1 commit into from Sep 21, 2022

Conversation

moz-wptsync-bot
Copy link
Collaborator

Previously we would copy session storage even if we were not opening a new
window, meaning that a targeted load could re-trigger a copy. This was not
specified in the standard so is being changed to only copy when a new window is
created. In addition, the copy was moved before navigaton starts, again for
more consistency with ordering for the standard, such that things like
javascript: URI loads will oberve the up-to-date session storage.

Depends on D154565

Differential Revision: https://phabricator.services.mozilla.com/D154566

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1694993
gecko-commit: 3b412d5fbdcfec899bb81bcc6e298c0333dd14b5
gecko-reviewers: smaug

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

…ed windows

Previously we would copy session storage even if we were not opening a new
window, meaning that a targeted load could re-trigger a copy. This was not
specified in the standard so is being changed to only copy when a new window is
created. In addition, the copy was moved before navigaton starts, again for
more consistency with ordering for the standard, such that things like
`javascript:` URI loads will oberve the up-to-date session storage.

Differential Revision: https://phabricator.services.mozilla.com/D154566

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1694993
gecko-commit: f2b6ca0547cbf1264b739bbced20c1aeadf5f384
gecko-reviewers: smaug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants