Title: [192178] trunk/Source/WebKit2
- Revision
- 192178
- Author
- commit-qu...@webkit.org
- Date
- 2015-11-09 14:07:19 -0800 (Mon, 09 Nov 2015)
Log Message
Web Inspector: REGRESSION: 2nd level inspector should not be able to dock to first
https://bugs.webkit.org/show_bug.cgi?id=151050
Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-11-09
Reviewed by Brian Burg.
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformCanAttach):
Check now that the inspected view can be a WKWebView.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (192177 => 192178)
--- trunk/Source/WebKit2/ChangeLog 2015-11-09 22:00:31 UTC (rev 192177)
+++ trunk/Source/WebKit2/ChangeLog 2015-11-09 22:07:19 UTC (rev 192178)
@@ -1,3 +1,14 @@
+2015-11-09 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: REGRESSION: 2nd level inspector should not be able to dock to first
+ https://bugs.webkit.org/show_bug.cgi?id=151050
+
+ Reviewed by Brian Burg.
+
+ * UIProcess/mac/WebInspectorProxyMac.mm:
+ (WebKit::WebInspectorProxy::platformCanAttach):
+ Check now that the inspected view can be a WKWebView.
+
2015-11-09 Anders Carlsson <ander...@apple.com>
Introspect reply block types as well
Modified: trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm (192177 => 192178)
--- trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm 2015-11-09 22:00:31 UTC (rev 192177)
+++ trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm 2015-11-09 22:07:19 UTC (rev 192178)
@@ -468,7 +468,7 @@
return false;
NSView *inspectedView = inspectedPage()->inspectorAttachmentView();
- if ([inspectedView isKindOfClass:[WKView class]])
+ if ([inspectedView isKindOfClass:[WKView class]] || [inspectedView isKindOfClass:[WKWebView class]])
return webProcessCanAttach;
static const float minimumAttachedHeight = 250;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes