Closed Bug 660524 Opened 13 years ago Closed 13 years ago

Useless use of PromiseFlatString

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla7

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(1 file)

There's no point calling PromiseFlatString on a known flat string, in this case, a literal string.
Attached patch Proposed patchSplinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #535923 - Flags: review?(surkov.alexander)
Comment on attachment 535923 [details] [diff] [review]
Proposed patch

r=me, thank you for doing this
Attachment #535923 - Flags: review?(surkov.alexander) → review+
landed - http://hg.mozilla.org/mozilla-central/rev/4e8a47715c3f
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: