diff --git a/devtools/client/framework/toolbox.js b/devtools/client/framework/toolbox.js index 76707547649f..c09b2de92f8c 100644 --- a/devtools/client/framework/toolbox.js +++ b/devtools/client/framework/toolbox.js @@ -15,7 +15,7 @@ const SCREENSIZE_HISTOGRAM = "DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER"; const CURRENT_THEME_SCALAR = "devtools.current_theme"; const HTML_NS = "http://www.w3.org/1999/xhtml"; -var {Ci, Cu, Cc} = require("chrome"); +var {Ci, Cc} = require("chrome"); var promise = require("promise"); var defer = require("devtools/shared/defer"); var Services = require("Services"); diff --git a/devtools/shared/client/breakpoint-client.js b/devtools/shared/client/breakpoint-client.js index 74bdd0e0c212..e77b1035c121 100644 --- a/devtools/shared/client/breakpoint-client.js +++ b/devtools/shared/client/breakpoint-client.js @@ -4,7 +4,6 @@ "use strict"; -const { Cu } = require("chrome"); const promise = require("devtools/shared/deprecated-sync-thenables"); const eventSource = require("devtools/shared/client/event-source"); diff --git a/devtools/shared/client/debugger-client.js b/devtools/shared/client/debugger-client.js index 76e6412ad0f1..3b180ad0cca4 100644 --- a/devtools/shared/client/debugger-client.js +++ b/devtools/shared/client/debugger-client.js @@ -4,7 +4,6 @@ "use strict"; -const { Cu } = require("chrome"); const Services = require("Services"); const promise = require("devtools/shared/deprecated-sync-thenables"); diff --git a/devtools/shared/client/tab-client.js b/devtools/shared/client/tab-client.js index 5b24c04cbb06..586dd3e9506c 100644 --- a/devtools/shared/client/tab-client.js +++ b/devtools/shared/client/tab-client.js @@ -4,7 +4,6 @@ "use strict"; -const { Cu } = require("chrome"); const promise = require("devtools/shared/deprecated-sync-thenables"); const DevToolsUtils = require("devtools/shared/DevToolsUtils"); diff --git a/devtools/shared/client/thread-client.js b/devtools/shared/client/thread-client.js index f15b2ad13472..7d3b9e0e085c 100644 --- a/devtools/shared/client/thread-client.js +++ b/devtools/shared/client/thread-client.js @@ -4,7 +4,6 @@ "use strict"; -const { Cu } = require("chrome"); const promise = require("devtools/shared/deprecated-sync-thenables"); const DevToolsUtils = require("devtools/shared/DevToolsUtils"); diff --git a/devtools/shared/webconsole/throttle.js b/devtools/shared/webconsole/throttle.js index dee336f88677..f2e06f372a7f 100644 --- a/devtools/shared/webconsole/throttle.js +++ b/devtools/shared/webconsole/throttle.js @@ -6,7 +6,7 @@ "use strict"; -const {CC, Ci, Cu, Cc} = require("chrome"); +const {CC, Ci, Cc} = require("chrome"); const ArrayBufferInputStream = CC("@mozilla.org/io/arraybuffer-input-stream;1", "nsIArrayBufferInputStream");