Closed Bug 2045320 Opened 3 months ago Closed 2 months ago

[wpt-sync] Sync PR 60420 - Delay NavigationAPI restore callback after execution context resume

Categories

(Core :: DOM: Navigation, task, P4)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yuzu Saijo <yuzus@google.com> wrote:

Delay NavigationAPI restore callback after execution context resume

This CL delays NavigationAPI's restore callback timing, triggered by
bfcache restore, after the execution context resumes.

It used to run when the execution context is frozen. JavaScript
execution while frozen is not safe and should be avoided.

Bug:520233115
Change-Id: I888ea7f63364b2cb1fcff05d885465d86d506766
Reviewed-on: https://chromium-review.googlesource.com/7901435
WPT-Export-Revision: dae1a27f9b227a582a4cc47c6b7bb738d37cf4b1

Component: web-platform-tests → DOM: Navigation
Product: Testing → Core

CI Results

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

Total 10 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/42016dfe2bb4 https://hg.mozilla.org/integration/autoland/rev/434913f0821a [wpt PR 60420] - Delay NavigationAPI restore callback after execution context resume, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.