Web Inspector: Show pause reason for "All Requests" XHR breakpoint
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Apr 2017 20:37:47 +0000 (20:37 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Apr 2017 20:37:47 +0000 (20:37 +0000)
commitb2d714861d34bf04a8d170d0fdd9083d0f02f4aa
tree6f8f0981785defaefed1bdac9f9f02d690be5f40
parentfb099059c3dd7190a789afa8b06c8e7013bcfbd6
Web Inspector: Show pause reason for "All Requests" XHR breakpoint
https://bugs.webkit.org/show_bug.cgi?id=170895

Reviewed by Joseph Pecoraro.

* Localizations/en.lproj/localizedStrings.js:
Add generic pause reason text: "Requesting: <url>".

* UserInterface/Controllers/DOMDebuggerManager.js:
(WebInspector.DOMDebuggerManager.prototype.xhrBreakpointForURL):
Relocated helper method from the sidebar.

* UserInterface/Views/DebuggerSidebarPanel.js:
(WebInspector.DebuggerSidebarPanel.prototype._updatePauseReasonSection):
Add an XHR breakpoint tree element when pause data contains a breakpoint
URL, otherwise just add a generic text row.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
Source/WebInspectorUI/UserInterface/Controllers/DOMDebuggerManager.js
Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js