mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1196047 - Move system.js to devtools/shared. r=jsantell
This commit is contained in:
parent
7e6649d127
commit
b288f6f396
@ -59,7 +59,7 @@ loader.lazyRequireGetter(this, "showDoorhanger",
|
||||
loader.lazyRequireGetter(this, "createPerformanceFront",
|
||||
"devtools/server/actors/performance", true);
|
||||
loader.lazyRequireGetter(this, "system",
|
||||
"devtools/shared/shared/system");
|
||||
"devtools/shared/system");
|
||||
loader.lazyGetter(this, "osString", () => {
|
||||
return Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS;
|
||||
});
|
||||
|
@ -24,7 +24,7 @@ loader.lazyRequireGetter(this, "EventEmitter",
|
||||
loader.lazyRequireGetter(this, "DevToolsUtils",
|
||||
"devtools/shared/DevToolsUtils");
|
||||
loader.lazyRequireGetter(this, "system",
|
||||
"devtools/shared/shared/system");
|
||||
"devtools/shared/system");
|
||||
|
||||
// Logic modules
|
||||
|
||||
|
@ -9,7 +9,7 @@ var appConstants;
|
||||
// available in xpcshell tests. This is ok, we can easily polyfill the
|
||||
// values that we need.
|
||||
try {
|
||||
const system = devtools.require("devtools/shared/shared/system");
|
||||
const system = devtools.require("devtools/shared/system");
|
||||
appConstants = system.constants;
|
||||
}
|
||||
catch(e) {
|
||||
|
@ -9,7 +9,7 @@ const {method, RetVal} = protocol;
|
||||
const promise = require("promise");
|
||||
const {LongStringActor} = require("devtools/server/actors/string");
|
||||
const {DebuggerServer} = require("devtools/server/main");
|
||||
const {getSystemInfo, getSetting} = require("devtools/shared/shared/system");
|
||||
const {getSystemInfo, getSetting} = require("devtools/shared/system");
|
||||
|
||||
Cu.import("resource://gre/modules/PermissionsTable.jsm")
|
||||
|
||||
|
@ -23,7 +23,7 @@ loader.lazyRequireGetter(this, "normalizePerformanceFeatures",
|
||||
loader.lazyRequireGetter(this, "LegacyPerformanceFront",
|
||||
"devtools/shared/performance/legacy/front", true);
|
||||
loader.lazyRequireGetter(this, "getSystemInfo",
|
||||
"devtools/shared/shared/system", true);
|
||||
"devtools/shared/system", true);
|
||||
|
||||
const PIPE_TO_FRONT_EVENTS = new Set([
|
||||
"recording-started", "recording-stopping", "recording-stopped",
|
||||
|
@ -44,5 +44,6 @@ DevToolsModules(
|
||||
'Loader.jsm',
|
||||
'output-parser.js',
|
||||
'path.js',
|
||||
'system.js',
|
||||
'worker-loader.js',
|
||||
)
|
||||
|
@ -24,7 +24,7 @@ loader.lazyRequireGetter(this, "DevToolsUtils",
|
||||
loader.lazyRequireGetter(this, "getDeviceFront",
|
||||
"devtools/server/actors/device", true);
|
||||
loader.lazyRequireGetter(this, "getSystemInfo",
|
||||
"devtools/shared/shared/system", true);
|
||||
"devtools/shared/system", true);
|
||||
loader.lazyRequireGetter(this, "events",
|
||||
"sdk/event/core");
|
||||
loader.lazyRequireGetter(this, "EventTarget",
|
||||
|
@ -32,7 +32,7 @@ loader.lazyRequireGetter(this, "mapRecordingOptions",
|
||||
loader.lazyRequireGetter(this, "DevToolsUtils",
|
||||
"devtools/shared/DevToolsUtils");
|
||||
loader.lazyRequireGetter(this, "getSystemInfo",
|
||||
"devtools/shared/shared/system", true);
|
||||
"devtools/shared/system", true);
|
||||
|
||||
const PROFILER_EVENTS = [
|
||||
"console-api-profiler",
|
||||
|
@ -13,7 +13,6 @@ DevToolsModules(
|
||||
'indentation.js',
|
||||
'memory.js',
|
||||
'profiler.js',
|
||||
'system.js',
|
||||
'timeline.js',
|
||||
'worker-helper.js',
|
||||
'worker.js'
|
||||
|
Loading…
Reference in New Issue
Block a user