Closed Bug 1724971 Opened 3 years ago Closed 3 years ago

Do not use conservative wrapper to fetch resources URLs

Categories

(Firefox :: Remote Settings Client, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: leplatrem, Assigned: leplatrem)

References

Details

Attachments

(1 file)

Quoting Rob Wu:

it seems more efficient to use fetch->json() it than to xhr->responseText->Response->json(). And for the hasLocalDump case fetch()+gc seems better than xhr+responseText+gc. For http, fetch would resolve as soon as the headers have been received, whereas xhr+onload only resolves when the response is ready.

Assignee: nobody → mathieu
Pushed by mleplatre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49c7b7e12b02 Do not use conservative wrapper to fetch resources URLs r=robwu
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: