Title: [252198] trunk/Source/WebInspectorUI
- Revision
- 252198
- Author
- [email protected]
- Date
- 2019-11-07 11:59:31 -0800 (Thu, 07 Nov 2019)
Log Message
Web Inspector: REGRESSION(r251958): automatic console prompt focusing prevents any "space" shortcuts from working
https://bugs.webkit.org/show_bug.cgi?id=203939
Reviewed by Timothy Hatcher.
* UserInterface/Base/Main.js:
(WI.isShowingTimelineTab): Added.
(WI.isShowingAuditTab): Added.
(WI._restoreCookieForOpenTabs):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (252197 => 252198)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-11-07 19:46:41 UTC (rev 252197)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-11-07 19:59:31 UTC (rev 252198)
@@ -1,5 +1,17 @@
2019-11-07 Devin Rousso <[email protected]>
+ Web Inspector: REGRESSION(r251958): automatic console prompt focusing prevents any "space" shortcuts from working
+ https://bugs.webkit.org/show_bug.cgi?id=203939
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Base/Main.js:
+ (WI.isShowingTimelineTab): Added.
+ (WI.isShowingAuditTab): Added.
+ (WI._restoreCookieForOpenTabs):
+
+2019-11-07 Devin Rousso <[email protected]>
+
Web Inspector: Uncaught Exception: Unable to get object details - GlobalObject
https://bugs.webkit.org/show_bug.cgi?id=203930
<rdar://problem/56960937>
Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (252197 => 252198)
--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js 2019-11-07 19:46:41 UTC (rev 252197)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js 2019-11-07 19:59:31 UTC (rev 252198)
@@ -1086,6 +1086,16 @@
WI.tabBrowser.showTabForContentView(tabContentView);
};
+WI.isShowingTimelineTab = function()
+{
+ return WI.tabBrowser.selectedTabContentView instanceof WI.TimelineTabContentView;
+};
+
+WI.isShowingAuditTab = function()
+{
+ return WI.tabBrowser.selectedTabContentView instanceof WI.AuditTabContentView;
+}
+
WI.showLayersTab = function(options = {})
{
let tabContentView = WI.tabBrowser.bestTabContentViewForClass(WI.LayersTabContentView);
@@ -1562,7 +1572,7 @@
}
window.requestAnimationFrame(() => {
- if (WI.isContentAreaFocused())
+ if (WI.isContentAreaFocused() || WI.isShowingTimelineTab() || WI.isShowingAuditTab())
return;
WI.quickConsole.prompt.focus();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes