mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 769737 Add nsIFocusManager to Services.jsm r=gavin.
This commit is contained in:
parent
722f092a13
commit
3296fb9b89
@ -61,7 +61,8 @@ let initTable = [
|
||||
["startup", "@mozilla.org/toolkit/app-startup;1", "nsIAppStartup"],
|
||||
["sysinfo", "@mozilla.org/system-info;1", "nsIPropertyBag2"],
|
||||
["clipboard", "@mozilla.org/widget/clipboard;1", "nsIClipboard"],
|
||||
["DOMRequest", "@mozilla.org/dom/dom-request-service;1", "nsIDOMRequestService"]
|
||||
["DOMRequest", "@mozilla.org/dom/dom-request-service;1", "nsIDOMRequestService"],
|
||||
["focus", "@mozilla.org/focus-manager;1", "nsIFocusManager"],
|
||||
];
|
||||
|
||||
initTable.forEach(function ([name, contract, intf])
|
||||
|
@ -44,4 +44,13 @@ function checkServices() {
|
||||
checkService("telemetry", Ci.nsITelemetry);
|
||||
checkService("sysinfo", Ci.nsIPropertyBag2);
|
||||
checkService("clipboard", Ci.nsIClipboard);
|
||||
checkService("console", Ci.nsIConsoleService);
|
||||
checkService("startup", Ci.nsIAppStartup);
|
||||
checkService("appShell", Ci.nsIAppShellService);
|
||||
checkService("cache", Ci.nsICacheService);
|
||||
checkService("scriptSecurityManager", Ci.nsIScriptSecurityManager);
|
||||
checkService("domStorageManager", Ci.nsIDOMStorageManager);
|
||||
checkService("DOMRequest", Ci.nsIDOMRequestService);
|
||||
checkService("downloads", Ci.nsIDownloadManager);
|
||||
checkService("focus", Ci.nsIFocusManager);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user