Bug 785466: follow-on fix: uncommitted changes to resolve conflicts with bug 694539; no r

This commit is contained in:
Jim Blandy 2012-08-30 14:24:05 -07:00
parent cbf3f0b1fd
commit 05b378d891

View File

@ -188,30 +188,6 @@ const UnsolicitedPauses = {
"watchpoint": "watchpoint"
};
/**
* Set of debug protocol request types that specify the protocol request being
* sent to the server.
*/
const DebugProtocolTypes = {
"assign": "assign",
"attach": "attach",
"clientEvaluate": "clientEvaluate",
"delete": "delete",
"detach": "detach",
"frames": "frames",
"interrupt": "interrupt",
"listTabs": "listTabs",
"nameAndParameters": "nameAndParameters",
"ownPropertyNames": "ownPropertyNames",
"property": "property",
"prototype": "prototype",
"prototypeAndProperties": "prototypeAndProperties",
"resume": "resume",
"scripts": "scripts",
"setBreakpoint": "setBreakpoint",
"substring": "substring"
};
const ROOT_ACTOR_NAME = "root";
/**
@ -1061,7 +1037,7 @@ LongStringClient.prototype = {
*/
substring: function LSC_substring(aStart, aEnd, aCallback) {
let packet = { to: this.actor,
type: DebugProtocolTypes.substring,
type: "substring",
start: aStart,
end: aEnd };
this._client.request(packet, aCallback);