зеркало из https://github.com/mozilla/gecko-dev.git
Call eval() in Sync-async loop to work around crashes on 1.9.2 Fennec.
This commit is contained in:
Родитель
86667667bd
Коммит
08eb7e1a48
|
@ -118,7 +118,8 @@ function Sync(func, thisArg, callback) {
|
|||
// Keep waiting until our callback is triggered
|
||||
let callbackData = instanceCallback._(SECRET);
|
||||
while (callbackData.state == CB_READY)
|
||||
thread.processNextEvent(true);
|
||||
// XXX Work around bug 518220 until jit.chrome doesn't crash Fennec
|
||||
eval(), thread.processNextEvent(true);
|
||||
|
||||
// Reset the state of the callback to prepare for another call
|
||||
let state = callbackData.state;
|
||||
|
|
Загрузка…
Ссылка в новой задаче