Closed
Bug 519145
Opened 16 years ago
Closed 16 years ago
Enumeration over XPCNativeWrapper is broken
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mrbkap, Assigned: mrbkap)
Details
Attachments
(1 file)
|
5.10 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
jjb reported this in mozilla.dev.platform:
> .. for (var p in rect) fails, it's a funky interface thing, not a an object.
This is because XPCWrapper::Enumerate doesn't walk down the prototype chain. This is a regression from bug 390947.
| Assignee | ||
Comment 1•16 years ago
|
||
The only really tricky bit is setting up the temporary XPCNativeWrapper.
Attachment #403164 -
Flags: review?(jst)
Comment 2•16 years ago
|
||
Comment on attachment 403164 [details] [diff] [review]
Fix
In your own words, you should also test that enumeration of expandos on the wrapper itself works as well.
r=jst with that.
Attachment #403164 -
Flags: review?(jst) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•