Merge autoland to m-c, a=merge

MozReview-Commit-ID: 2J6HdCmNCBt
This commit is contained in:
Phil Ringnalda 2016-10-18 19:25:30 -07:00
Родитель 74c5c967e1 4eecda6d84
Коммит 132355644f
558 изменённых файлов: 6157 добавлений и 3080 удалений

Просмотреть файл

@ -1,3 +1,6 @@
# Allow linting of .eslintrc.js files.
!**/.eslintrc.js
# Always ignore node_modules.
**/node_modules/**/*.*

Просмотреть файл

@ -1,4 +1,6 @@
{
"use strict";
module.exports = {
// When adding items to this file please check for effects on sub-directories.
"plugins": [
"mozilla"
@ -9,4 +11,4 @@
"env": {
"es6": true
},
}
};

Просмотреть файл

@ -11,6 +11,12 @@ handle SIG32 noprint nostop pass
handle SIG33 noprint nostop pass
handle SIGPIPE noprint nostop pass
# Don't stop for certain other signals where it's not useful,
# such as the SIG64 signals triggered by the Linux
# sandboxing code on older kernels.
handle SIG38 noprint nostop pass
handle SIG64 noprint nostop pass
# Show the concrete types behind nsIFoo
set print object on

Просмотреть файл

@ -1,6 +1,8 @@
{
"use strict";
module.exports = {
"extends": [
"../.eslintrc"
"../.eslintrc.js"
],
"globals": {
"Cc": true,
@ -12,4 +14,4 @@
"Services": true,
"XPCOMUtils": true
}
}
};

Просмотреть файл

@ -1,6 +1,8 @@
{
"use strict";
module.exports = { // eslint-disable-line no-undef
"extends": [
"../../../testing/mochitest/browser.eslintrc"
"../../../testing/mochitest/browser.eslintrc.js"
],
// All globals made available in the test environment.
"globals": {
@ -46,7 +48,7 @@
"invokeSetAttribute": true,
"invokeSetStyle": true,
"invokeFocus": true,
"findAccessibleChildByID": true,
"findAccessibleChildByID": true
},
"rules": {
"mozilla/mark-test-function-used": 1,
@ -212,6 +214,6 @@
"no-void": 0,
"no-wrap-func": 0,
"operator-assignment": 0,
"operator-linebreak": [2, "after"],
"operator-linebreak": [2, "after"]
}
}
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../toolkit/.eslintrc"
],
}

7
browser/.eslintrc.js Normal file
Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../toolkit/.eslintrc.js"
],
};

Просмотреть файл

@ -448,7 +448,8 @@ toolbar:not(#TabsToolbar) > #personal-bookmarks {
}
/* Always show URLs LTR. */
.ac-url-text:-moz-locale-dir(rtl) {
.ac-url-text:-moz-locale-dir(rtl),
.ac-title-text[lookslikeurl]:-moz-locale-dir(rtl) {
direction: ltr !important;
}

Просмотреть файл

@ -24,7 +24,7 @@ XPCOMUtils.defineLazyModuleGetter(this, "ContentLinkHandler",
"resource:///modules/ContentLinkHandler.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "LoginManagerContent",
"resource://gre/modules/LoginManagerContent.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "FormLikeFactory",
XPCOMUtils.defineLazyModuleGetter(this, "LoginFormFactory",
"resource://gre/modules/LoginManagerContent.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "InsecurePasswordUtils",
"resource://gre/modules/InsecurePasswordUtils.jsm");
@ -65,12 +65,12 @@ addMessageListener("RemoteLogins:fillForm", function(message) {
});
addEventListener("DOMFormHasPassword", function(event) {
LoginManagerContent.onDOMFormHasPassword(event, content);
let formLike = FormLikeFactory.createFromForm(event.target);
let formLike = LoginFormFactory.createFromForm(event.target);
InsecurePasswordUtils.checkForInsecurePasswords(formLike);
});
addEventListener("DOMInputPasswordAdded", function(event) {
LoginManagerContent.onDOMInputPasswordAdded(event, content);
let formLike = FormLikeFactory.createFromField(event.target);
let formLike = LoginFormFactory.createFromField(event.target);
InsecurePasswordUtils.checkForInsecurePasswords(formLike);
});
addEventListener("pageshow", function(event) {

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/chrome.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/chrome.eslintrc.js"
]
};

Просмотреть файл

@ -1,6 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc",
"../../../../../testing/mochitest/mochitest.eslintrc",
]
}

Просмотреть файл

