Backed out changeset 59d4978e8726 (bug 1289723) for eslint failure

This commit is contained in:
Carsten "Tomcat" Book 2017-02-21 12:11:04 +01:00
Родитель c841558f8e
Коммит 70d5eceb33
2 изменённых файлов: 6 добавлений и 9 удалений

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

@ -13,6 +13,7 @@ const PAGE_2 = "data:text/html,<html><body>Another%20regular,%20everyday,%20norm
add_task(function* test_initialize() {
yield SpecialPowers.pushPrefEnv({
set: [
[ "dom.ipc.processCount", 1 ],
[ "browser.tabs.animate", false]
] });
});
@ -240,7 +241,7 @@ add_task(function* test_revive_tab_from_session_store() {
browser.loadURI(PAGE_1);
yield promiseBrowserLoaded(browser);
let newTab2 = gBrowser.addTab("about:blank", { sameProcessAsFrameLoader: browser.frameLoader });
let newTab2 = gBrowser.addTab();
let browser2 = newTab2.linkedBrowser;
ok(browser2.isRemoteBrowser, "Should be a remote browser");
yield promiseBrowserLoaded(browser2);
@ -297,7 +298,7 @@ add_task(function* test_revive_all_tabs_from_session_store() {
// a second window, since only selected tabs will show
// about:tabcrashed.
let win2 = yield BrowserTestUtils.openNewBrowserWindow();
let newTab2 = win2.gBrowser.addTab(PAGE_1, { sameProcessAsFrameLoader: browser.frameLoader });
let newTab2 = win2.gBrowser.addTab(PAGE_1);
win2.gBrowser.selectedTab = newTab2;
let browser2 = newTab2.linkedBrowser;
ok(browser2.isRemoteBrowser, "Should be a remote browser");
@ -404,7 +405,7 @@ add_task(function* test_hide_restore_all_button() {
// Load up a second window so we can get another tab to show
// about:tabcrashed
let win2 = yield BrowserTestUtils.openNewBrowserWindow();
let newTab3 = win2.gBrowser.addTab(PAGE_2, { sameProcessAsFrameLoader: browser.frameLoader });
let newTab3 = win2.gBrowser.addTab(PAGE_2);
win2.gBrowser.selectedTab = newTab3;
let otherWinBrowser = newTab3.linkedBrowser;
yield promiseBrowserLoaded(otherWinBrowser);

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

@ -190,9 +190,7 @@
let changed = val.toFixed(2) != this._fullZoom.toFixed(2);
this._fullZoom = val;
try {
this.messageManager.sendAsyncMessage("FullZoom", {value: val});
} catch(ex) {}
this.messageManager.sendAsyncMessage("FullZoom", {value: val});
if (changed) {
let event = new Event("FullZoomChange", {bubbles: true});
@ -210,9 +208,7 @@
let changed = val.toFixed(2) != this._textZoom.toFixed(2);
this._textZoom = val;
try {
this.messageManager.sendAsyncMessage("TextZoom", {value: val});
} catch(ex) {}
this.messageManager.sendAsyncMessage("TextZoom", {value: val});
if (changed) {
let event = new Event("TextZoomChange", {bubbles: true});