From 4ba7ead0fe975fa722e8aa9fe4fa777f2873ce5f Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Tue, 8 Nov 2016 16:02:15 +0000 Subject: [PATCH] Bug 1314812 - followup nit: remove obsolete comments, rs=trivial,me,firebot, DONTBUILD MozReview-Commit-ID: 8ElUTOUxEX8 --- browser/base/content/test/general/head.js | 2 -- browser/base/content/test/plugins/head.js | 2 -- browser/components/safebrowsing/content/test/head.js | 2 -- browser/components/search/test/head.js | 2 -- 4 files changed, 8 deletions(-) diff --git a/browser/base/content/test/general/head.js b/browser/base/content/test/general/head.js index d1ad2a930ba4..2b4441a593cd 100644 --- a/browser/base/content/test/general/head.js +++ b/browser/base/content/test/general/head.js @@ -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) diff --git a/browser/base/content/test/plugins/head.js b/browser/base/content/test/plugins/head.js index 24a2218c42d2..4995c4dc68ea 100644 --- a/browser/base/content/test/plugins/head.js +++ b/browser/base/content/test/plugins/head.js @@ -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) diff --git a/browser/components/safebrowsing/content/test/head.js b/browser/components/safebrowsing/content/test/head.js index 396a225c3947..90eef0a3f173 100644 --- a/browser/components/safebrowsing/content/test/head.js +++ b/browser/components/safebrowsing/content/test/head.js @@ -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); diff --git a/browser/components/search/test/head.js b/browser/components/search/test/head.js index c19615aa1f5b..6698f15c0aea 100644 --- a/browser/components/search/test/head.js +++ b/browser/components/search/test/head.js @@ -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)