Closed Bug 832499 Opened 12 years ago Closed 7 years ago

browser-chrome mochitests sometimes (?) redirect loads to unexpected pages

Categories

(Testing :: Mochitest, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: froydnj, Unassigned)

References

(Blocks 1 open bug)

Details

I built mozilla-central from a clean tree and ran: TEST_PATH=browser/base/content/test/browser_save_link-perwindowpb.js make mochitest-browser-chrome from inside my build directory, no packaging steps or anything. This test opens a new window and then navigates to a given page as its first steps. Except that for some reason, new tabs are being opened pointed to: http://www.mozilla.org/projects/firefox/21.0a1/firstrun/ which, as you might expect, causes problems. I don't understand why this is. I've checked that the appropriate preference files are being read and e.g. browser.startup.page is set correctly (to 0) in the pref files. But inspecting values with about:config, browser.startup.page is 1. Setting startup.homepage_override_url and startup.homepage_welcome_url to about:blank in automation.py.in appears to DTRT, but AFAICS such steps shouldn't be necessary.
It may be worth looking at the differences between running a single test versus multiple ones.
(In reply to Josh Matthews [:jdm] from comment #1) > It may be worth looking at the differences between running a single test > versus multiple ones. That's interesting. Why would that make a difference?
I don't know, but I don't think I see this problem when running multiple tests. I might be misremembering, however.
Mass closing mochitest bugs that haven't had activity in the past 5 years. Please re-open or file a new bug with modern context if this is still relevant.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.