mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1704998 - [remote] Don't use hidden window for WebSocket creation. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D112082
This commit is contained in:
parent
6b13ce2296
commit
a7c720d7c9
@ -15,8 +15,6 @@ const { XPCOMUtils } = ChromeUtils.import(
|
||||
);
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetters(this, {
|
||||
Services: "resource://gre/modules/Services.jsm",
|
||||
|
||||
executeSoon: "chrome://remote/content/shared/Sync.jsm",
|
||||
});
|
||||
|
||||
@ -28,10 +26,6 @@ XPCOMUtils.defineLazyGetter(this, "threadManager", () => {
|
||||
return Cc["@mozilla.org/thread-manager;1"].getService();
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "WebSocket", () => {
|
||||
return Services.appShell.hiddenDOMWindow.WebSocket;
|
||||
});
|
||||
|
||||
// TODO(ato): Merge this with httpd.js so that we can respond to both HTTP/1.1
|
||||
// as well as WebSocket requests on the same server.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user