Closed Bug 1577007 Opened 5 years ago Closed 5 years ago

Add debugger method to compare underlying natives

Categories

(Core :: JavaScript Engine, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

(Whiteboard: [debugger-mvp])

Attachments

(1 file)

In order for the devtools to properly implement a whitelist of the native functions which can be called when doing eager evaluations, there needs to be a way to determine the actual native function which is being invoked when we are in the Debugger.onNativeCall hook. The name properties of the function object aren't a very robust way of checking this, but one straightforward way is to compare the object with functions from the devtools code's own realm, e.g. object.isSameNative(Array.prototype.push).

Priority: -- → P1
Blocks: dbg-71
Status: NEW → ASSIGNED
Whiteboard: [debugger-mvp]
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b4ecd73e277
Add debugger method to compare underlying natives, r=jimb.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

Backed out for conflicting with the backout of Bug 1576776

Status: RESOLVED → REOPENED
Flags: needinfo?(bhackett1024)
Resolution: FIXED → ---
Target Milestone: mozilla71 → ---
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0598d793b1ff
Add debugger method to compare underlying natives, r=jimb.
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed4a29cb6aed
Add debugger method to compare underlying natives, r=jimb.
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Flags: needinfo?(bhackett1024)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: