зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 04d495a253a9 (bug 1209702) for linux 64 static build failures
This commit is contained in:
Родитель
a3eed2c9c6
Коммит
7ad31ba897
|
@ -755,6 +755,22 @@ ThreadActor.prototype = {
|
|||
return this._tabClosed ? null : undefined;
|
||||
},
|
||||
|
||||
/**
|
||||
* Handle resume requests that include a forceCompletion request.
|
||||
*
|
||||
* @param Object aRequest
|
||||
* The request packet received over the RDP.
|
||||
* @returns A response packet.
|
||||
*/
|
||||
_forceCompletion: function (aRequest) {
|
||||
// TODO: remove this when Debugger.Frame.prototype.pop is implemented in
|
||||
// bug 736733.
|
||||
return {
|
||||
error: "notImplemented",
|
||||
message: "forced completion is not yet implemented."
|
||||
};
|
||||
},
|
||||
|
||||
_makeOnEnterFrame: function ({ pauseAndRespond }) {
|
||||
return aFrame => {
|
||||
const generatedLocation = this.sources.getFrameLocation(aFrame);
|
||||
|
@ -996,6 +1012,10 @@ ThreadActor.prototype = {
|
|||
};
|
||||
}
|
||||
|
||||
if (aRequest && aRequest.forceCompletion) {
|
||||
return this._forceCompletion(aRequest);
|
||||
}
|
||||
|
||||
let resumeLimitHandled;
|
||||
if (aRequest && aRequest.resumeLimit) {
|
||||
resumeLimitHandled = this._handleResumeLimit(aRequest)
|
||||
|
|
Загрузка…
Ссылка в новой задаче