mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 957057 - refactor import in browser.js to make code easier to understand; r=wesj
--HG-- extra : rebase_source : 4014c863adc713de80975cafef81cdae00f5d09d
This commit is contained in:
parent
143d52de94
commit
18b5f2e31d
@ -11,6 +11,9 @@ Cu.import("resource://gre/modules/NetUtil.jsm");
|
||||
Cu.import("resource://gre/modules/PermissionsInstaller.jsm");
|
||||
Cu.import("resource://gre/modules/PermissionPromptHelper.jsm");
|
||||
Cu.import("resource://gre/modules/ContactService.jsm");
|
||||
#ifdef MOZ_ANDROID_SYNTHAPKS
|
||||
Cu.import("resource://gre/modules/AppsUtils.jsm");
|
||||
#endif
|
||||
|
||||
function pref(name, value) {
|
||||
return {
|
||||
|
@ -381,9 +381,6 @@ var BrowserApp = {
|
||||
// TODO: replace with Android implementation of WebappOSUtils.isLaunchable.
|
||||
Cu.import("resource://gre/modules/Webapps.jsm");
|
||||
DOMApplicationRegistry.allAppsLaunchable = true;
|
||||
|
||||
// TODO: figure out why this is needed here.
|
||||
Cu.import("resource://gre/modules/AppsUtils.jsm");
|
||||
#else
|
||||
WebappsUI.init();
|
||||
#endif
|
||||
|
@ -40,7 +40,7 @@ chrome.jar:
|
||||
content/SelectHelper.js (content/SelectHelper.js)
|
||||
content/SelectionHandler.js (content/SelectionHandler.js)
|
||||
content/dbg-browser-actors.js (content/dbg-browser-actors.js)
|
||||
content/WebAppRT.js (content/WebAppRT.js)
|
||||
* content/WebAppRT.js (content/WebAppRT.js)
|
||||
content/InputWidgetHelper.js (content/InputWidgetHelper.js)
|
||||
content/WebrtcUI.js (content/WebrtcUI.js)
|
||||
content/MemoryObserver.js (content/MemoryObserver.js)
|
||||
|
Loading…
Reference in New Issue
Block a user