mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 817463 - Disable loading the homepage for per-window private browsing tests; r=jdm
DONTBUILD since this is NPOTB in global PB builds
This commit is contained in:
parent
5ea19151aa
commit
004363949a
@ -44,3 +44,12 @@ function clearHistory() {
|
||||
// simulate clearing the private data
|
||||
Services.obs.notifyObservers(null, "browser:purge-session-history", "");
|
||||
}
|
||||
|
||||
function _initTest() {
|
||||
// Don't use about:home as the homepage for new windows
|
||||
Services.prefs.setIntPref("browser.startup.page", 0);
|
||||
registerCleanupFunction(function() Services.prefs.clearUserPref("browser.startup.page"));
|
||||
}
|
||||
|
||||
_initTest();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user