Closed Bug 1317413 Opened 8 years ago Closed 8 years ago

Using Network Throttling with Network Inspector incorrectly show page elements loading twice

Categories

(DevTools :: Responsive Design Mode, defect, P1)

52 Branch
Unspecified
All
defect

Tracking

(firefox50 unaffected, firefox51 unaffected, firefox52+ fixed, firefox53- fixed)

RESOLVED FIXED
Firefox 53
Tracking Status
firefox50 --- unaffected
firefox51 --- unaffected
firefox52 + fixed
firefox53 - fixed

People

(Reporter: buggyz, Assigned: jryans)

References

Details

(Keywords: regression, Whiteboard: [rdm-v2])

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20161114043454

Steps to reproduce:

I opened the Network Inspector > Clicked on the "Responsive Design Mode" button > Clicked "No throttling" > in the drop-down menu i selected "Regular 4G / LTE".

With both the Network Inspector open and the Responsive Design mode / Network Throttling set to throttle at "Regular 4G / LTE" speed, I then proceeded to open the webpage: https://www.bonnieradvocaten.nl/ 



Actual results:

The web-page https://www.bonnieradvocaten.nl loaded, but, according to the Network Inspector, every element  of the page (HTML, CSS, JS Images etc...) including the initial HTML was shown to be loaded twice.

I checked the server log for https://www.bonnieradvocaten.nl/ and the browser does not actually requests / fetches the elements (files) for the website twice. 

So Network Inspectors shows everything being loaded twice when it's not being fetched/loaded twice but just once. 

I'm including a screenshot of the Network Inspector so you can see what i'm writing about. 


Expected results:

When Network Throttling is used and the Network Inspector is simultaneously used  to measure performance. Every element of the web-page that is loaded once should correctly appear as only loaded once (and not two times).
I would like to add this bugs occurs when using Firefox 52 as well as with Firefox 53. 

Furthermore I've reproduced this problem  using Ubuntu 16.10 and Windows 10; the problem occurs using Firefox on both platforms. 

If need be, i can provided anonymized excerpt of server-log showing Firefox requesting elements / files.
Component: Untriaged → Developer Tools: Responsive Design Mode
Component: Developer Tools: Responsive Design Mode → Untriaged
I'm not sure whether to select: "Component: Developer Tools: Responsive Design Mode" or "Component: Net-monitor"
Component: Untriaged → Developer Tools: Responsive Design Mode
OS: Unspecified → All
The issue appeared after bug 1283453.
@Loic
I Gather it you are able to replicate this bug. If so, then shouldn't its status be set to "New" since it is confirmed?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jryans)
Thanks for the report, I can reproduce the issue!
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Flags: needinfo?(jryans)
Priority: -- → P1
Whiteboard: [rdm-v2]
Comment on attachment 8811993 [details]
Bug 1317413 - Separate net monitor messages by RDP prefix.

https://reviewboard.mozilla.org/r/93872/#review94184

Thank you.  This looks good.
Attachment #8811993 - Flags: review?(ttromey) → review+
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4cb6ae537463
Separate net monitor messages by RDP prefix. r=tromey
https://hg.mozilla.org/mozilla-central/rev/4cb6ae537463
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment on attachment 8811993 [details]
Bug 1317413 - Separate net monitor messages by RDP prefix.

Approval Request Comment
[Feature/regressing bug #]: Bug 1283453, though this just exposed an underlying problem
[User impact if declined]: Network monitor data in DevTools will be incorrectly reported twice for each request
[Describe test coverage new/current, TreeHerder]: Manual testing, landed in m-c
[Risks and why]: Low, only affect DevTools UI
[String/UUID change made/needed]: None
Attachment #8811993 - Flags: approval-mozilla-aurora?
tracking as new regression in 52.  fixed in 53, so not tracking.
Comment on attachment 8811993 [details]
Bug 1317413 - Separate net monitor messages by RDP prefix.

devtools rdm fix for aurora52
Attachment #8811993 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
needs rebasing for aurora

grafting 376581:4cb6ae537463 "Bug 1317413 - Separate net monitor messages by RDP prefix. r=tromey"
merging devtools/shared/webconsole/network-monitor.js
warning: conflicts while merging devtools/shared/webconsole/network-monitor.js! (edit, then use 'hg resolve --mark')
abort: unresolved conflicts, can't continue
(use 'hg resolve' and 'hg graft --continue')
Flags: needinfo?(jryans)
I have reproduced this bug with Nightly 52.0a1 (2016-11-14) (64-bit) on Windows 7 , 64 Bit !

This bug's fix is now verified with latest Nightly and Aurora

Build    ID  :      20161214030231
User  Agent  :      Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 

Build    ID  :      20161214004021
User  Agent  :      Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
[bugday-20161214]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: