DevToolsUtils.hasSafeGetter needs to unwrap CCWs

RESOLVED FIXED in Firefox 43

Status

()

Firefox
Developer Tools
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: shu, Unassigned)

Tracking

unspecified
Firefox 43
Points:
---

Firefox Tracking Flags

(firefox43 fixed)

Details

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
Scripted functions do not appear scripted if they are wrapped by a CCW.
(Reporter)

Comment 1

3 years ago
Created attachment 8661503 [details] [diff] [review]
Unwrap getters in DevToolsUtils.hasSafeGetter.
Comment on attachment 8661503 [details] [diff] [review]
Unwrap getters in DevToolsUtils.hasSafeGetter.

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

r=me with quick xpcshell test in toolkit/devtools/tests/unit
Attachment #8661503 - Flags: review+
(Reporter)

Comment 3

3 years ago
Created attachment 8661555 [details] [diff] [review]
Unwrap getters in DevToolsUtils.hasSafeGetter.

With test, carrying r+.
https://hg.mozilla.org/mozilla-central/rev/eec5dceb90b1
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox43: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
You need to log in before you can comment on or make changes to this bug.