Closed Bug 1943194 Opened 1 month ago Closed 1 month ago

Wrong value in file column for data URLs

Categories

(DevTools :: Netmonitor, defect)

defect

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

STRs:

  • open netmonitor
  • load data:text/html,sometext
  • observe the request logged in the netmonitor

ER:
File should either be text/html,sometext or data:text/html,sometext

AR:
File is html,sometext (it simply splits after the last /)

Regarding the File value, there isn't really any specification here to decide what to show. For regular network requests, it will simply show the last part of the path, which is usually a filename including the extension. I don't think that for data it makes much sense to have File being different from the full url. Chrome is simply showing the full data-url in this column I suggest we do the same.

Summary: Wrong protocol and file columns for data URLs → Wrong value in file column for data URLs
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dfd7ce287200 [devtools] Display URL in the File column for data URIs in netmonitor r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: