Closed Bug 1943284 Opened 1 month ago Closed 1 month ago

Netmonitor slows down Firefox main process when displaying big data URIs (eg 10MB)

Categories

(DevTools :: Netmonitor, defect)

defect

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(2 files)

Data URIs can potentially be very long and we should check how the netmonitor is handling those.

One example from https://fnafgame.io/fnaf-3 seems to load a 40+ MB data URI, but platform doesn't support it at the moment. Will come up with something more reasonable.

Even with slightly big data URIs (eg 20k), we render them fully in the File/URI cells of the netmonitor, and simply apply an ellipsis. So this might be a big issue with bigger data URIs

Attached file test_case.html

STRs:

  • open test_case.html (generates 10 requests of 10MB data URI content)
  • open netmonitor
  • reload

ER:
Firefox should remain fast
AR:
All Firefox UI becomes extremely slow

Type: task → defect
Summary: Investigate netmonitor handling of huge data URIs → Netmonitor slows down Firefox main process when displaying big data URIs (eg 10MB)
Attachment #9461238 - Attachment mime type: text/plain → text/html

This is purely a UI issue, removing the File and URL columns makes the panel and Firefox UI fast again

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
No longer blocks: 1911300
See Also: → 1911300
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f75b5b75147b [devtools] Introduce cap for showing long URLs in netmonitor to avoid issues with big data URIs r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Blocks: 1943702
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: