Bug 1530667 - Fix browser_allow_process_switches_despite_related_browser.js timeout. r=Gijs
authorOriol Brufau <oriol-bugzilla@hotmail.com>
Tue, 26 Feb 2019 13:13:25 +0000
changeset 519029 faf6df595f9fb9b4a9a22aeead6c7be64e730049
parent 519028 8a0710c2941558afe04ba413536d3f1590096f03
child 519030 0db3a6976abd4c2af63749e51f37f3c90cff3ee5
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1530667
milestone67.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 1530667 - Fix browser_allow_process_switches_despite_related_browser.js timeout. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D21214
browser/base/content/test/tabs/browser_allow_process_switches_despite_related_browser.js
--- a/browser/base/content/test/tabs/browser_allow_process_switches_despite_related_browser.js
+++ b/browser/base/content/test/tabs/browser_allow_process_switches_despite_related_browser.js
@@ -16,16 +16,17 @@ add_task(async function() {
   BrowserViewSource(tab.linkedBrowser);
   let viewSourceTab = await promiseTab;
   registerCleanupFunction(async function() {
     BrowserTestUtils.removeTab(viewSourceTab);
   });
 
   let dummyPage = getChromeDir(getResolvedURI(gTestPath));
   dummyPage.append(DUMMY_FILE);
+  dummyPage.normalize();
   const uriString = Services.io.newFileURI(dummyPage).spec;
 
   let viewSourceBrowser = viewSourceTab.linkedBrowser;
   let promiseLoad =
     BrowserTestUtils.browserLoaded(viewSourceBrowser, false, uriString);
   BrowserTestUtils.loadURI(viewSourceBrowser, uriString);
   let href = await promiseLoad;
   is(href, uriString,