Open
Bug 2046631
Opened 5 months ago
Updated 1 month ago
Replace callee in Debugger.onNativeCall with wrapper object
Categories
(Core :: JavaScript: Debugger API, task, P3)
Core
JavaScript: Debugger API
Tracking
()
NEW
People
(Reporter: bthrall, Assigned: bthrall)
References
(Blocks 2 open bugs)
Details
Attachments
(1 external file)
DevTools does not require all the functionality that Debugger.onNativeCall provides and we can make the callback easier to use by wrapping the callee parameter with a custom object that provides the necessary features.
The necessary features come from how DevTools uses onNativeCall. We want to minimize changes to the DevTools code while still keeping the same functionality in that callback. It looks like the object will need: isSideEffectFree (set by DevTools here), name, isNativeGetterWithJitInfo, isSameNativeWithJitInfo, and access to the bound target function if bound.
- Update
onNativeCalldocumentation - Implement a custom object wrapper for the
calleeparameter - Update tests
| Assignee | ||
Updated•5 months ago
|
Assignee: nobody → bthrall
Updated•5 months ago
|
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Comment 1•3 months ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•