mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1314812 - followup nit: remove obsolete comments, rs=trivial,me,firebot, DONTBUILD
MozReview-Commit-ID: 8ElUTOUxEX8
This commit is contained in:
parent
eb1fcc9de6
commit
4ba7ead0fe
@ -628,8 +628,6 @@ function promiseTabLoadEvent(tab, url)
|
||||
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);
|
||||
|
||||
if (url)
|
||||
|
@ -90,8 +90,6 @@ function promiseTabLoadEvent(tab, url) {
|
||||
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);
|
||||
|
||||
if (url)
|
||||
|
@ -33,8 +33,6 @@ function promiseTabLoadEvent(tab, url, eventType="load")
|
||||
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;
|
||||
if (eventType === "load") {
|
||||
loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
|
||||
|
@ -112,8 +112,6 @@ function promiseTabLoadEvent(tab, url)
|
||||
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);
|
||||
|
||||
if (url)
|
||||
|
Loading…
Reference in New Issue
Block a user