mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1013094 - Rename browser.manifestURL and browser.homescreenURL, r=fabrice
This commit is contained in:
parent
c670e13024
commit
8b90d9d66e
@ -221,11 +221,11 @@ var shell = {
|
||||
return homeSrc;
|
||||
} catch (e) {}
|
||||
|
||||
return Services.prefs.getCharPref('browser.homescreenURL');
|
||||
return Services.prefs.getCharPref('b2g.system_startup_url');
|
||||
},
|
||||
|
||||
get manifestURL() {
|
||||
return Services.prefs.getCharPref('browser.manifestURL');
|
||||
return Services.prefs.getCharPref('b2g.system_manifest_url');
|
||||
},
|
||||
|
||||
_started: false,
|
||||
|
@ -826,7 +826,7 @@ ContentParent::CreateBrowserOrApp(const TabContext& aContext,
|
||||
aFrameElement->GetAttr(kNameSpaceID_None,
|
||||
nsGkAtoms::parentapp, parentAppManifestURL);
|
||||
nsAdoptingString systemAppManifestURL =
|
||||
Preferences::GetString("browser.manifestURL");
|
||||
Preferences::GetString("b2g.system_manifest_url");
|
||||
nsCOMPtr<nsIAppsService> appsService =
|
||||
do_GetService(APPS_SERVICE_CONTRACTID);
|
||||
if (!parentAppManifestURL.IsEmpty() &&
|
||||
|
@ -105,8 +105,8 @@ class B2GDesktopReftest(RefTest):
|
||||
prefs = {}
|
||||
# Turn off the locale picker screen
|
||||
prefs["browser.firstrun.show.localepicker"] = False
|
||||
prefs["browser.homescreenURL"] = "app://test-container.gaiamobile.org/index.html"
|
||||
prefs["browser.manifestURL"] = "app://test-container.gaiamobile.org/manifest.webapp"
|
||||
prefs["b2g.system_startup_url"] = "app://test-container.gaiamobile.org/index.html"
|
||||
prefs["b2g.system_manifest_url"] = "app://test-container.gaiamobile.org/manifest.webapp"
|
||||
prefs["browser.tabs.remote"] = False
|
||||
prefs["dom.ipc.tabs.disabled"] = False
|
||||
prefs["dom.mozBrowserFramesEnabled"] = True
|
||||
|
@ -261,7 +261,7 @@ this.OnRefTestLoad = function OnRefTestLoad(win)
|
||||
if (gBrowserIsIframe) {
|
||||
gBrowser = gContainingWindow.document.createElementNS(XHTML_NS, "iframe");
|
||||
gBrowser.setAttribute("mozbrowser", "");
|
||||
gBrowser.setAttribute("mozapp", prefs.getCharPref("browser.manifestURL"));
|
||||
gBrowser.setAttribute("mozapp", prefs.getCharPref("b2g.system_manifest_url"));
|
||||
} else {
|
||||
gBrowser = gContainingWindow.document.createElementNS(XUL_NS, "xul:browser");
|
||||
}
|
||||
|
@ -423,8 +423,8 @@ class B2GRemoteReftest(RefTest):
|
||||
|
||||
# Turn off the locale picker screen
|
||||
prefs["browser.firstrun.show.localepicker"] = False
|
||||
prefs["browser.homescreenURL"] = "app://test-container.gaiamobile.org/index.html"
|
||||
prefs["browser.manifestURL"] = "app://test-container.gaiamobile.org/manifest.webapp"
|
||||
prefs["b2g.system_startup_url"] = "app://test-container.gaiamobile.org/index.html"
|
||||
prefs["b2g.system_manifest_url"] = "app://test-container.gaiamobile.org/manifest.webapp"
|
||||
prefs["browser.tabs.remote"] = False
|
||||
prefs["dom.ipc.tabs.disabled"] = False
|
||||
prefs["dom.mozBrowserFramesEnabled"] = True
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Prefs specific to b2g mochitests
|
||||
|
||||
user_pref("browser.homescreenURL","app://test-container.gaiamobile.org/index.html");
|
||||
user_pref("browser.manifestURL","app://test-container.gaiamobile.org/manifest.webapp");
|
||||
user_pref("b2g.system_startup_url","app://test-container.gaiamobile.org/index.html");
|
||||
user_pref("b2g.system_manifest_url","app://test-container.gaiamobile.org/manifest.webapp");
|
||||
user_pref("dom.mozBrowserFramesEnabled", "%(OOP)s");
|
||||
user_pref("dom.ipc.tabs.disabled", false);
|
||||
user_pref("dom.ipc.browser_frames.oop_by_default", false);
|
||||
|
Loading…
Reference in New Issue
Block a user