Closed Bug 1920018 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 48278 - Assert relative changes in `history.length` in `same-url.html`

Categories

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

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jonathan Lee <jonathanjlee@google.com> wrote:

Assert relative changes in history.length in same-url.html

All browsers except Firefox spuriously fail the precondition in onload because their history includes about:blank (initially loaded by WebDriver), followed by same-url.html. Avoid encoding this implementation detail in the test.

Also, add the current state to each assertion to make failure more informative.

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

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66b9bfebd7d0 [wpt PR 48278] - Assert relative changes in `history.length` in `same-url.html`, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.