Title: [215435] trunk/Source/WebInspectorUI
Revision
215435
Author
mattba...@apple.com
Date
2017-04-17 15:15:44 -0700 (Mon, 17 Apr 2017)

Log Message

Web Inspector: Enabled state of "All Requests" XHR breakpoint not restored correctly
https://bugs.webkit.org/show_bug.cgi?id=170916

Reviewed by Joseph Pecoraro.

* UserInterface/Controllers/DOMDebuggerManager.js:
(WebInspector.DOMDebuggerManager):
Set breakpoint with backend agent, if enabled.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (215434 => 215435)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-04-17 22:04:56 UTC (rev 215434)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-04-17 22:15:44 UTC (rev 215435)
@@ -1,5 +1,16 @@
 2017-04-17  Matt Baker  <mattba...@apple.com>
 
+        Web Inspector: Enabled state of "All Requests" XHR breakpoint not restored correctly
+        https://bugs.webkit.org/show_bug.cgi?id=170916
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Controllers/DOMDebuggerManager.js:
+        (WebInspector.DOMDebuggerManager):
+        Set breakpoint with backend agent, if enabled.
+
+2017-04-17  Matt Baker  <mattba...@apple.com>
+
         Web Inspector: Show pause reason for "All Requests" XHR breakpoint
         https://bugs.webkit.org/show_bug.cgi?id=170895
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMDebuggerManager.js (215434 => 215435)


--- trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMDebuggerManager.js	2017-04-17 22:04:56 UTC (rev 215434)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMDebuggerManager.js	2017-04-17 22:15:44 UTC (rev 215435)
@@ -66,6 +66,9 @@
 
             this._restoringBreakpoints = false;
             this._speculativelyResolveBreakpoints();
+
+            if (!this._allRequestsBreakpoint.disabled)
+                this._updateXHRBreakpoint(this._allRequestsBreakpoint);
         }
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to