[wpt-sync] Sync PR 15173 - Test that the HTMLPortalElement/activate promise is rejected if detached.
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15173 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15173
Details from upstream follow.
Jeremy Roman <jbroman@chromium.org> wrote:
Test that the HTMLPortalElement/activate promise is rejected if detached.
The simplest way to achieve this is to just make a portal and try to
activate it straight away.This code was previously unreachable in our tests:
https://analysis.chromium.org/p/chromium/coverage/file?host=chromium.googlesource.com&project=chromium/src&ref=refs/heads/master&revision=f3878c07b1c5501e27ea0964d8a0ba0196cf7680&path=//third_party/blink/renderer/core/html/portal/html_portal_element.ccBug: 916310
Change-Id: I20cc6cbfb242e5466df6ffbbe0e30c065d6806ee
Reviewed-on: https://chromium-review.googlesource.com/c/1447030
Reviewed-by: Adithya Srinivasan \<adithyas@chromium.org>
Commit-Queue: Jeremy Roman \<jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#627932}
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/db8d4d86141b
https://hg.mozilla.org/mozilla-central/rev/22dec3239fde
Description
•