Bug 1244975 - Intermittent e10s browser_ssl_error_reports.js r=past
authorMark Goodwin <mgoodwin@mozilla.com>
Thu, 03 Mar 2016 11:43:08 +0000
changeset 323017 5eeaf7d11d021cd1ed51665b379a443caec4cb0a
parent 323016 185b5f9f98f5bf27e06d79d99c0e26225ba8791b
child 323018 a5d2e586777cdef660d7e625a5253669fd8b33ec
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspast
bugs1244975
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1244975 - Intermittent e10s browser_ssl_error_reports.js r=past MozReview-Commit-ID: H3bYTOmIx36
browser/base/content/test/general/browser_ssl_error_reports.js
--- a/browser/base/content/test/general/browser_ssl_error_reports.js
+++ b/browser/base/content/test/general/browser_ssl_error_reports.js
@@ -61,16 +61,17 @@ function* testSendReportAutomatically(te
 
   // Add a tab and wait until it's loaded.
   let tab = yield BrowserTestUtils.openNewForegroundTab(gBrowser, "about:blank");
   let browser = tab.linkedBrowser;
 
   // Load the page and wait for the error report submission.
   let promiseStatus = createReportResponseStatusPromise(URL_REPORTS + suffix);
   browser.loadURI(testURL);
+  yield promiseErrorPageLoaded(browser);
 
   ok(!isErrorStatus(yield promiseStatus),
      "SSL error report submitted successfully");
 
   // Check that we loaded the right error page.
   yield checkErrorPage(browser, errorURISuffix);
 
   // Cleanup.