Bug 1162614 - fix incorrect function name in Debugger.Script.md; DONTBUILD, r=tromey
authormanikishanghantasala <manikishanghantasala@gmail.com>
Tue, 05 Dec 2017 08:37:12 -0700
changeset 395060 1eba7de6b45044c5a01ba68441cb86b1cccf1e03
parent 395059 7cc99d649d75d7f476b659b8a6570a3eb0ca927a
child 395061 ebd3b45ce2f4ba0151971a33f92a46b13442971e
push id56574
push userttromey@mozilla.com
push dateTue, 05 Dec 2017 15:45:21 +0000
treeherderautoland@1eba7de6b450 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstromey
bugs1162614
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1162614 - fix incorrect function name in Debugger.Script.md; DONTBUILD, r=tromey MozReview-Commit-ID: EHjdqDxMXyC
js/src/doc/Debugger/Debugger.Script.md
--- a/js/src/doc/Debugger/Debugger.Script.md
+++ b/js/src/doc/Debugger/Debugger.Script.md
@@ -349,17 +349,17 @@ methods of other kinds of objects.
 :   **If the instance refers to a `JSScript`**, return an array containing the
     handler objects for all the breakpoints set at <i>offset</i> in this
     script. If <i>offset</i> is omitted, return the handlers of all
     breakpoints set anywhere in this script. If <i>offset</i> is present, but
     not a valid offset in this script, throw an error.
 
     **If the instance refers to WebAssembly code**, throw a `TypeError`.
 
-<code>clearBreakpoints(handler, [<i>offset</i>])</code>
+<code>clearBreakpoint(handler, [<i>offset</i>])</code>
 :   **If the instance refers to a `JSScript`**, remove all breakpoints set in
     this [`Debugger`][debugger-object] instance that use <i>handler</i> as
     their handler. If <i>offset</i> is given, remove only those breakpoints
     set at <i>offset</i> that use <i>handler</i>; if <i>offset</i> is not a
     valid offset in this script, throw an error.
 
     Note that, if breakpoints using other handler objects are set at the
     same location(s) as <i>handler</i>, they remain in place.