зеркало из 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:
Родитель
b6ba1ab672
Коммит
947665ad52
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче