Closed
Bug 796903
Opened 12 years ago
Closed 12 years ago
Move DOMImplementation to Paris bindings
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
(Blocks 1 open bug)
Details
(Keywords: addon-compat)
Attachments
(4 files, 1 obsolete file)
25.73 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
8.12 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
21.60 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
5.74 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #668136 -
Flags: review?(bzbarsky)
Comment 2•12 years ago
|
||
Shouldn't there be some nsDocument bits here too?
Assignee | ||
Comment 3•12 years ago
|
||
Let's try this again.
Attachment #668136 -
Attachment is obsolete: true
Attachment #668136 -
Flags: review?(bzbarsky)
Attachment #668144 -
Flags: review?(bzbarsky)
Comment 4•12 years ago
|
||
Comment on attachment 668144 [details] [diff] [review] Patch v2 >+++ b/content/base/src/DOMImplementation.cpp >+ NS_INTERFACE_MAP_ENTRY(nsIDOMDOMImplementation) >+ NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMDOMImplementation) This was there in the code you copied from, but it's clearly silly. Make the nsISupports bit not use AMBIGUOUS? >+++ b/dom/bindings/Bindings.conf >+'DOMImplementation': { >+}, >+ Now that bug 792980 is fixed, you don't need that. Given that this is not prefable, why did you leave nsIDOMDOMImplementation and associated gunk? Seems like it can go.... r=me with those addressed. Though if you do remove nsIDOMDOMImplementation, I'd like a look at the result.
Attachment #668144 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 5•12 years ago
|
||
This interface is pretty silly. I like this better. (Turns out I don't strictly need it, as DOMImplementation still inherit from nsISupports.)
Attachment #668577 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #668578 -
Flags: review?(bzbarsky)
Comment 7•12 years ago
|
||
Comment on attachment 668577 [details] [diff] [review] Part b: Pass an nsIContent to InternalIsSupported r=me
Attachment #668577 -
Flags: review?(bzbarsky) → review+
Comment 8•12 years ago
|
||
Comment on attachment 668578 [details] [diff] [review] Part c: Remove nsIDOMDOMImplementation r=me
Attachment #668578 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 9•12 years ago
|
||
This passes try, at least. (Should've thought about that earlier.)
Attachment #671128 -
Flags: review?(bzbarsky)
Comment 10•12 years ago
|
||
Do we really want to remove nsIDOMDOMImplementation? I would expect some binary addons to use it to create documents. (And in fact it is probably the safest way to create "data" documents to be used in web pages.)
Keywords: addon-compat
Comment 11•12 years ago
|
||
> I would expect some binary addons to use it to create documents.
How would they get their hands on an nsIDOMDOMImplementation?
Comment 12•12 years ago
|
||
From nsIDOMDocument
Comment 13•12 years ago
|
||
And in particular, note that the ability to create a DOMImplementation by contract went away in bug 675166. So are you thinking about cases in which the binary addon would call GetImplementation on an existing document?
Comment 14•12 years ago
|
||
I guess if we think binary addons are using it, we could keep it... It seems somewhat unfortunate, though. :(
Comment 15•12 years ago
|
||
Comment on attachment 671128 [details] [diff] [review] Part d: Followup fixes r=me on this part, but I talked to smaug and we decided to keep nsIDOMDOMImplementation for now for C++ consumers. :( Still don't need classinfo, of course.
Attachment #671128 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #668578 -
Attachment description: Part b: Remove nsIDOMDOMImplementation → Part c: Remove nsIDOMDOMImplementation
Assignee | ||
Updated•12 years ago
|
Attachment #671128 -
Attachment description: Part c: Followup fixes → Part d: Followup fixes
Assignee | ||
Comment 16•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b72413cdab5e https://hg.mozilla.org/mozilla-central/rev/abe709bfc49a
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•