[webkit-changes] [WebKit/WebKit] bbf9f2: REGRESSION(274827 at main): ASSERTION FAILED: !deleti...

Vitaly Dyachkov noreply at github.com
Wed Feb 21 08:08:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bbf9f2b123cb1366ff9bbe4932fd42f010dc6257
      https://github.com/WebKit/WebKit/commit/bbf9f2b123cb1366ff9bbe4932fd42f010dc6257
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M Source/WebCore/page/LocalDOMWindow.cpp

  Log Message:
  -----------
  REGRESSION(274827 at main): ASSERTION FAILED: !deletionHasBegun()
https://bugs.webkit.org/show_bug.cgi?id=269784

Reviewed by Chris Dumez.

Use `RefPtrAllowingPartiallyDestroyed` to reference the `Document`
in `LocalDOMWindow::removeAllEventListeners()` because it can be called
when the deletion of the `Document` has already begun.

* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::removeAllEventListeners):

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



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


More information about the webkit-changes mailing list