Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 02b3689a512e18263e9842b5604069a1cbddfe69
      
https://github.com/WebKit/WebKit/commit/02b3689a512e18263e9842b5604069a1cbddfe69
  Author: Anil Hebbar <anil_heb...@apple.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M Source/WebCore/html/HTMLElement.cpp

  Log Message:
  -----------
  elease Assert isInTopLayer() in Element::removeFromTopLayer()
https://bugs.webkit.org/show_bug.cgi?id=295300
rdar://149686949

Reviewed by Ryosuke Niwa and Tim Nguyen.

The issue is caused by the race condition where the top layer is in
the process of being removed. The fix is to check the element it is
still the top layer before calling the removeFromTopLayer() function

MERGEING WITHOUT TEST REASON
============================
The test for this is not reliable. The test needs lots of reloads to
fail when it should (without the fix) and often timesout if the number
of reloads are more. The EWS failed with errors due to timeout or
texts being dumped when running EWS test. I am therefore merging
without tests

* Source/WebCore/html/HTMLElement.cpp:
(WebCore::HTMLElement::hidePopoverInternal):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to