Closed
Bug 1309523
Opened 8 years ago
Closed 8 years ago
[non-e10s] Wrong info in "Transferred" column
Categories
(DevTools :: Netmonitor, defect)
Tracking
(firefox50 unaffected, firefox51+ fixed, firefox52+ fixed)
RESOLVED
FIXED
Firefox 52
Tracking | Status | |
---|---|---|
firefox50 | --- | unaffected |
firefox51 | + | fixed |
firefox52 | + | fixed |
People
(Reporter: brainsucker.na, Assigned: tromey)
References
Details
(Keywords: regression)
Attachments
(2 files)
(deleted),
image/png
|
Details | |
(deleted),
text/x-review-board-request
|
jryans
:
review+
gchang
:
approval-mozilla-aurora+
|
Details |
Open "Developer Tools: Netmonitor", load any wesite supporting gzip compressed transfers (HTTP 1.1 or HTTP/2 doesn't matter), my example: mapyourtrack.com
Expected:
Transferred column should display actual size of information going through the wire (compressed)
Got:
Transferred column displays incorrect values (for gzipped transfers), roughly equivalent to Size column. Wrong column value confirmed by wireshark (capturing actual packets), also it is inconsistent with Content-Length response header.
Reporter | ||
Comment 1•8 years ago
|
||
Btw it was working fine a few months before (always on up-to-date Nightly), around May 2016.
Windows 10 x64 1607 (14393.222)
Name Firefox
Version 52.0a1
Build ID 20161011030212
Update Channel nightly
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
OS Windows_NT 10.0
It appears only in non-e10s mode.
Reg range:
https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=8173084bb8ebc4695a130e47575c8ff024d3f896&tochange=76a3bb10b02aa23b469ea1cc1c90d4b4b3619433
Tom, could you check this regression after your patches in bug 1244227, please.
Blocks: 1244227
Status: UNCONFIRMED → NEW
status-firefox50:
--- → unaffected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
tracking-firefox51:
--- → ?
tracking-firefox52:
--- → ?
Ever confirmed: true
Flags: needinfo?(ttromey)
Keywords: regression
OS: Unspecified → All
Hardware: Unspecified → All
Summary: Wrong info in "Transferred" column → [non-e10s] Wrong info in "Transferred" column
Version: 52 Branch → 51 Branch
Assignee | ||
Comment 3•8 years ago
|
||
Taking.
Assignee: nobody → ttromey
Status: NEW → ASSIGNED
Flags: needinfo?(ttromey)
Assignee | ||
Comment 5•8 years ago
|
||
It turns out that this patch:
https://bugzilla.mozilla.org/attachment.cgi?id=8783541&action=diff
... was only ok for e10s. We still needed this code for non-e10s.
Also, nothing was testing the transferred size.
Comment hidden (mozreview-request) |
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8801809 [details]
Bug 1309523 - restore nsIInterfaceRequestor to network monitor;
https://reviewboard.mozilla.org/r/86452/#review85176
Thanks, seems like a straightforward revert back to the previous path.
::: devtools/shared/webconsole/network-monitor.js:432
(Diff revision 1)
>
> this.request = request;
> this._getSecurityInfo();
> this._findOpenResponse();
> + // We need to track the offset for the onDataAvailable calls where
> + // we pass the data from our pipe to the coverter.
Nit: convertor
Attachment #8801809 -
Flags: review?(jryans) → review+
Comment hidden (mozreview-request) |
Pushed by ttromey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2c81db21bb49
restore nsIInterfaceRequestor to network monitor; r=jryans
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Comment 12•8 years ago
|
||
Hi,
could you help verify if this issue is fixed as expected on the latest Nightly build? Thanks!
Flags: needinfo?(brainsucker.na)
Reporter | ||
Comment 13•8 years ago
|
||
Hello.
Yep, sorry, I checked it a week ago, it is working fine since the fix landed.
Just forgot to mention it.
Thanks for your work, guys!
Regards.
Flags: needinfo?(brainsucker.na)
Comment 14•8 years ago
|
||
Hi :tromey,
Since this bug is a regression and also affects 51, do you consider to uplift this for 51 if this patch is not too risky?
Flags: needinfo?(ttromey)
Assignee | ||
Comment 15•8 years ago
|
||
I think it's reasonable to uplift. This patch is largely just restoring code that
was there previously; and that was removed based on an incorrect belief.
Flags: needinfo?(ttromey)
Assignee | ||
Comment 16•8 years ago
|
||
Comment on attachment 8801809 [details]
Bug 1309523 - restore nsIInterfaceRequestor to network monitor;
Approval Request Comment
[Feature/regressing bug #]:
This fixes a regression introduced by bug 1244227.
[User impact if declined]:
The network monitor will show incorrect "transferred" sizes for
compressed responses when not using e10s.
[Describe test coverage new/current, TreeHerder]:
During investigation we noticed that nothing was testing for
correct values of the "transferred" data; this patch adds a
regression test.
[Risks and why]:
This is relatively low risk. The patch simply reintroduces some
code that was removed (based on an incorrect belief) in bug 1244227.
[String/UUID change made/needed]: N/A
Attachment #8801809 -
Flags: approval-mozilla-aurora?
Comment 17•8 years ago
|
||
Comment on attachment 8801809 [details]
Bug 1309523 - restore nsIInterfaceRequestor to network monitor;
Fix a regression related to devtools. Take it in 51 aurora.
Attachment #8801809 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 18•8 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•