This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
[popover] Make togglePopover throw more exceptions
https://bugs.webkit.org/show_bug.cgi?id=258574 Reviewed by Tim Nguyen. Throw exceptions in togglePopover in case of a disconnected node or the popover attribute not being set anymore, see whatwg/html#8999. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/togglePopover-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/togglePopover.html: * Source/WebCore/html/HTMLElement.cpp: (WebCore::HTMLElement::togglePopover): Canonical link: https://commits.webkit.org/265589@main
- Loading branch information
Showing 3 changed files with 35 additions and 0 deletions.