Bug
1842711 [wpt PR 40960] - Move popover invoker CHECK, a=testonly
Automatic update from web-platform-tests
Move popover invoker CHECK
I added this CHECK in http://crrev.com/
1166594 but it will get hit when
showPopover is called while the popover is open with an invoker. This
patch moves the CHECK down past the IsPopoverReady check to avoid
getting hit. If the popover is already open, then the IsPopoverReady
check will return before the CHECK is run.
The motivation behind the CHECK is still fine - it ensures that while
the popover is closed, it can't have an invoker set.
Fixed:
1463384
Change-Id: Ie75a1026acefd9ce8018caf96b2bb314a18ac730
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4676654
Commit-Queue: Mason Freed <masonf@chromium.org>
Auto-Submit: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1168432}
--
wpt-commits:
798fe28294ff7b847e62a38c42ea0e4508af44ea
wpt-pr: 40960