Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN

MozReview-Commit-ID: FuVu8skcqOe
This commit is contained in:
Jared Wein
2016-12-30 21:47:25 -05:00
parent 17f1b9dc89
commit 242ab87626
752 changed files with 4938 additions and 8970 deletions

View File

@@ -43,8 +43,7 @@ MainProcessSingleton.prototype = {
if (iconURL && isWeb.indexOf(iconURL.scheme) < 0)
throw "Unsupported search icon URL: " + iconURL;
}
catch (ex) {
} catch (ex) {
Cu.reportError("Invalid argument passed to window.external.AddSearchProvider: " + ex);
var searchBundle = Services.strings.createBundle("chrome://global/locale/search/search.properties");