зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1368072 - Use idleDispatchToMainThread instead. r=ato
Adapt to the move of nsIThread.idleDispatch to nsIThreadManager.idleDispatchToMainThread.
This commit is contained in:
Родитель
36c8d2c7f7
Коммит
a89aab3e1d
|
@ -251,9 +251,9 @@ MarionetteComponent.prototype.init = function () {
|
|||
}
|
||||
|
||||
// Delay initialization until we are done with delayed startup...
|
||||
Services.tm.mainThread.idleDispatch(() => {
|
||||
Services.tm.idleDispatchToMainThread(() => {
|
||||
// ... and with startup tests.
|
||||
Services.tm.mainThread.idleDispatch(() => {
|
||||
Services.tm.idleDispatchToMainThread(() => {
|
||||
let s;
|
||||
try {
|
||||
Cu.import("chrome://marionette/content/server.js");
|
||||
|
|
Загрузка…
Ссылка в новой задаче