Boris Zbarsky
b4efb4ac71
Bug 1157898 part 4. Add ErrorResult::ErrorCodeIs() and use it in various places to get rid of ErrorCode(). r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Boris Zbarsky
ea881b3a53
Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp. The rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Andrea Marchesini
6b10d5e43e
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
Peter Van der Beken
a3f5de9681
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
2015-01-08 22:56:42 +01:00
Peter Van der Beken
4e2d5c248a
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
4f1536e43c
Backout 58e2cab9572e, bad patch.
2014-11-04 12:35:02 +01:00
Peter Van der Beken
bd075e3bb3
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
287afc9789
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathNSResolver. r=bz.
2014-10-14 16:27:25 +02:00
Peter Van der Beken
a38ecfc5fc
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathEvaluator::createNSResolver. r=bz.
2014-10-14 16:27:24 +02:00
Peter Van der Beken
194153b52f
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, switch XPathNSResolver to WebIDL. r=bz.
2014-10-14 16:27:24 +02:00
Peter Van der Beken
84e90359e1
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, support passing a node to CreateExpression. r=bz.
2013-09-02 18:01:55 +02:00
Peter Van der Beken
202886832b
Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
2014-06-27 21:39:50 +02:00
Peter Van der Beken
ba705f9098
Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz.
2013-07-09 12:09:39 -04:00
Peter Van der Beken
a7ca9fe8f8
Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz.
2013-07-04 17:40:10 +02:00
Peter Van der Beken
30cb7e8089
Bug 1029104 - Convert XPathExpression to WebIDL bindings, remove txResultRecycler::init. r=bz.
2014-06-05 15:14:56 +02:00
Peter Van der Beken
ef24a69bf2
Backout patches for bug 1029104 for bustage on a CLOSED TREE.
2014-06-27 23:07:44 +02:00
Peter Van der Beken
91c60b6ef5
Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
2014-06-27 21:39:50 +02:00
Peter Van der Beken
a99622acb4
Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz.
2013-07-09 12:09:39 -04:00
Peter Van der Beken
b5426a2960
Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz.
2013-07-04 17:40:10 +02:00
Peter Van der Beken
2f3465765a
Bug 1029104 - Convert XPathExpression to WebIDL bindings, remove txResultRecycler::init. r=bz.
2014-06-05 15:14:56 +02:00
Benoit Jacob
7bbd89e2ca
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
c11b54372c
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
f3984af8c6
Bug 1027095 - Convert XPathResult to WebIDL bindings - move files and rename class. r=bz.
2013-07-04 17:39:28 +02:00
Trevor Saunders
02273101a6
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
eeb9aaaa94
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
Boris Zbarsky
b95c359828
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
Boris Zbarsky
ae0180ee85
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Reuben Morais
16c1e76108
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
2014-02-27 20:04:46 -03:00
Robert O'Callahan
19e089f58d
Bug 946065. Part 2: Move content/xslt to dom/xslt and flatten away 'public' and 'src'. r=ms2ger
2014-01-03 14:48:12 +13:00