Open Bug 1793393 Opened 2 years ago Updated 1 year ago

Network monitor - Throttling not disabling if set to false during content load

Categories

(DevTools :: Netmonitor, defect, P3)

Firefox 111
Desktop
All
defect

Tracking

(Not tracked)

People

(Reporter: u713120, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

Steps to reproduce:

  1. Open any tab
  2. Open DevTools
  3. Go to Network Monitor
  4. Enabled throttling
  5. Reload tab
  6. Disable or change throttling during content reload

Actual results:

Throttling remains enabled despite being set to false during content load

Expected results:

Network throttling should adjust to changes in settings even if this are made during content load/reload

Issue could be platform specific (Linux 64 bits)

Attached video debug.webm (obsolete) —
Attached video debug.mp4

Preview of the bug

Attachment #9297017 - Attachment is obsolete: true

The severity field is not set for this bug.
:Honza, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(odvarko)

Issue persists on Firefox 106.0

I think I can reproduce that on my machine (Win10).
Even if I disable the throttling during the page load the page finishes the load with throttling enabled. However the next page reload is properly done without throttling.
@anotheranonymoususer - is that what you are reporting?

Flags: needinfo?(odvarko) → needinfo?(anotheranonymoususer)
Attached image obrazek.png

Another thing I oserved when testing this:

STR:

  1. Open DevTools Toolbox and select the Network panel and disable cache
  2. Load https://bugzilla.mozilla.org/show_bug.cgi?id=1796140
  3. I am seeing 45 requests, all 200 OK
  4. Set throttling to "Good 3G" (looks like it doesn't matter which one is used)
  5. Reload the page
  6. Again there is 45 requests, but many of them (JS and CSS) are not finished

@anotheranonymoususer , can you please retest, both scenarios?
(we might want to file a new bug for main STRs)

Attaching a screenshot

@anotheranonymoususer - is that what you are reporting?

Exactly

Flags: needinfo?(anotheranonymoususer)

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #7)

Created attachment 9299639 [details]
obrazek.png

Another thing I oserved when testing this:

STR:

  1. Open DevTools Toolbox and select the Network panel and disable cache
  2. Load https://bugzilla.mozilla.org/show_bug.cgi?id=1796140
  3. I am seeing 45 requests, all 200 OK
  4. Set throttling to "Good 3G" (looks like it doesn't matter which one is used)
  5. Reload the page
  6. Again there is 45 requests, but many of them (JS and CSS) are not finished

@anotheranonymoususer , can you please retest, both scenarios?
(we might want to file a new bug for main STRs)

Attaching a screenshot

Thank you. Yes, I've retested and I can reproduce your error.

Issue persists on Firefox 106.0.4

Version: Firefox 105 → Firefox 106

(In reply to anotheranonymoususer from comment #9)

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #7)
Thank you. Yes, I've retested and I can reproduce your error.

Reported Bug 1799095 - Requests displayed as not-finished when throttling is active

I am not sure how to repro the orginally reported bug, here is what I am trying:

STR:

  1. Open DevTools Toolbox and select the Network panel and disable cache
  2. Load https://bugzilla.mozilla.org/show_bug.cgi?id=1796140
  3. Set throttling to "Good 3G"
  4. Reload the page, it takes around 17-18 sec on my machine (check Network panel's status bar "Finish" time)
  5. Press F5 to reload and immediatelly click on the Thottling list and pick "No throttling". The time to finish the page load is now around 6-7 sec
  6. Keep "No throttling" and reload again, it takes around 2-3 sec.

@anotheranonymoususer - do you see the same results on your machine? Am I doing something wroing? Can you provide different detailed steps I should follow? Thank you!

Flags: needinfo?(anotheranonymoususer)

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #12)

I am not sure how to repro the orginally reported bug, here is what I am trying:

@Jan_Honza_Odvarko Essentially, the bug consists on the throttling mode not changing or turning to disabled when set to a different mode or set to disabled during page load/reload

STR:

  1. Open DevTools Toolbox and select the Network panel and disable cache
  2. Load https://bugzilla.mozilla.org/show_bug.cgi?id=1796140
  3. Set throttling to "Good 3G"

I think you could get more similar results if you set throttling to "GPRS" instead of "Good 3G"

  1. Reload the page, it takes around 17-18 sec on my machine (check Network panel's status bar "Finish" time)
  2. Press F5 to reload and immediatelly click on the Thottling list and pick "No throttling". The time to finish the page load is now around 6-7 sec
  3. Keep "No throttling" and reload again, it takes around 2-3 sec.

@anotheranonymoususer - do you see the same results on your machine? Am I doing something wroing? Can you provide different detailed steps I should follow? Thank you!

Interesting, while retesting the bug on my setup, the "Finish" time displayed on the Networks panel's status has been throwing unreliable results, sometimes it throws 735 ms when in reality load/reload times with throttling enabled take much longer (Sometimes up to 15 seconds if throttling is set to "GPRS")

Flags: needinfo?(anotheranonymoususer)

@Bomsy: can you please try to repro this on your machine, thank you!

Flags: needinfo?(hmanilla)

Hi honza,
I seem to be able to repro the issue intermittently only if the reload is taking too long (as can happen with GPRS) and we change the setting and stop and reload in the browser again. Updated the STR

  1. Open DevTools Toolbox and select the Network panel and disable cache
  2. Load https://bugzilla.mozilla.org/show_bug.cgi?id=1796140
  3. Set throttling to GPRS
  4. Reload the page, (it takes sometime to load)
  5. While the page is still loading, change the setting to No Throttling
  6. Stop and re-start loading the page.

AR
The page still loads slowly (GPRS)

ER
The page should load faster
Do you see the same?

Note: It's intermittent for me.

Flags: needinfo?(hmanilla) → needinfo?(odvarko)

Thank you, Bomsy. I was able to repro using "GRPS" too. Note that only reopening the Developer Toolbox fixed the page-load for me (i.e. the page loaded faster again with no-throttling).

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(odvarko)
Priority: -- → P3

Issue persists on Firefox 107.0
Updating Bug

Version: Firefox 106 → Firefox 107
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: Firefox 107 → Firefox 111
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: