Closed
Bug 931868
Opened 11 years ago
Closed 10 years ago
Throw if no resources are defined for an HTML document
Categories
(L20n :: HTML Bindings, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: stas, Unassigned)
Details
Spin off of bug 923670: > @@ +133,5 @@ > > + }); > > + } else if (scripts.length) { > > + ctx.requestLocales(); > > + } else { > > + console.warn('L20n: No resources defined.'); > > that got me thinking. So an app with no resources cannot rely on > DocumentLocalized... should we fire ctx.requestLocales in that case anyway? I think we should throw so that we don't call collectNodes in this case.
Reporter | ||
Comment 1•11 years ago
|
||
Related bug 913638 seems to have gone in the opposite direction.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•