Title: [226763] trunk/Source/WebInspectorUI
Revision
226763
Author
[email protected]
Date
2018-01-10 23:05:12 -0800 (Wed, 10 Jan 2018)

Log Message

Web Inspector: Incorrect check with WI.debuggableType
https://bugs.webkit.org/show_bug.cgi?id=181515
<rdar://problem/36425509>

Patch by Joseph Pecoraro <[email protected]> on 2018-01-10
Reviewed by Brian Burg.

* UserInterface/Base/Main.js:
(WI.contentLoaded):
This moved to WI.sharedApp a while ago.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (226762 => 226763)


--- trunk/Source/WebInspectorUI/ChangeLog	2018-01-11 06:34:22 UTC (rev 226762)
+++ trunk/Source/WebInspectorUI/ChangeLog	2018-01-11 07:05:12 UTC (rev 226763)
@@ -1,3 +1,15 @@
+2018-01-10  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Incorrect check with WI.debuggableType
+        https://bugs.webkit.org/show_bug.cgi?id=181515
+        <rdar://problem/36425509>
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Base/Main.js:
+        (WI.contentLoaded):
+        This moved to WI.sharedApp a while ago.
+
 2018-01-10  Matt Baker  <[email protected]>
 
         Web Inspector: Canvas tab: throttle recording slider updates

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (226762 => 226763)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2018-01-11 06:34:22 UTC (rev 226762)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2018-01-11 07:05:12 UTC (rev 226763)
@@ -373,7 +373,7 @@
     this._togglePreviousDockConfigurationKeyboardShortcut = new WI.KeyboardShortcut(WI.KeyboardShortcut.Modifier.CommandOrControl | WI.KeyboardShortcut.Modifier.Shift, "D", this._togglePreviousDockConfiguration.bind(this));
 
     let reloadToolTip;
-    if (WI.debuggableType === WI.DebuggableType._javascript_)
+    if (WI.sharedApp.debuggableType === WI.DebuggableType._javascript_)
         reloadToolTip = WI.UIString("Restart (%s)").format(this._reloadPageKeyboardShortcut.displayName);
     else
         reloadToolTip = WI.UIString("Reload page (%s)\nReload page ignoring cache (%s)").format(this._reloadPageKeyboardShortcut.displayName, this._reloadPageFromOriginKeyboardShortcut.displayName);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to