Closed
Bug 801083
Opened 13 years ago
Closed 13 years ago
Remove old proxy-based list bindings
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: peterv, Assigned: peterv)
References
Details
Attachments
(1 file, 1 obsolete file)
233.20 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•13 years ago
|
||
Comment on attachment 670930 [details] [diff] [review]
v1
Review of attachment 670930 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/xpconnect/src/nsXPConnect.cpp
@@ +1414,3 @@
> nsISupports* supports = nullptr;
> + mozilla::dom::UnwrapDOMObjectToISupports(aJSObj, supports);
> + return supports;
Is this function supposed to return the canonical nsISupports pointer? I'm pretty sure this one isn't necessarily it.
![]() |
||
Comment 2•13 years ago
|
||
For Paris bindings, it needs to be the canonical one. Any impl in which it's not is buggy.
Comment 3•13 years ago
|
||
It isn't for nsContentList -> nsIHTMLCollection, IIRC.
Assignee | ||
Comment 4•13 years ago
|
||
(In reply to :Ms2ger from comment #1)
> Is this function supposed to return the canonical nsISupports pointer?
Yeah, I added a QI.
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #670930 -
Attachment is obsolete: true
Attachment #673453 -
Flags: review?(bzbarsky)
![]() |
||
Comment 6•13 years ago
|
||
Comment on attachment 673453 [details] [diff] [review]
v1.1
File a followup on nuking nsIDOMHTMLPropertiesCollection altogether if we can?
I love all the code being gone. r=me
P.S. diffstat says: "72 files changed, 181 insertions(+), 3634 deletions(-)".
Attachment #673453 -
Flags: review?(bzbarsky) → review+
Comment 7•13 years ago
|
||
Comment on attachment 673453 [details] [diff] [review]
v1.1
Review of attachment 673453 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsDOMClassInfo.cpp
@@ +4535,5 @@
>
> sDisableGlobalScopePollutionSupport =
> Preferences::GetBool("browser.dom.global_scope_pollution.disabled");
>
> // Non-proxy bindings
Fix this comment
::: js/xpconnect/src/xpcpublic.h
@@ +301,5 @@
> namespace mozilla {
> namespace dom {
>
> extern int HandlerFamily;
> inline void* ProxyFamily() { return &HandlerFamily; }
All this stuff should probably move to dom/bindings at some point.
Assignee | ||
Comment 8•13 years ago
|
||
Target Milestone: --- → mozilla19
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Comment 10•13 years ago
|
||
I'm confused. This patch removed the pref dom.new_bindings form all.js, but did not remove the code in XPCJSRuntime.cpp that uses it.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•