Commit Graph

2832 Commits

Author SHA1 Message Date
Aryeh Gregor
5925b452a5 Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Boris Zbarsky
01d3eba57a Bug 851917. Get rid of the classinfo for HTMLObjectElement, HTMLEmbedElement, HTMLAppletElement, and rip out nsHTMLPluginObjElementSH. r=peterv,johns 2013-04-10 13:49:05 -04:00
Andrea Marchesini
3d17116fda Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Boris Zbarsky
0fb62d62f7 Bug 688691. Warn when LenientThis actually causes us to not throw. r=ms2ger 2013-04-08 17:04:21 -04:00
Ralph Giles
5ae9158134 Bug 857022 - Remove MOZ_MEDIA from content. r=cpearce
Remove the MOZ_MEDIA build-time define in the content
module, enabling this code unconditionally.
2013-04-04 15:07:00 -07:00
David Zbarsky
3febe3b914 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
David Zbarsky
59707ec484 Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger 2013-04-05 20:44:15 -04:00
Gabor Krizsanits
e18caa1c32 Bug 820170 - documents should know their globals. r=smaug 2013-04-04 11:32:29 +02:00
Gabor Krizsanits
2e8e9ba1de Bug 820170 - nsDOMEventTarget holds a global. r=smaug 2013-04-04 11:30:36 +02:00
Gabor Krizsanits
9eec3699dc Bug 820170 - using nsIGlobalObject in documents. r=smaug 2013-04-04 11:27:41 +02:00
Gabor Krizsanits
2edb19076f Bug 820170 - Turning BackstagePass into non-singleton. r=bholley 2013-04-04 11:27:38 +02:00
Gabor Krizsanits
8e012305e4 Bug 820170 - merge scope members on nsDocument. r=smaug 2013-04-04 11:24:40 +02:00
Drew Willcoxon
a0bbe1ad3e Bug 723163 - Improve about:crashes copy & paste by improving XHTML text/plain encoding. r=hsivonen,njn 2013-04-03 11:39:06 -07:00
matekm
c262c00c9c Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Matthew Gregan
9df358906f Bug 855570 - Deprecate Audio Data API. r=ehsan 2013-03-28 14:36:29 +13:00
Boris Zbarsky
2cb912c299 Bug 856752. Reinstate Node.hasAttributes. r=khuey 2013-04-02 00:04:19 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Randell Jesup
494d0959c1 Bug 855623: DataChannel DOM changes for adding 'protocol' and external negotiation r=smaug 2013-03-31 21:09:25 -04:00
Ms2ger
e5c6be8742 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Sid Stamm
df0af40028 Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz 2012-10-15 13:54:58 -07: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
Boris Zbarsky
0790ddb12c Bug 848796 part 2. Add WebIDL API for XULDocument. r=peterv 2013-03-26 11:31:53 -04:00
William Chen
591ce8a1df Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Henri Sivonen
1d746ea1f7 Bug 853170 - Revise the IID of nsIXMLHttpRequest as a follow-up to bug 843508. r=smaug. 2013-03-25 18:02:49 +02:00
Peter Van der Beken
c3d9bfaa96 Fix for bug 852979 (Remove unused nsContentUtils::JSArrayToAtomArray). r=smaug.
--HG--
extra : rebase_source : c61c3477d5686956a44d45685c59c0a3415dc3c3
2013-03-25 12:19:11 +01:00
Olli Pettay
0e8cf1f788 Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
Mounir Lamouri
fe9dacd3d0 Bug 849438 - Searches in ListControlFrames should ignore  . r=bz 2013-03-22 17:52:52 +00:00
David Zbarsky
46284ae633 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
John Schoenick
7c5718e033 Bug 843671 - Followup, properly rev interface IID. r=me DONTBUILD 2013-03-21 16:46:44 -07:00
Mike Shal
e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Aryeh Gregor
b4a520d2b8 Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
John Schoenick
25518570a0 Bug 843671 - Fix plugin instance owner teardown. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
96294aabb8 Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
Boris Zbarsky
5128da2a7a Bug 848386 part 4. Rename nsXMLDocument to mozilla::dom::XMLDocument. r=peterv
--HG--
rename : content/xml/document/src/nsXMLDocument.cpp => content/xml/document/src/XMLDocument.cpp
rename : content/xml/document/src/nsXMLDocument.h => content/xml/document/src/XMLDocument.h
2013-03-20 12:22:26 -04:00
Boris Zbarsky
c3f093a532 Bug 848386 part 2. Implement a WebIDL equivalent for nsDocumentSH::PostCreate setting up the document as an own property on the Window. r=peterv 2013-03-20 12:22:26 -04:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
461246484e Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures. 2013-03-19 16:44:14 -04:00
Jared Wein
0295cdf922 Bug 851230 - Framed plain text documents should not have word wrap applied. r=bz 2013-03-19 16:30:53 -04:00
Mounir Lamouri
9240526f3a Bug 849438 - Searches in ListControlFrames should ignore  . r=bz 2013-03-19 18:24:35 +00: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
Trevor Saunders
1a2796da72 bug 850797 - add nsIDocument::IsVisibleConsideringAncestors() r=bz 2013-03-16 00:13:38 -04:00
Boris Zbarsky
cd206cfc4d Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
Ms2ger
4ec472b450 Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Ms2ger
371e929457 Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz 2013-03-17 08:55:16 +01:00
Ms2ger
a55eebf164 Bug 845374 - Part t: Stop including js/Value.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
51cced7786 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
960b59de37 Bug 845374 - Part q: Stop including nsThreadUtils.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
964da67a5c Bug 845374 - Part p: Stop including nsDataHashtable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
3d629a48ad Bug 845374 - Part o: Stop including nsIDOMEvent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
940177b2dd Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
24ae86e09f Bug 845374 - Part m: Move nsContentUtils::PositionIsBefore out of line; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
4f5fca99bc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
b23eb4bedb Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
30583e01b5 Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
5dbdf12e28 Bug 845374 - Part i: Stop including nsNodeInfoManager.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
a94aa82b0a Bug 845374 - Part h: Move nsContentUtils::NameChanged out of line; r=khuey 2013-03-17 08:55:14 +01:00
Ms2ger
eb52584f84 Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:13 +01:00
Ms2ger
bb9c16a013 Bug 845374 - Part f: Create a new nsDocElementCreatedNotificationRunner.h; r=khuey
--HG--
rename : content/base/public/nsContentUtils.h => content/base/public/nsDocElementCreatedNotificationRunner.h
2013-03-17 08:55:12 +01:00
Ms2ger
cdf1357b9f Bug 845374 - Part e: Stop including nsContentList.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:11 +01:00
Ms2ger
26be5f64e2 Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:09 +01:00
Ms2ger
232bc31859 Bug 845374 - Part a: Sort includes and forward declarations in nsContentUtils.{h,cpp}; r=khuey 2013-03-17 08:55:08 +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
Gregory Szorc
de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Trevor Saunders
585a307b78 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05: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
Ms2ger
4d99e1ce9d Bug 847144 - Rename Element::GetAttributes() to Attributes() and remove null-checks; r=mounir 2013-03-10 08:58:47 +01:00
Ms2ger
5ac502d205 Bug 823549 - Make NodeIterator.detach() a no-op; r=mounir 2013-03-10 08:58:25 +01:00
Olli Pettay
eaf67cc919 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
John Schoenick
9f19e6b705 Backout 9f5cff5a1a3d and 36cde68b1bf4 (Bug 783059) for Android M-1 Orange on a CLOSED TREE 2013-03-08 15:23:43 -08:00
John Schoenick
7216504a17 Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-08 13:21:41 -08:00
Simon Montagu
95c2772b26 Move WalkDescendantsClearAncestorDirAuto from BeforeSetAttr to OnSetDirAttr to simplify the test for elements that had dir=auto but no longer do, especially <bdi>. Bug 845093, r=ehsan 2013-03-07 22:53:08 +02:00
Simon Montagu
1e7b43ea54 Set the AncestorHasDirAuto flag for all new text nodes that need it. Bug 847127, r=ehsan 2013-03-07 22:53:07 +02:00
David Zbarsky
df6170cf1a Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz 2013-03-07 02:12:32 -05:00
Phil Ringnalda
97983b5f15 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
bcb6f556e0 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Masatoshi Kimura
23ba391ec1 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
John Schoenick
48819d88f1 Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-11 11:47:36 -07:00
Ryan VanderMeulen
ed6506d74a Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Bobby Holley
1b0d5f1edc Bug 790732 - Remove Components warning and Telemetry. r=mrbkap 2013-03-05 10:01:59 -08:00
William Chen
a9e43bd562 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Nicholas Nethercote
3ce4267e5b Bug 847210 - Remove nsNodeInfo::sNodeInfoPool and use vanilla allocation for nsNodeInfo objects. r=smaug.
--HG--
extra : rebase_source : 667a818984e7ce6d22669861992a06e832755dfb
2013-02-28 18:53:49 -08:00
Boris Zbarsky
759868b182 Bug 827158 part 10. Implement the WebIDL API for <object>. r=peterv,johns 2013-03-04 14:08:24 -05:00
Henri Sivonen
a9440b263c Bug 843508 - Remove support for multipart XHR responses. r=jst. 2013-03-04 11:06:15 +02:00
Trevor Saunders
c214d0f60b bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
Boris Zbarsky
8cfff048ee Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ryan VanderMeulen
c952e87e03 Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
e594545631 Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
08d376c598 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ms2ger
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
72ed2beb7b Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Timothy Nikkel
8ca393d546 Bug 689623. Part 4. Add a visible count to nsIImadeLoadingContent, and use it when locking the image. r=joe 2013-02-24 18:59:21 -06:00
Chris Pearce
dcf2d17b8e Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Boris Zbarsky
0bc630a626 Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00