зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW --HG-- extra : rebase_source : 0c2636114a2a44017b0f8af749025d7465cfb906
This commit is contained in:
Родитель
75f2f4a109
Коммит
def4adbffc
|
@ -14,7 +14,6 @@ var { DebuggerClient } = require("devtools/shared/client/main");
|
|||
var { DebuggerServer } = require("devtools/server/main");
|
||||
var { CallWatcherFront } = require("devtools/shared/fronts/call-watcher");
|
||||
var { CanvasFront } = require("devtools/shared/fronts/canvas");
|
||||
var { setTimeout } = require("sdk/timers");
|
||||
var DevToolsUtils = require("devtools/shared/DevToolsUtils");
|
||||
var flags = require("devtools/shared/flags");
|
||||
var { TargetFactory } = require("devtools/client/framework/target");
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
// On debug test runner, it takes about 50s to run the test.
|
||||
requestLongerTimeout(4);
|
||||
|
||||
const { setInterval, clearInterval } = require("sdk/timers");
|
||||
const { fetch } = require("devtools/shared/DevToolsUtils");
|
||||
|
||||
const debuggerHeadURL = CHROME_URL_ROOT + "../../debugger/new/test/mochitest/head.js";
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"use strict";
|
||||
|
||||
const { PromisesFront } = require("devtools/shared/fronts/promises");
|
||||
const { setTimeout } = require("sdk/timers");
|
||||
const { setTimeout } = Cu.import("resource://gre/modules/Timer.jsm", {});
|
||||
|
||||
var events = require("sdk/event/core");
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ const Services = require("Services");
|
|||
const defer = require("devtools/shared/defer");
|
||||
const EventEmitter = require("devtools/shared/event-emitter");
|
||||
const discovery = require("devtools/shared/discovery/discovery");
|
||||
const { setTimeout, clearTimeout } = require("sdk/timers");
|
||||
const { setTimeout, clearTimeout } = Cu.import("resource://gre/modules/Timer.jsm", {});
|
||||
|
||||
Services.prefs.setBoolPref("devtools.discovery.log", true);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче