Bug 1530893 - Fix browser_new_web_tab_in_file_process_pref.js timeout. r=Gijs
authorOriol Brufau <oriol-bugzilla@hotmail.com>
Fri, 01 Mar 2019 00:17:53 +0000
changeset 519725 345dfcf7d76f3ad82f46903e30b65c889cdbf310
parent 519724 51ffa59f14882531251a889b57ed73530c8997ac
child 519726 10573099f3bcc66c2167feee815d01a03e902a37
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
bugs1530893
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 1530893 - Fix browser_new_web_tab_in_file_process_pref.js timeout. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D21307
browser/base/content/test/tabs/browser_new_web_tab_in_file_process_pref.js
--- a/browser/base/content/test/tabs/browser_new_web_tab_in_file_process_pref.js
+++ b/browser/base/content/test/tabs/browser_new_web_tab_in_file_process_pref.js
@@ -25,16 +25,17 @@ add_task(async function() {
     {set: [["browser.tabs.remote.separateFileUriProcess", true],
            ["browser.tabs.remote.allowLinkedWebInFileUriProcess", true],
            ["browser.tabs.remote.useHTTPResponseProcessSelection", false],
            ["dom.ipc.processCount.file", 2]]});
 
   // Open file:// page.
   let dir = getChromeDir(getResolvedURI(gTestPath));
   dir.append(TEST_FILE);
+  dir.normalize();
   const uriString = Services.io.newFileURI(dir).spec;
   await BrowserTestUtils.withNewTab(uriString, async function(fileBrowser) {
     // Get the file:// URI pid for comparison later.
     let filePid = await ContentTask.spawn(fileBrowser, null, () => {
       return Services.appinfo.processID;
     });
 
     // Check that http tab opened from JS in file:// page is in same process.