Open
Bug 1267436
Opened 9 years ago
Updated 2 years ago
Rust API for Debugger instances
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jimb, Unassigned)
References
(Blocks 2 open bugs)
Details
So that Servo can use SpiderMonkey's debugging API, SpiderMonkey should provide a Rust API for working with Debugger instances.
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Can you detail what do you mean by a "Rust API", from what I understand the Debugger API is made to be used from JS, how would it be different? Is there any reasons to have a different API for Servo than the one we used for Gecko?
Comment 2•9 years ago
|
||
I certainly don't intent to ask a Rust API directly in SpiderMonkey, but I would like us to avoid having to host JS code to debug JS code. Given that the Debugger API is written in C++, it makes sense to me that we should be able to use it directly from C++.
Comment 3•9 years ago
|
||
(In reply to Nicolas B. Pierron [:nbp] from comment #1)
> Can you detail what do you mean by a "Rust API", from what I understand the
> Debugger API is made to be used from JS, how would it be different? Is
> there any reasons to have a different API for Servo than the one we used for
> Gecko?
See bug 1263317 -- the summary is that Servo doesn't want to ever support privileged JS, so the existing way we provide an interface to Debugger (via a JS interface in privileged compartments) is not going to fly. Instead, we are adding an alternative interface to the same Debugger infrastructure for Servo's use.
Reporter | ||
Comment 4•9 years ago
|
||
Yeah, this discussion belongs on bug 1263317, let's continue it there if necessary.
Updated•9 years ago
|
Flags: qe-verify-
Priority: -- → P2
Updated•8 years ago
|
Whiteboard: [devtools-html]
Comment 5•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Comment 6•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Updated•4 years ago
|
Blocks: js-debugger
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•