Closed Bug 1683826 Opened 3 years ago Closed 3 years ago

Replace SanitizeOriginString by pure functions

Categories

(Core :: Storage: Quota Manager, task)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(1 file)

SanitizeOriginString is a function with an in-out parameter. In all uses, this is not an optimization, since the source string is copied before. It can therefore better be replaced by pure functions with an input parameter and a return value, which simplifies its uses.

Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4813f52b37db
Replace SanitizeOriginString by pure functions. r=dom-workers-and-storage-reviewers,janv
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1efcb9dbb33
Replace SanitizeOriginString by pure functions. r=dom-workers-and-storage-reviewers,janv
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Flags: needinfo?(sgiesecke)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: