зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1314812 - followup nit: remove obsolete comments, rs=trivial,me,firebot, DONTBUILD
MozReview-Commit-ID: 8ElUTOUxEX8
This commit is contained in:
Родитель
eb1fcc9de6
Коммит
4ba7ead0fe
|
@ -628,8 +628,6 @@ function promiseTabLoadEvent(tab, url)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create two promises: one resolved from the content process when the page
|
|
||||||
// loads and one that is rejected if we take too long to load the url.
|
|
||||||
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
||||||
|
|
||||||
if (url)
|
if (url)
|
||||||
|
|
|
@ -90,8 +90,6 @@ function promiseTabLoadEvent(tab, url) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create two promises: one resolved from the content process when the page
|
|
||||||
// loads and one that is rejected if we take too long to load the url.
|
|
||||||
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
||||||
|
|
||||||
if (url)
|
if (url)
|
||||||
|
|
|
@ -33,8 +33,6 @@ function promiseTabLoadEvent(tab, url, eventType="load")
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create two promises: one resolved from the content process when the page
|
|
||||||
// loads and one that is rejected if we take too long to load the url.
|
|
||||||
let loaded;
|
let loaded;
|
||||||
if (eventType === "load") {
|
if (eventType === "load") {
|
||||||
loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
||||||
|
|
|
@ -112,8 +112,6 @@ function promiseTabLoadEvent(tab, url)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create two promises: one resolved from the content process when the page
|
|
||||||
// loads and one that is rejected if we take too long to load the url.
|
|
||||||
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
||||||
|
|
||||||
if (url)
|
if (url)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче