Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d9589eb2f706fe1415b918607f0ab49c2a8ae39
      
https://github.com/WebKit/WebKit/commit/5d9589eb2f706fe1415b918607f0ab49c2a8ae39
  Author: Brent Fulgham <[email protected]>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-events-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-remove-attribute-during-focusing-steps-expected.txt
    M Source/WebCore/html/HTMLElement.cpp

  Log Message:
  -----------
  Popover test cases trigger nullptr dereference in WebKit
https://bugs.webkit.org/show_bug.cgi?id=312304
rdar://174767317

Reviewed by Tim Nguyen.

The recent sync of WPT 311246@main exposed two nullptr dereferences that led to 
crashes
when running tests. This patch corrects those two issues, and updates 
expectations
to reflect the changes.

Tests: 
imported/w3c/web-platform-tests/html/semantics/popovers/popover-events.html
       
imported/w3c/web-platform-tests/html/semantics/popovers/popover-focus-blur-crash.html
       
imported/w3c/web-platform-tests/html/semantics/popovers/popover-remove-attribute-during-focusing-steps.html

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-events-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-remove-attribute-during-focusing-steps-expected.txt:
 Added.
* Source/WebCore/html/HTMLElement.cpp:
(WebCore::HTMLElement::queuePopoverToggleEventTask):
(WebCore::HTMLElement::showPopoverInternal):

Canonical link: https://commits.webkit.org/311343@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to