[webkit-changes] [WebKit/WebKit] d501d8: REGRESSION(264582 at main): [GTK] UI process crash: A...

Michael Catanzaro noreply at github.com
Tue Jun 6 06:37:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d501d8dce059d7c3307c022e51e1853e348439ac
      https://github.com/WebKit/WebKit/commit/d501d8dce059d7c3307c022e51e1853e348439ac
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp

  Log Message:
  -----------
  REGRESSION(264582 at main): [GTK] UI process crash: Assertion 'this->_M_is_engaged()' failed.
https://bugs.webkit.org/show_bug.cgi?id=257690

Reviewed by Carlos Garcia Campos.

I incorrectly assumed that there would always be at least one pointer
motion event before a pointer leave event. This is not correct; e.g. it
happens when Epiphany restores a previous browser session. Instead of
crashing when libstdc++ assertions are enabled, let's just bail. There
is probably no need to synthesize a fake motion event for WebCore.

* Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseLeave):

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




More information about the webkit-changes mailing list