Bug
1766884 [wpt PR 33848] - Make showPopup and hidePopup throw in invalid situations, a=testonly
Automatic update from web-platform-tests
Make showPopup and hidePopup throw in invalid situations
With this CL, both `showPopup()` and `hidePopup()` will throw exceptions
in invalid situations, including:
- called on non-popup elements
- called when the popup is in an invalid state (e.g. showPopup on an
already-showing popup).
See this issue:
https://github.com/openui/open-ui/issues/511#issuecomment-
1099522414
Bug:
1307772
Change-Id: Ib6b623fdcc0fcf7de68f496163df7b47b1c24732
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3610726
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#997279}
--
wpt-commits:
7e280cd5814a822cb05b7116eb2cbaf736af2803
wpt-pr: 33848