Commit Graph

2427 Commits

Author SHA1 Message Date
Bobby Holley
7ee918bfb2 Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv 2014-07-07 13:11:24 -07:00
Jan de Mooij
3c7459b21a Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Ms2ger
b3fdf22d45 Bug 1034204 - Implement unforgeable methods; r=bz 2014-07-04 15:02:10 +02:00
Carsten "Tomcat" Book
89289fc820 Backed out changeset 97708994eae6 (bug 857648) 2014-07-04 08:23:37 +02:00
Carsten "Tomcat" Book
b888a9611f Backed out changeset b617c11c9476 (bug 857648) 2014-07-04 08:23:35 +02:00
Carsten "Tomcat" Book
8bf1cab663 Backed out changeset 04b06ee60ebf (bug 857648) 2014-07-04 08:23:34 +02:00
Carsten "Tomcat" Book
b3a70b5238 Backed out changeset e4dd7f8cf275 (bug 857648) 2014-07-04 08:23:32 +02:00
Boris Zbarsky
08248b80de Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
682a073ad5 Bug 857648 part 3. Switch from using JS::DescribeStack to JS::CaptureCurrentStack for producing JSStackFrames. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
7a73120ef4 Bug 857648 part 2. Split JSStackFrame into a generic class and a JS-specific class. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
a009f2847b Bug 857648 part 1. Remove unnecessary code that tries to filter out non-JS stack frames from a known-JS-only stack. r=khuey 2014-07-04 01:25:15 -04:00
Ryan VanderMeulen
fb6f81f8fb Backed out changesets 4a19dcbc7e7a and 4907115e02e3 (bug 1029248) for non-unified bustage.
CLOSED TREE
2014-07-03 13:19:29 -04:00
Bill McCloskey
488c311eb2 Bug 1029248 - Add helpers to simplify CPOW unwrapping (r=mrbkap) 2014-07-03 09:48:21 -07:00
Bobby Holley
82f8b28ac7 Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor 2014-07-03 09:40:52 -07:00
Bobby Holley
655c9e75a1 Bug 1032317 - Remove XPCWrappedNativeScope::GetNewOrUsed. r=gabor 2014-07-03 09:40:52 -07:00
Jan de Mooij
1153e692ac Bug 1032726 part 6 - Some followup changes. r=bz 2014-07-03 13:05:03 +02:00
Jan de Mooij
9fd69da2e1 Bug 1032726 part 5 - Make new DOM bindings work with Latin1 strings. r=bz 2014-07-03 10:03:56 +02:00
Boris Zbarsky
f890ca7741 Bug 1033100. Fix event codegen to compile when an event has a sequence-of-non-null-interface-type member. r=smaug 2014-07-02 15:16:43 -04:00
Bob Owen
4435260145 Bug 1030707 - Part 8: Replace AutoCxPusher in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-07-02 11:26:49 +01:00
Jan de Mooij
8b009a1066 Bug 1032726 part 3 - Make FindEnumStringIndex work with Latin1 strings. r=bz,terrence
--HG--
extra : rebase_source : dd266d1453f926438eec533502d75e2a7de37795
2014-07-02 15:45:04 +02:00
Jan de Mooij
2d66c3ecb7 Bug 1032726 part 2 - Make GetArrayIndexFromId work with Latin1 strings. r=bz,terrence
--HG--
extra : rebase_source : b6f8fe3df3946dfe05f5467c22c4fb157b6dcbf2
2014-07-02 15:45:02 +02:00
Carsten "Tomcat" Book
44ac68d674 Merge mozilla-central to mozilla-inbound 2014-07-02 15:09:37 +02:00
Carsten "Tomcat" Book
2b6d7c0109 merge b2g-inbound to mozilla-central a=merge
--HG--
extra : amend_source : 7fa8699b38befea0f21f1b84a1c998efb03f614e
2014-07-02 15:05:32 +02:00
Ben Tian
9c7db92f7b Bug 1006314 - Patch 1/3: Revise BluetoothAdapter2.webidl and add BluetoothDiscoveryHandle.webidl, r=bz 2014-07-02 11:16:26 +08:00
Boris Zbarsky
e2f0608365 Bug 966471. Add some facilities for examining the state of a promise via a PromiseDebugging utility namespace. r=nsm,peterv 2014-07-02 00:19:48 -04:00
Steve Fink
abace8aef1 Bug 1022773 - Return value rooting for dom/, r=bz
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Kyle Huey
e85fc55550 Bug 1031051: Part 13 - Support ToJSValue()ing CallbackObjects and nsTArrays of raw pointers. r=bz
Without special handling CallbackObject subclasses will fall into the "nsISupports but not nsWrapperCache" case which goes through an XPConnect wrapping path that has no idea how to cope with a CallbackObject.  We need both the CallbackObject overload and the EnableIf bit in the template because the template will bind to the subclass and thus be preferred to the CallbackObject overload which requires an implicit conversion to the base class.

Before this patch nsTArray<T*> will eventually try to ToJSValue a T* which will select the boolean overload.  Thanks C++!  The new template overload that takes a T and attempts to dereference it will be preferred because it can bind to the type directly and does not require the implicit (and terrible!) conversion to bool.  This template is written in terms of T and not T* so we can test to see if T is a pointer type (and not merely something that can be coerced to a T*, such as a T[N]).
2014-06-30 16:02:03 -07:00
Kyle Huey
898ad2ecb6 Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz 2014-06-30 16:00:31 -07:00
Bill McCloskey
413d785b47 Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz) 2014-06-30 14:36:45 -07:00
Eric Faust
c14d2a19ab Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
ec142f1ef6 Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
4fcd931d23 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC) 2014-06-27 04:44:04 -07:00
Eric Faust
313bd61202 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Jan de Mooij
49d78d87f8 Bug 1032726 part 1 - Make ConvertJSValueToByteString work with Latin1 strings. r=bz,terrence 2014-07-02 13:04:14 +02:00
Peter Van der Beken
909fc09490 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
6135e3bfe3 Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz. 2014-01-23 10:18:35 +01:00
Peter Van der Beken
e6606c047c 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
d3e7b30ffd 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
Carsten "Tomcat" Book
8328ed247d Backed out changeset 2c6403818106 (bug 1027402) for bustage on a CLOSED TREE 2014-06-27 14:21:46 +02:00
Carsten "Tomcat" Book
ae32e4a7cc Backed out changeset 346912776f97 (bug 1027402) 2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
5f562e29f0 Backed out changeset 285c853fedfa (bug 1027402) 2014-06-27 14:21:20 +02:00
Carsten "Tomcat" Book
80643faae0 Backed out changeset 96443362db6f (bug 1027402) 2014-06-27 14:21:17 +02:00
Eric Faust
06f26016a7 Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
a3511c108a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
9f81106775 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley) 2014-06-27 04:44:04 -07:00
Eric Faust
3e181b313e Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Ben Kelly
5c8f0e057b Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
Carsten "Tomcat" Book
a2cf6bb6f1 merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
47002a6418 Bug 958782 - 1/3: B2G SMS - Move MozMobileMessage to WebIDL. XPIDL & WebIDL changes. f=Ms2ger,r=khuey
--HG--
rename : dom/webidl/MobileMessageManager.webidl => dom/webidl/MozMobileMessageManager.webidl
2014-06-25 11:57:13 +08:00
Rik Cabanier
5d9f208b1b Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00