@ -0,0 +1,8 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js",
"../../../../../testing/mochitest/mochitest.eslintrc.js",
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1259,6 +1259,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
// open the search results according to the clicking subtlety
var where = whereToOpenLink(aEvent, false, true);
let params = {};
// But open ctrl/cmd clicks on autocomplete items in a new background tab.
let modifier = this.AppConstants.platform == "macosx" ?
@ -1266,10 +1267,10 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
aEvent.ctrlKey;
if (where == "tab" && (aEvent instanceof MouseEvent) &&
(aEvent.button == 1 || modifier))
where = "tab-background";
params.inBackground = true;
searchBar.doSearch(search, where);
if (where == "tab-background")
searchBar.doSearch(search, where, null, params);
if (where == "tab" && params.inBackground)
searchBar.focus();
else
searchBar.value = search;

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +1,7 @@
{
"extends": "../../../toolkit/components/extensions/.eslintrc",
"use strict";
module.exports = { // eslint-disable-line no-undef
"extends": "../../../toolkit/components/extensions/.eslintrc.js",
"globals": {
"AllWindowEvents": true,
@ -17,6 +19,4 @@
"WindowListManager": true,
"WindowManager": true,
},
}
};

Просмотреть файл

@ -1,5 +1,7 @@
{
"extends": "../../../../../testing/mochitest/browser.eslintrc",
"use strict";
module.exports = { // eslint-disable-line no-undef
"extends": "../../../../../testing/mochitest/browser.eslintrc.js",
"env": {
"webextensions": true,
@ -26,5 +28,5 @@
"openContextMenu": true,
"openExtensionContextMenu": true,
"CustomizableUI": true,
}
}
},
};

Просмотреть файл

@ -1,7 +0,0 @@
{
"extends": "../../../../../testing/xpcshell/xpcshell.eslintrc",
"globals": {
"browser": false,
},
}

Просмотреть файл

