зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1436389 - Fix space-unary-ops issues picked up by the new version of ESLint. r=mossop
MozReview-Commit-ID: 9yCnRlu2k1a --HG-- extra : rebase_source : fa1d571ddc3aefd66abcf4f884c9669f64e5f230
This commit is contained in:
Родитель
2fd2fd7199
Коммит
ff6299c6be
|
@ -169,6 +169,6 @@ window.talosDebug = {
|
|||
};
|
||||
|
||||
// Enable testing outside of talos by providing an alternative report function.
|
||||
if (typeof (tpRecordTime) === "undefined") {
|
||||
if (typeof(tpRecordTime) === "undefined") {
|
||||
tpRecordTime = window.talosDebug.tpRecordTime;
|
||||
}
|
||||
|
|
|
@ -286,7 +286,7 @@ Damp.prototype = {
|
|||
reloadPage(onReload) {
|
||||
return new Promise(resolve => {
|
||||
let browser = gBrowser.selectedBrowser;
|
||||
if (typeof (onReload) == "function") {
|
||||
if (typeof(onReload) == "function") {
|
||||
onReload().then(resolve);
|
||||
} else {
|
||||
browser.addEventListener("load", resolve, {capture: true, once: true});
|
||||
|
|
Загрузка…
Ссылка в новой задаче