Bug 1209702 - Remove references to vestigial/unimplemented forceCompletion in ThreadActor r=fitzgen

This commit is contained in:
Jordan Santell 2015-09-29 17:11:36 -07:00
parent 6845897cb7
commit 0e15a46b83

View File

@ -755,22 +755,6 @@ 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);
@ -1012,10 +996,6 @@ ThreadActor.prototype = {
};
}
if (aRequest && aRequest.forceCompletion) {
return this._forceCompletion(aRequest);
}
let resumeLimitHandled;
if (aRequest && aRequest.resumeLimit) {
resumeLimitHandled = this._handleResumeLimit(aRequest)