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

[WPT] BFCache: pushState() in BFCache/non-BFCache cases #31083

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Oct 4, 2021

When doing history navigation to an entry that's created
via pushState, the page should be:

  • With BFCache: Restored from BFCache.
  • Without BFCache: Loaded from the URL set by pushState().

While this test contradicts the current spec but matches
the desired behavior, and the spec will be
fixed as part of whatwg/html#6315.

Tests pass on Firefox/Safari/Chrome,
except for Safari on non-BFCache case
(just because WebLock doesn't disable BFCache).

Bug: 1107415, 1298336, whatwg/html#6207
Change-Id: I609276fe865fa92409fd7a547777dba222bac36c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3199857
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/main@{#972799}

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 Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot changed the title [WPT] BFCache: pushstate [WPT] BFCache: pushState() works in the same way as non-BFCache case Oct 19, 2021
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3199857 branch 2 times, most recently from d765e2c to cf79302 Compare January 7, 2022 10:59
@chromium-wpt-export-bot chromium-wpt-export-bot changed the title [WPT] BFCache: pushState() works in the same way as non-BFCache case [WPT] BFCache: pushState() in BFCache/non-BFCache cases Jan 16, 2022
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3199857 branch 3 times, most recently from b3581ea to 749141f Compare February 9, 2022 03:42
When doing history navigation to an entry that's created
via pushState, the page should be:

- With BFCache: Restored from BFCache.
- Without BFCache: Loaded from the URL set by `pushState()`.

While this test contradicts the current spec but matches
the desired behavior, and the spec will be
fixed as part of whatwg/html#6315.

Tests pass on Firefox/Safari/Chrome,
except for Safari on non-BFCache case
(just because WebLock doesn't disable BFCache).

Bug: 1107415, 1298336, whatwg/html#6207
Change-Id: I609276fe865fa92409fd7a547777dba222bac36c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3199857
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/main@{#972799}
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.

4 participants