Bug 1067589 - fix "nargs" value for Debugger clearAllBreakpoints method. r=jimb

This commit is contained in:
Tom Tromey 2014-09-15 14:06:00 +02:00
parent ed630c6a86
commit 17a12c2753
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ function attach(i) {
var handler = {
hit: function (frame) {
hits++;
dbg.clearAllBreakpoints(handler);
dbg.clearAllBreakpoints();
}
};

View File

@ -3009,7 +3009,7 @@ const JSFunctionSpec Debugger::methods[] = {
JS_FN("hasDebuggee", Debugger::hasDebuggee, 1, 0),
JS_FN("getDebuggees", Debugger::getDebuggees, 0, 0),
JS_FN("getNewestFrame", Debugger::getNewestFrame, 0, 0),
JS_FN("clearAllBreakpoints", Debugger::clearAllBreakpoints, 1, 0),
JS_FN("clearAllBreakpoints", Debugger::clearAllBreakpoints, 0, 0),
JS_FN("findScripts", Debugger::findScripts, 1, 0),
JS_FN("findAllGlobals", Debugger::findAllGlobals, 0, 0),
JS_FN("makeGlobalObjectReference", Debugger::makeGlobalObjectReference, 1, 0),