Closed Bug 1064961 Opened 10 years ago Closed 10 years ago

undocumented Debugger methods

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: tromey, Assigned: tromey)

Details

Attachments

(1 file, 1 obsolete file)

The methods Debugger.addAllGlobalsAsDebuggees and Debugger.removeAllDebuggees
are in Debugger.cpp but are not documented in Debugger.md.
Assignee: nobody → ttromey
Status: NEW → ASSIGNED
Comment on attachment 8488753 [details] [diff] [review]
document Debugger.addAllGlobalsAsDebuggees and Debugger.removeAllDebuggees

Review of attachment 8488753 [details] [diff] [review]:
-----------------------------------------------------------------

This looks great - thank you very much! Just one issue to address:

::: js/src/doc/Debugger/Debugger.md
@@ +260,5 @@
> +
> +    If this debugger is [tracking allocation sites][tracking-allocs] and cannot
> +    track allocation sites for some global, this method throws an `Error`.
> +    Otherwise this method returns `undefined`.
> +

I think we need a "WHOA NELLY NOT VERY CAPABILITY" warning for this function too, similar to the one that appears at the end of the description for onNewGlobalObject, above. Naturally, feel free to crib language from that as appropriate.
Attachment #8488753 - Flags: review?(jimb)
Attachment #8488753 - Attachment is obsolete: true
Comment on attachment 8489525 [details] [diff] [review]
document Debugger.addAllGlobalsAsDebuggees and Debugger.removeAllDebuggees

Review of attachment 8489525 [details] [diff] [review]:
-----------------------------------------------------------------

Perfect, thank you very much!
Attachment #8489525 - Flags: review?(jimb) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/fc1ebbd01377
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: