Changeset 252198 in webkit


Ignore:
Timestamp:
Nov 7, 2019 11:59:31 AM (5 years ago)
Author:
Devin Rousso
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):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r252197 r252198  
     12019-11-07  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: REGRESSION(r251958): automatic console prompt focusing prevents any "space" shortcuts from working
     4        https://bugs.webkit.org/show_bug.cgi?id=203939
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Base/Main.js:
     9        (WI.isShowingTimelineTab): Added.
     10        (WI.isShowingAuditTab): Added.
     11        (WI._restoreCookieForOpenTabs):
     12
    1132019-11-07  Devin Rousso  <drousso@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Base/Main.js

    r251963 r252198  
    10871087};
    10881088
     1089WI.isShowingTimelineTab = function()
     1090{
     1091    return WI.tabBrowser.selectedTabContentView instanceof WI.TimelineTabContentView;
     1092};
     1093
     1094WI.isShowingAuditTab = function()
     1095{
     1096    return WI.tabBrowser.selectedTabContentView instanceof WI.AuditTabContentView;
     1097}
     1098
    10891099WI.showLayersTab = function(options = {})
    10901100{
     
    15631573
    15641574    window.requestAnimationFrame(() => {
    1565         if (WI.isContentAreaFocused())
     1575        if (WI.isContentAreaFocused() || WI.isShowingTimelineTab() || WI.isShowingAuditTab())
    15661576            return;
    15671577
Note: See TracChangeset for help on using the changeset viewer.