mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 1067589 - fix "nargs" value for Debugger clearAllBreakpoints method. r=jimb
This commit is contained in:
parent
0c06648d5e
commit
fddbc918e0
@ -8,7 +8,7 @@ function attach(i) {
|
||||
var handler = {
|
||||
hit: function (frame) {
|
||||
hits++;
|
||||
dbg.clearAllBreakpoints(handler);
|
||||
dbg.clearAllBreakpoints();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user