@ -0,0 +1,9 @@
"use strict";
module.exports = { // eslint-disable-line no-undef
"extends": "../../../../../testing/xpcshell/xpcshell.eslintrc.js",
"globals": {
"browser": false,
},
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/mochitest.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/mochitest.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/chrome.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/chrome.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -11,6 +11,7 @@ Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/NetUtil.jsm");
Cu.import("resource://gre/modules/FileUtils.jsm");
Cu.import("resource://gre/modules/Task.jsm");
Cu.import("resource://gre/modules/osfile.jsm");
Cu.import("resource:///modules/MigrationUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "PlacesUtils",

Просмотреть файл

@ -25,7 +25,6 @@ Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/NetUtil.jsm");
Cu.import("resource://gre/modules/FileUtils.jsm");
Cu.import("resource://gre/modules/osfile.jsm");
Cu.import("resource://gre/modules/Console.jsm");
Cu.import("resource://gre/modules/Task.jsm");
Cu.import("resource:///modules/MigrationUtils.jsm");

Просмотреть файл

@ -9,6 +9,7 @@ this.EXPORTED_SYMBOLS = ["MigrationUtils", "MigratorPrototype"];
const { classes: Cc, interfaces: Ci, results: Cr, utils: Cu } = Components;
const TOPIC_WILL_IMPORT_BOOKMARKS = "initial-migration-will-import-default-bookmarks";
const TOPIC_DID_IMPORT_BOOKMARKS = "initial-migration-did-import-default-bookmarks";
const TOPIC_PLACES_DEFAULTS_FINISHED = "places-browser-init-complete";
Cu.import("resource://gre/modules/AppConstants.jsm");
Cu.import("resource://gre/modules/Services.jsm");
@ -323,28 +324,35 @@ this.MigratorPrototype = {
if (MigrationUtils.isStartupMigration && !this.startupOnlyMigrator) {
MigrationUtils.profileStartup.doStartup();
// If we're about to migrate bookmarks, first import the default bookmarks.
// Note We do not need to do so for the Firefox migrator
// First import the default bookmarks.
// Note: We do not need to do so for the Firefox migrator
// (=startupOnlyMigrator), as it just copies over the places database
// from another profile.
const BOOKMARKS = MigrationUtils.resourceTypes.BOOKMARKS;
let migratingBookmarks = resources.some(r => r.type == BOOKMARKS);
if (migratingBookmarks) {
Task.spawn(function* () {
// Tell nsBrowserGlue we're importing default bookmarks.
let browserGlue = Cc["@mozilla.org/browser/browserglue;1"].
getService(Ci.nsIObserver);
browserGlue.observe(null, TOPIC_WILL_IMPORT_BOOKMARKS, "");
// Note doMigrate doesn't care about the success of the import.
let onImportComplete = function() {
browserGlue.observe(null, TOPIC_DID_IMPORT_BOOKMARKS, "");
doMigrate();
};
BookmarkHTMLUtils.importFromURL(
"chrome://browser/locale/bookmarks.html", true).then(
onImportComplete, onImportComplete);
return;
}
// Import the default bookmarks. We ignore whether or not we succeed.
yield BookmarkHTMLUtils.importFromURL(
"chrome://browser/locale/bookmarks.html", true).catch(r => r);
// We'll tell nsBrowserGlue we've imported bookmarks, but before that
// we need to make sure we're going to know when it's finished
// initializing places:
let placesInitedPromise = new Promise(resolve => {
let onPlacesInited = function() {
Services.obs.removeObserver(onPlacesInited, TOPIC_PLACES_DEFAULTS_FINISHED);
resolve();
};
Services.obs.addObserver(onPlacesInited, TOPIC_PLACES_DEFAULTS_FINISHED, false);
});
browserGlue.observe(null, TOPIC_DID_IMPORT_BOOKMARKS, "");
yield placesInitedPromise;
doMigrate();
});
return;
}
doMigrate();
},

Просмотреть файл

@ -425,7 +425,12 @@ var MigrationWizard = {
break;
case "Migration:Ended":
if (this.isInitialMigration) {
this.reportDataRecencyTelemetry();
// Ensure errors in reporting data recency do not affect the rest of the migration.
try {
this.reportDataRecencyTelemetry();
} catch (ex) {
Cu.reportError(ex);
}
}
if (this._autoMigrate) {
let hasImportedHomepage = !!(this._newHomePage && this._newHomePage != "DEFAULT");

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1599,8 +1599,12 @@ BrowserGlue.prototype = {
if (!importBookmarks) {
// Now apply distribution customized bookmarks.
// This should always run after Places initialization.
yield this._distributionCustomizer.applyBookmarks();
yield this.ensurePlacesDefaultQueriesInitialized();
try {
yield this._distributionCustomizer.applyBookmarks();
yield this.ensurePlacesDefaultQueriesInitialized();
} catch (e) {
Cu.reportError(e);
}
}
else {
// An import operation is about to run.
@ -1642,7 +1646,7 @@ BrowserGlue.prototype = {
}
else {
Cu.reportError("Unable to find bookmarks.html file.");
Cu.reportError(new Error("Unable to find bookmarks.html file."));
}
// Reset preferences, so we won't try to import again at next run
@ -1679,7 +1683,7 @@ BrowserGlue.prototype = {
.getHistogramById("PLACES_BACKUPS_DAYSFROMLAST")
.add(backupAge);
} catch (ex) {
Cu.reportError("Unable to report telemetry.");
Cu.reportError(new Error("Unable to report telemetry."));
}
if (backupAge > BOOKMARKS_BACKUP_MAX_INTERVAL_DAYS)
@ -1689,8 +1693,13 @@ BrowserGlue.prototype = {
this._idleService.addIdleObserver(this, this._bookmarksBackupIdleTime);
}
}.bind(this)).catch(ex => {
Cu.reportError(ex);
}).then(() => {
// NB: deliberately after the catch so that we always do this, even if
// we threw halfway through initializing in the Task above.
Services.obs.notifyObservers(null, "places-browser-init-complete", "");
}.bind(this));
});
},
/**

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/chrome.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/chrome.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/xpcshell/xpcshell.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/xpcshell/xpcshell.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +1,7 @@
{
"extends": "../../.eslintrc",
"use strict";
module.exports = { // eslint-disable-line no-undef
"extends": "../../.eslintrc.js",
"globals": {
"Components": true,
@ -333,7 +335,7 @@
"no-inline-comments": 0,
// Disallow use of labels for anything other then loops and switches.
"no-labels": [2, { "allowLoop": true }],
"no-labels": [2, {"allowLoop": true}],
// Disallow use of multiline strings (use template strings instead).
"no-multi-str": 1,
@ -469,5 +471,5 @@
// Disallow creating new instances of String, Number, and Boolean
"no-new-wrappers": 2,
}
}
},
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = { // eslint-disable-line no-undef
"extends": [
"../../../../../testing/mochitest/browser.eslintrc.js",
],
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../../testing/mochitest/browser.eslintrc.js"
]
};

Просмотреть файл

@ -1,5 +0,0 @@
{
"extends": [
"../../../testing/mochitest/browser.eslintrc"
]
}

Просмотреть файл

@ -0,0 +1,7 @@
"use strict";
module.exports = {
"extends": [
"../../../testing/mochitest/browser.eslintrc.js"
]
};

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше