зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1483350 - Fix some control logic bugs, r=loganfsmyth.
--HG-- extra : rebase_source : 28501766085216f8e731a0ea205a80eea069a798
This commit is contained in:
Родитель
b818dcba2c
Коммит
d8aca5bfb7
|
@ -274,6 +274,13 @@ ChildProcess.prototype = {
|
|||
},
|
||||
});
|
||||
this.asyncManifests.shift();
|
||||
|
||||
// If this is the active child then we shouldn't leave it in an unpaused
|
||||
// state, so callers can interact with it as expected.
|
||||
if (this == gActiveChild) {
|
||||
this.waitUntilPaused();
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
};
|
||||
|
@ -1214,7 +1221,9 @@ const gControl = {
|
|||
pauseReplayingChild(gPausePoint);
|
||||
gActiveChild.sendManifest({
|
||||
contents: { kind: "batchDebuggerRequest", requests: gDebuggerRequests },
|
||||
onFinished(finishData) { assert(!finishData.restoredCheckpoint); },
|
||||
onFinished(finishData) {
|
||||
assert(!finishData || !finishData.restoredCheckpoint);
|
||||
},
|
||||
});
|
||||
gActiveChild.waitUntilPaused();
|
||||
return { unhandledDivergence: true };
|
||||
|
|
Загрузка…
Ссылка в новой задаче