Commit Graph

60 Commits

Author SHA1 Message Date
Andrea Marchesini
87495fbf33 Bug 1134280 - Get rid of Tag() - patch 2.9 - dom/svg, dom/xml, dom/xslt and dom/xbl - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Peter Van der Beken
dc3a33aa88 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Peter Van der Beken
4d7c6b1523 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make the WrapObject signature for non-refcounted objects the same as for refcounted objects. r=bz.
* * *
[mq]: owned_fold.patch

--HG--
extra : rebase_source : 1eec318046dae59e740ee5409a97c7cbfd88c9b1
2014-11-01 15:00:28 +01:00
Ehsan Akhgari
2968519e81 Bug 1118551 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/xslt; r=baku 2015-01-07 10:19:14 -05:00
Nicholas Nethercote
740b452f0f Bug 1117593 - Fix handling of impossible cases in txEarlyEvalContext. r=peterv.
--HG--
extra : rebase_source : 81b5ca2299a8460ed3d46a7847d4dcafa042b575
2015-01-05 15:52:20 -08:00
Peter Van der Beken
b275f1ebdc Bug 1089049 - crash in nsContentUtils::CanCallerAccess(nsINode*), Browser crashes if contextNode is null of document.evaluate. r=bz. 2014-11-04 10:20:08 +01:00
Peter Van der Beken
688c64b71b Backout 58e2cab9572e, bad patch. 2014-11-04 12:35:02 +01:00
Peter Van der Beken
baa4f7ed4e Bug 1089049 - crash in nsContentUtils::CanCallerAccess(nsINode*), Browser crashes if contextNode is null of document.evaluate. r=bz.
--HG--
extra : rebase_source : 00d2454f8de660a6432d30324529df02b52dd618
2014-11-04 10:20:08 +01:00
Peter Van der Beken
1dfb12501b Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathNSResolver. r=bz.
--HG--
extra : rebase_source : ea2b29ebafb830717bedee2ce80f46c92b270804
2014-10-14 16:27:25 +02:00
Peter Van der Beken
dbe4555527 Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathEvaluator::createNSResolver. r=bz.
--HG--
extra : rebase_source : efc7c5a5cc527b789e6c7d4460bbd388d9da77fe
2014-10-14 16:27:24 +02:00
Peter Van der Beken
643250e37e Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, switch XPathNSResolver to WebIDL. r=bz.
--HG--
extra : rebase_source : 5edb613061b8d0dcb533ae6e1c3a5244e43dd545
2014-10-14 16:27:24 +02:00
Peter Van der Beken
269a880293 Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, support passing a node to CreateExpression. r=bz.
--HG--
extra : rebase_source : 347e0145d5caf1cc525bfed70af2ad81a57b2a06
2013-09-02 18:01:55 +02:00
Boris Zbarsky
5b759b528b Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv 2014-10-22 11:40:49 -04:00
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Andrea Marchesini
0d53e022f0 Bug 1072116 - check the return value of createXPathNode(), r=peterv 2014-10-01 10:52:46 +01:00
Ehsan Akhgari
0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Birunthan Mohanathas
3e8abfd2e8 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Benoit Jacob
18c3e0073a Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Peter Van der Beken
efa5f7d65a Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : 2b3459ddf41e258469c31e0e7c4d515ef7a7c83f
2014-06-27 21:39:50 +02:00
Peter Van der Beken
ef9208e468 Bug 1029104 - Convert XPathExpression to WebIDL bindings, make XPathExpression hold a weak reference to the document. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : b011030bee7c16e098069452d6fdbfd43c080611
2014-06-26 15:32:20 +02:00
Peter Van der Beken
7eed123b6d Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : 4bdf4671ea04c76de76053282fc810d1f4c42aea
2013-07-09 12:09:39 -04:00
Peter Van der Beken
f857218f32 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : bedd3da79f1a4c2df19cfe3e9b68f1270b0b5688
2013-07-04 17:40:10 +02:00
Peter Van der Beken
0fe9268fa3 Bug 1029104 - Convert XPathExpression to WebIDL bindings, remove txResultRecycler::init. r=bz.
--HG--
extra : rebase_source : 3c2f6f86c2e34c7ec32a22eb4f1a90e77d05cdfa
2014-06-05 15:14:56 +02:00
Peter Van der Beken
b859e5a055 Backout patches for bug 1029104 for bustage on a CLOSED TREE.
--HG--
rename : dom/xslt/xpath/XPathExpression.cpp => dom/xslt/xpath/nsXPathExpression.cpp
rename : dom/xslt/xpath/XPathExpression.h => dom/xslt/xpath/nsXPathExpression.h
extra : rebase_source : 4cd96320fa102351284cca55b66d3a54592e5212
2014-06-27 23:07:44 +02:00
Peter Van der Beken
87bd3e6f3a Fix bustage from bad merge of patches for bug 1029104. r=bustage.
--HG--
extra : rebase_source : f08d6d25ea8d6bb063f9f947f096faad7474dd22
2014-06-27 22:22:51 +02:00
Peter Van der Beken
ff0e975b03 Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : f5c7a235a9a880f829ff39ccbb92508cbaad31a5
2014-06-27 21:39:50 +02:00
Peter Van der Beken
1f160b1d0d Bug 1029104 - Convert XPathExpression to WebIDL bindings, make XPathExpression hold a weak reference to the document. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
extra : rebase_source : 3ab3a4babc5ec3c67f3aec3aeef422b8c3c526ef
2014-06-26 15:32:20 +02:00
Peter Van der Beken
dac9d591cd Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : a8f2deb3244c8e556ff1778292dd1f96647f3ace
2013-07-09 12:09:39 -04:00
Peter Van der Beken
d55e8521f2 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : b8c559b8ad78bbc4b9fae8f640b21a25d19db783
2013-07-04 17:40:10 +02:00
Peter Van der Beken
21ffb670ae Bug 1029104 - Convert XPathExpression to WebIDL bindings, remove txResultRecycler::init. r=bz.
--HG--
extra : rebase_source : 156d0c9c4da5c7ef1aedce24f8aaa81111623d32
2014-06-05 15:14:56 +02:00
Benoit Jacob
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Peter Van der Beken
bd776f4d97 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Peter Van der Beken
6d83bd0d0f Bug 1027095 - Convert XPathResult to WebIDL bindings - move files and rename class. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathResult.cpp => dom/xslt/xpath/XPathResult.cpp
rename : dom/xslt/xpath/nsXPathResult.h => dom/xslt/xpath/XPathResult.h
2013-07-04 17:39:28 +02:00
Kyle Huey
b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Trevor Saunders
42ad93c2a2 bug 1004746 - part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj 2014-05-07 18:05:37 -04:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Ehsan Akhgari
7262b1ae70 Bug 998738 - Kill nsIDOMXPathNamespace (and window.XPathNamespace); r=smaug 2014-04-24 12:07:44 -04:00
Aryeh Gregor
7ad76d1434 Bug 986857 - Replace the Attr element getters by something that returns an Element; r=bz 2014-04-10 19:09:50 +03:00
Boris Zbarsky
79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00