Title: [244326] trunk/Source/WebKit
Revision
244326
Author
[email protected]
Date
2019-04-15 23:22:41 -0700 (Mon, 15 Apr 2019)

Log Message

Web Inspector: CRASH when reopening tab with docked inspector on crashed page
https://bugs.webkit.org/show_bug.cgi?id=196954
<rdar://problem/48716433>

Reviewed by Ryosuke Niwa.

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::inspectedViewFrameDidChange):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (244325 => 244326)


--- trunk/Source/WebKit/ChangeLog	2019-04-16 04:24:23 UTC (rev 244325)
+++ trunk/Source/WebKit/ChangeLog	2019-04-16 06:22:41 UTC (rev 244326)
@@ -1,3 +1,14 @@
+2019-04-15  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: CRASH when reopening tab with docked inspector on crashed page
+        https://bugs.webkit.org/show_bug.cgi?id=196954
+        <rdar://problem/48716433>
+
+        Reviewed by Ryosuke Niwa.
+
+        * UIProcess/mac/WebInspectorProxyMac.mm:
+        (WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
+
 2019-04-15  Chris Dumez  <[email protected]>
 
         URL set by document.open() is not communicated to the UIProcess

Modified: trunk/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm (244325 => 244326)


--- trunk/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm	2019-04-16 04:24:23 UTC (rev 244325)
+++ trunk/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm	2019-04-16 06:22:41 UTC (rev 244326)
@@ -562,6 +562,9 @@
         return;
     }
 
+    if (!inspectedPage())
+        return;
+
     NSView *inspectedView = inspectedPage()->inspectorAttachmentView();
     WKWebView *inspectorView = [m_inspectorViewController webView];
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to