Bug 1335316 - Include URL parameters in network request logs; r=Honza
authorabhinav <abhinav.koppula@gmail.com>
Sat, 20 Jan 2018 00:33:58 +0530
changeset 400247 d74298d2f24174aa7fe52385ac507b8ad4eb9179
parent 400246 90b7449882b65a5f16e75c58106f6cf153785f2f
child 400248 de52bf2201a6992df26d0e7c7c1223266bcda4f9
push id58437
push userntim.bugs@gmail.com
push dateMon, 22 Jan 2018 18:22:01 +0000
treeherderautoland@d74298d2f241 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza
bugs1335316
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1335316 - Include URL parameters in network request logs; r=Honza MozReview-Commit-ID: 4NqKiX46vqz
devtools/client/webconsole/new-console-output/components/message-types/NetworkEventMessage.js
--- a/devtools/client/webconsole/new-console-output/components/message-types/NetworkEventMessage.js
+++ b/devtools/client/webconsole/new-console-output/components/message-types/NetworkEventMessage.js
@@ -102,17 +102,17 @@ function NetworkEventMessage({
   };
 
   // Message body components.
   const method = dom.span({className: "method" }, request.method);
   const xhr = isXHR
     ? dom.span({ className: "xhr" }, l10n.getStr("webConsoleXhrIndicator"))
     : null;
   const requestUrl = dom.a({ className: "url", title: request.url, onClick: toggle },
-    request.url.replace(/\?.+/, ""));
+    request.url);
   const statusBody = statusInfo
     ? dom.a({ className: "status", onClick: toggle }, statusInfo)
     : null;
 
   const messageBody = [method, xhr, requestUrl, statusBody];
 
   // API consumed by Net monitor UI components. Most of the method
   // are not needed in context of the Console panel (atm) and thus