Closed
Bug 859048
Opened 11 years ago
Closed 9 years ago
Add a way to get the IP address and IP version (v4 or v6) that was used to retrieve a given resource
Categories
(DevTools :: Netmonitor, defect, P3)
DevTools
Netmonitor
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: vporof, Assigned: Kwan)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
23.87 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
"This would be hugely helpful when dealing with sites that are backed by more than one server."
Reporter | ||
Comment 2•11 years ago
|
||
Moving into Developer Tools: Netmonitor component. Filter on NETMONITORAMA.
Component: Developer Tools → Developer Tools: Netmonitor
Summary: [netmonitor] Add a way to get the IP address that was used to retrieve a given resource → Add a way to get the IP address that was used to retrieve a given resource
Reporter | ||
Updated•11 years ago
|
Summary: Add a way to get the IP address that was used to retrieve a given resource → Add a way to get the IP address and IP version (v4 or v6) that was used to retrieve a given resource
Reporter | ||
Updated•11 years ago
|
Priority: -- → P3
Assignee | ||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
Comment on attachment 8569258 [details] [diff] [review] Add Remote Address to the network tab headers panel Review of attachment 8569258 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, but we will need a test for this as well. You can probably just add some checks into browser_net_simple-request-details.js. ::: browser/devtools/netmonitor/netmonitor.xul @@ +293,5 @@ > <tabpanels flex="1"> > <tabpanel id="headers-tabpanel" > class="tabpanel-content"> > <vbox flex="1"> > + <hbox id="headers-summary-address" I think this should appear beneath the request URL and method, which are the most important things about a request. ::: browser/locales/en-US/chrome/browser/devtools/netmonitor.dtd @@ +135,5 @@ > <!-- LOCALIZATION NOTE (debuggerUI.panesButton.tooltip): This is the tooltip for > - the button that toggles the panes visible or hidden in the netmonitor UI. --> > <!ENTITY netmonitorUI.panesButton.tooltip "Toggle network info"> > > +<!-- LOCALIZATION NOTE (debuggerUI.summary.address): This is the label displayed netmonitorUI, not debuggerUI. Could you also fix the other comments while you are here?
Attachment #8569258 -
Flags: review?(past) → feedback+
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Panos Astithas [:past] from comment #6) > Looks good, but we will need a test for this as well. You can probably just > add some checks into browser_net_simple-request-details.js. Cool, I'll take a look. > I think this should appear beneath the request URL and method, which are the > most important things about a request. Can do. I just copied Chrome's position for getting it up and running, very open to feedback on UI. > netmonitorUI, not debuggerUI. Could you also fix the other comments while > you are here? Sure. I made a couple of small changes since in my current version already: + "Remote Address" -> "Remote address" to match the rest of the labels + add [] around the address if indexOf(":") != -1, to distinguish IPv6 addresses from the port number. Also, I notice bug 663151 which was duped to this was for adding it to the webconsole's net panel, shall I include that too? (I already have a patch)
Flags: needinfo?(past)
Comment 8•9 years ago
|
||
We don't really care about the console's net panel and want to kill it as soon as possible (bug 861335). I wouldn't worry about it.
Flags: needinfo?(past)
Assignee | ||
Comment 9•9 years ago
|
||
+change string casing to match rest of panel +IPv6 addrs now get [] around them +test added (is the hardcoded ip:port okay? I'm not sure what else it'd ever be/how we'd calculate it) +output moved below method +s/debuggerUI/netmonitorUI/g in .dtd (all 40+ of them) https://treeherder.mozilla.org/#/jobs?repo=try&revision=092d6bfed28e
Attachment #8569258 -
Attachment is obsolete: true
Attachment #8569814 -
Flags: review?(past)
Comment 10•9 years ago
|
||
Comment on attachment 8569814 [details] [diff] [review] Add Remote Address to the network tab headers panel v1.2 Review of attachment 8569814 [details] [diff] [review]: ----------------------------------------------------------------- If try is ok with the address and port number, I'm fine too.
Attachment #8569814 -
Flags: review?(past) → review+
Assignee | ||
Comment 11•9 years ago
|
||
try run in comment 9 all green (with the exception of an extremely tardy Windows 8 x64 debug M(dt3))
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/d97e4aee9a3a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Updated•9 years ago
|
Keywords: dev-doc-needed
Comment 14•9 years ago
|
||
Does this cover it? -> https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor#Headers
Flags: needinfo?(vporof)
Updated•9 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•