Closed Bug 1735183 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 31189 - Fix AppHistory srcdoc handling

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Nate Chapin <japhet@chromium.org> wrote:

Fix AppHistory srcdoc handling

Currently, a new iframe with a srcdoc attribute will have uninitialized
appHistory state. Move a bunch of the logic for setting up AppHistory in
a new window from DocumentLoader to AppHistory.

Fixed: 1251324
Change-Id: I795dcb3119b8532eea35e6a018594249ed01f9e8
Reviewed-on: https://chromium-review.googlesource.com/3214991
WPT-Export-Revision: 6428d0b75d1f47ec5a12875e7e29aa5072fac3bf

CI Results

Ran 11 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
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/app-history/app-history-entry/entries-in-new-srcdoc-iframe.html
AppHistory entries() and current should be set in a new srcdoc iframe: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6693965b6ea3 [wpt PR 31189] - Fix AppHistory srcdoc handling, a=testonly https://hg.mozilla.org/integration/autoland/rev/10a485d10d55 [wpt PR 31189] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.