Closed Bug 1387902 Opened 7 years ago Closed 7 years ago

Don't attempt to localize browserAction widget properties

Categories

(WebExtensions :: Frontend, enhancement)

enhancement
Not set
normal

Tracking

(firefox57 fixed)

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We spend a lot of time at startup generating exception objects while trying to retrieve nonexistent localized properties from string bundles. Since extension widget values will never be localized this way, we should skip the string bundle lookup entirely.
Comment on attachment 8894364 [details]
Bug 1387902: Don't attempt to localize browserAction widget properties.

https://reviewboard.mozilla.org/r/165532/#review170724

r=me
Attachment #8894364 - Flags: review?(gijskruitbosch+bugs) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/83e23294455f89c13e3a2db5b04291641a19c52f
Bug 1387902: Don't attempt to localize browserAction widget properties. r=Gijs
https://hg.mozilla.org/mozilla-central/rev/83e23294455f
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: