Closed Bug 660529 Opened 9 years ago Closed 9 years ago

Useless use of PromiseFlatString

Categories

(Core :: Security: PSM, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(1 file)

There's no point calling PromiseFlatString on a known flat string.
Attached patch Proposed patchSplinter Review
I also moved the call to NS_Convert... for consistency.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #535927 - Flags: review?(kaie)
Comment on attachment 535927 [details] [diff] [review]
Proposed patch

thanks, r=kaie
Attachment #535927 - Flags: review?(kaie) → review+
Pushed changeset 320e5abc6f5a to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.