mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
nsExtensionManager.js.in: fix errors in JS strict mode.
Bug 524781 - xpcshell-tests: turn on strict & werror by default. r=benjamin.
This commit is contained in:
parent
d9a2b38712
commit
d810dc515c
@ -2298,7 +2298,7 @@ ExtensionManager.prototype = {
|
||||
// App disable or enable items as necessary
|
||||
// _appEnableItem and _appDisableItem will do nothing if the item is already
|
||||
// in the right state.
|
||||
id = stripPrefix(itemResource.Value, PREFIX_ITEM_URI);
|
||||
var id = stripPrefix(itemResource.Value, PREFIX_ITEM_URI);
|
||||
if (this._isUsableItem(id))
|
||||
this._appEnableItem(id);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user