[webkit-changes] [WebKit/WebKit] ea638c: Crashes found from deleteModelPlayer() call from H...

Alex Marchenko noreply at github.com
Thu Feb 6 09:56:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea638cce75c0a47e6e3aa1eaa577c9793ad948f5
      https://github.com/WebKit/WebKit/commit/ea638cce75c0a47e6e3aa1eaa577c9793ad948f5
  Author: Aleksei Marchenko <aleksei at apple.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M Source/WebCore/Modules/model-element/HTMLModelElement.cpp

  Log Message:
  -----------
  Crashes found from deleteModelPlayer() call from HTMLModelElement's destructor when running model layout tests
https://bugs.webkit.org/show_bug.cgi?id=287116
rdar://144160812

Reviewed by Ada Chan.

When running back to back tests in some cases document().page()
might not be available during deleteModelPlayer() call.
This change verifies if page() is still valid.

* Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::deleteModelPlayer):

Canonical link: https://commits.webkit.org/289944@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