Closed Bug 1818303 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 38657 - Update popover events test to check bubbles/cancelable

Categories

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

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Update popover events test to check bubbles/cancelable

Per a request [1], this adds a few more checks to ensure the toggle
events have the right values for bubbles and cancelable.

[1] https://github.com/whatwg/html/issues/8888#issuecomment-1439007393

Bug: 1307772
Change-Id: I8f3116703bbcb9dbc98df9be25c1fa03b7c2b97c
Reviewed-on: https://chromium-review.googlesource.com/4278524
WPT-Export-Revision: f1f917ea7b579465a62af395605d37fc987fe418

PR 38657 applied with additional changes from upstream: 191f5949e7ad27c36736090ea35cd9784808a0c8, fec55c3d5937edb83f2b95ee5137669f7781124b, 45fdf45f79582953fb3aa708566cd2c0707cb222
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 5 subtests

Status Summary

Firefox

OK : 1
FAIL : 5

Chrome

FAIL : 5
ERROR: 1

Safari

OK : 1
FAIL : 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/popovers/popover-events.html [wpt.fyi]
    • The "beforetoggle" event (listener) get properly dispatched for popovers: FAIL (Chrome: FAIL, Safari: FAIL)
    • The "beforetoggle" event (attribute) get properly dispatched for popovers: FAIL (Chrome: FAIL, Safari: FAIL)
    • The "beforetoggle" event is cancelable for the "opening" transition: FAIL (Chrome: FAIL, Safari: FAIL)
    • The "beforetoggle" event is not fired for element removal: FAIL (Chrome: FAIL, Safari: FAIL)
    • The "toggle" event is coalesced: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/178513988e1e [wpt PR 38657] - Update popover events test to check bubbles/cancelable, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.