Closed
Bug 812669
Opened 12 years ago
Closed 12 years ago
Remove XPConnect equality hooks
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(1 file, 1 obsolete file)
14.38 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
XPConnect currently has some hooks for comparing objects by comparing the underlying identity object. But since compartment-per-global, we can only ever have at most one XPCWN for a given identity object in a given compartment, so there's no way this hook would ever do anything. Let's kill it.
Jorendorff/Luke, is this something we're interested in removing on the JSAPI side as well? Or is it used by embedders?
Comment 1•12 years ago
|
||
I seem to recall it was only added for the Mozilla embedding, so I'd be pro-removing it. I think this would introduce some nice engine simplifications as well.
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #1)
> I seem to recall it was only added for the Mozilla embedding, so I'd be
> pro-removing it. I think this would introduce some nice engine
> simplifications as well.
Ok, file a followup bug dependent on this one? I'm probably not the right person to maximally reap the simplifications here.
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #710643 -
Flags: review?(mrbkap)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #710644 -
Flags: review?(mrbkap)
Assignee | ||
Updated•12 years ago
|
Attachment #710643 -
Attachment is obsolete: true
Attachment #710643 -
Flags: review?(mrbkap)
Comment 5•12 years ago
|
||
Comment on attachment 710644 [details] [diff] [review]
Remove XPConnect equality hooks. v3
I guess we should thank gal for holding the line here on proxies and forcing us to ween XPConnect off of this hook.
Attachment #710644 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•