Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 614707a74102c7796fa1f07846979d41480fc82b
      
https://github.com/WebKit/WebKit/commit/614707a74102c7796fa1f07846979d41480fc82b
  Author: BJ Burg <[email protected]>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Web Inspector: avoid using protectedInspector() prior to launching new 
processes
https://bugs.webkit.org/show_bug.cgi?id=287092
<rdar://143943321>

Reviewed by Ryosuke Niwa.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::launchProcess):
Adopt the workaround taken in WebPageProxy::resetState() to avoid using 
`protectedInspector()`
when the web page is closed or its process is not yet launched. In these cases, 
the
protected helper returns null even though the inspector member object actually 
exists.

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



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

Reply via email to