Title: [184935] trunk/Source/WebInspectorUI
Revision
184935
Author
[email protected]
Date
2015-05-27 18:55:25 -0700 (Wed, 27 May 2015)

Log Message

Web Inspector: Show Page Source does not switch to Resources tab if inspector was closed
https://bugs.webkit.org/show_bug.cgi?id=145423

Patch by Joseph Pecoraro <[email protected]> on 2015-05-27
Reviewed by Timothy Hatcher.

* UserInterface/Base/Main.js:
(WebInspector._frameWasAdded.delayedWork):
(WebInspector._frameWasAdded):
In the special case where we are holding to show a frame's source code when
the frame becomes available (_frameIdentifierToShowSourceCodeWhenAvailable)
we should be forcing to show the tab.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (184934 => 184935)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-05-28 01:51:41 UTC (rev 184934)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-05-28 01:55:25 UTC (rev 184935)
@@ -1,5 +1,19 @@
 2015-05-27  Joseph Pecoraro  <[email protected]>
 
+        Web Inspector: Show Page Source does not switch to Resources tab if inspector was closed
+        https://bugs.webkit.org/show_bug.cgi?id=145423
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Base/Main.js:
+        (WebInspector._frameWasAdded.delayedWork):
+        (WebInspector._frameWasAdded):
+        In the special case where we are holding to show a frame's source code when
+        the frame becomes available (_frameIdentifierToShowSourceCodeWhenAvailable)
+        we should be forcing to show the tab.
+
+2015-05-27  Joseph Pecoraro  <[email protected]>
+
         Web Inspector: Toggling an inherited property sometimes stops working
         https://bugs.webkit.org/show_bug.cgi?id=145416
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (184934 => 184935)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2015-05-28 01:51:41 UTC (rev 184934)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2015-05-28 01:55:25 UTC (rev 184935)
@@ -1111,7 +1111,7 @@
 
     function delayedWork()
     {
-        this.showSourceCodeForFrame(frame.id);
+        this.showSourceCodeForFrame(frame.id, true);
     }
 
     // Delay showing the frame since FrameWasAdded is called before MainFrameChanged.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to