The default bug view has changed. See this FAQ.

Useless use of PromiseFlatString

RESOLVED FIXED

Status

()

Core
Security: PSM
--
trivial
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: neil@parkwaycc.co.uk, Assigned: neil@parkwaycc.co.uk)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
There's no point calling PromiseFlatString on a known flat string.
(Assignee)

Comment 1

6 years ago
Created attachment 535927 [details] [diff] [review]
Proposed patch

I also moved the call to NS_Convert... for consistency.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #535927 - Flags: review?(kaie)

Comment 2

6 years ago
Comment on attachment 535927 [details] [diff] [review]
Proposed patch

thanks, r=kaie
Attachment #535927 - Flags: review?(kaie) → review+
(Assignee)

Comment 3

6 years ago
Pushed changeset 320e5abc6f5a to mozilla-central.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.