Olli Pettay
5b5b233df0
Bug 900738 - Remove HasSameOwnerDoc, r=bz
...
--HG--
extra : rebase_source : c4456690ffbd53fb98ad08436da2c5d884b25faf
2013-08-02 13:24:41 +03:00
Boris Zbarsky
bd1400ee1f
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Ms2ger
8609abdb1f
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Boris Zbarsky
276a31d596
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Ryan VanderMeulen
7c21303600
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
38eb5bd229
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Boris Zbarsky
50841552c2
Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
...
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Jacek Caban
c71c460685
Bug 816343 - Add querySelector* to *Element/DocumentFragment/Document.idl r=bz
2013-07-08 14:09:18 +02:00
Cameron McCormack
29ed468ad9
Comment typo fix, no bug (DONTBUILD)
2013-07-04 14:00:06 +10:00
Blake Kaplan
7a5fa22309
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Boris Zbarsky
77bebdc268
Bug 816343. Remove nsIDOMNodeSelector. r=smaug
2013-06-26 10:59:46 -04:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Andrea Marchesini
3e4e0d931a
Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
...
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Masatoshi Kimura
0ff5d04537
Bug 881252 - Warn use of getUserData() or setUserData(). r=bz
2013-06-11 07:41:42 +09:00
Jon Coppeard
83c2b6e94b
Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug
2013-06-08 09:54:59 +01:00
Peter Van der Beken
98b9e5058e
Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
...
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Boris Zbarsky
ac87784e7f
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
6871042269
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Zachary Easterbrook
88276eb0f8
Bug 875409 - Replace nsINode::Trace() with nsWrapperCache::TraceWrapper(). r=mccr8
2013-05-28 16:58:29 -07:00
Jon Coppeard
a07d2309af
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Bobby Holley
b279cd48ba
Bug 834699 - Stop checking dom.xbl_scopes. r=bz
2013-05-02 16:02:03 -07:00
Olli Pettay
315b2953bd
Bug 866225 - remove some useless #includes, r=mccr8
...
--HG--
extra : rebase_source : 6cfd39ac879e525fc02961dd002f6920b1c11775
2013-04-27 02:15:04 +03:00
Boris Zbarsky
c62295c2f9
Bug 864727 part 6. Make all the WrapNode methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Boris Zbarsky
b834439797
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
David Zbarsky
2cca325f53
Remove TitleChangedListener dead code, no bug, r=jlebar over irc
2013-04-21 21:25:29 -04:00
Boris Zbarsky
de948b12f3
Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug
2013-04-16 17:16:08 -04:00
Ms2ger
b3380bd0d9
Bug 856629 - Part b: Implement ChildNode.remove(); r=bz
2013-04-13 09:08:47 +02:00
Boris Zbarsky
2cb912c299
Bug 856752. Reinstate Node.hasAttributes. r=khuey
2013-04-02 00:04:19 -04:00
Andrea Marchesini
eb909f5a5b
Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
David Zbarsky
9ac66bb66f
Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger
2013-03-27 21:23:09 -04:00
Aryeh Gregor
b4a520d2b8
Bug 849661 - Remove support for Node.hasAttributes(); r=bz
2013-03-21 14:48:32 +02:00
Andrea Marchesini
eb3d295f7f
Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
...
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Ms2ger
4ec472b450
Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking
2013-03-17 09:51:34 +01:00
Aryeh Gregor
07f1711dbc
Bug 801562 - Remove Node.isSupported; r=bz
...
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Masatoshi Kimura
23ba391ec1
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Ms2ger
89fffd12a6
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
David Zbarsky
df6170cf1a
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -05:00
Masatoshi Kimura
fdb26c9036
Bug 842372 - Part 1: Implement nsINode::ShouldExposeUserData. r=bholley
2013-02-23 13:46:05 +09:00
Andrea Marchesini
6c9e07070e
Bug 839105 - Rename nsHTMLFieldSetElement to HTMLFieldSetElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLFieldSetElement.cpp => content/html/content/src/HTMLFieldSetElement.cpp
rename : content/html/content/src/nsHTMLFieldSetElement.h => content/html/content/src/HTMLFieldSetElement.h
2013-02-08 11:34:47 -05:00
Peter Van der Beken
6c8ed80f8a
Fix for bug 830879 (HTML Element WebIDL bindings require classinfo). r=bz.
...
--HG--
extra : rebase_source : a88a5f24d3d4c12b652f1228eb5b3b7bb8b9e5ee
2013-01-10 10:54:32 +01:00
Boris Zbarsky
9b45ffdc77
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
12de7c3472
Bug 835417 part 1. Mark Node.namespaceURI as not throwing, since [Constant] things aren't allowed to throw (though we were not enforcing that). r=peterv
2013-01-29 17:53:52 -05:00
Boris Zbarsky
f17cd371b2
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Boris Zbarsky
1d5a36a375
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Ms2ger
26de886928
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
Cameron McCormack
a448143019
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
2f72089890
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
c067646b00
Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE.
2013-01-08 19:36:21 +11:00
Cameron McCormack
e4d74ce02b
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
cf1ba04fcb
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-08 19:09:22 +11:00