Closed Bug 1545610 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16331 - Portals: Handle adoptions when the predecessor is unavailable.

Categories

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

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Lucas Furukawa Gadani <lfg@chromium.org> wrote:

Portals: Handle adoptions when the predecessor is unavailable.

This CL fixes the PortalActivateEvent to throw an exception if it tries
to adopt the predecessor while it is not associated with a predecessor
browsing context.

Bug: 942286
Change-Id: Iefd7b8612330300d3bed00daff7d2ae17cd45d7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1565994
Commit-Queue: Lucas Gadani \<lfg@chromium.org>
Reviewed-by: Jeremy Roman \<jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#650431}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d6d8ce6f08a3
[wpt PR 16331] - Portals: Handle adoptions when the predecessor is unavailable., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.