Closed Bug 1723723 Opened 3 years ago Closed 3 years ago

Switch JS consumers from getURLSpecFromFile to either getURLSpecFromActualFile or getURLSpecFromDir

Categories

(Firefox :: General, defect)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Keywords: main-thread-io, perf, Whiteboard: [fxperf:p3])

Attachments

(1 file)

getURLSpecFromFile does IO, and in most cases we know whether we're looking for a non-directory file or a directory, which can avoid the IO.

Blocks: 1722304
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Blocks: 1723807
Blocks: 1723811
See Also: → 1723811
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8c7218877e2e stop using getURLSpecFromFile from JS code to avoid mainthread IO, r=florian
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: