String bundles should not dump errors to the console

RESOLVED INVALID

Status

()

Core
General
RESOLVED INVALID
9 years ago
7 years ago

People

(Reporter: mkaply, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
Currently when a string is not found or something else fails, the stringbundle code dumps to the console:

dump("*** Failed to get string " + aStringKey + " in bundle: " + this.src + "\n");

We should not be dumping in a release build, and also this information would be much more useful if it were actually a part of the exception thrown by the string bundle code itself.
(Reporter)

Comment 1

7 years ago
I don't see this code in stringbundle anymore
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.