Closed Bug 1883515 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44915 - content: Don't dispatch pageswap for initial empty doc navigations

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44915 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44915
Details from upstream follow.

Khushal Sagar <khushalsagar@chromium.org> wrote:

content: Don't dispatch pageswap for initial empty doc navigations

The renderer assumes the browser won't try to dispatch pageswap when
navigating away from the initial empty Document or initial entry. Add
this check to the browser side code.

Bug:1522213
Change-Id: I5595f47152faba0e266e3c4a8067785a1d041d49
Reviewed-on: https://chromium-review.googlesource.com/5340971
WPT-Export-Revision: 2ef09d71f2b9d363489ffb2e7902975dced38b9b

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

PASS : 1
ERROR: 1

Chrome

PASS : 1
ERROR: 1

Safari

PASS : 1
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1d1fdf9d25cb [wpt PR 44915] - blink: Fix pageswap dispatch for initial empty Document., a=testonly https://hg.mozilla.org/integration/autoland/rev/bb43cd9367d4 [wpt PR 44915] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.