Tom Schuster
159f339e95
Bug 1043578 - Remove JS_SetDebuggerHandler and friends. r=jimb
2014-07-25 14:26:40 +02:00
Jan de Mooij
f267f1737c
Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium
2014-07-24 11:56:45 +02:00
Jan de Mooij
09ba1e72b1
Bug 1031529 part 2 - Remove JS_THREADSAFE #ifdefs everywhere. r=bhackett
2014-07-24 11:56:43 +02:00
Andrea Marchesini
179c6c5321
Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer
2014-07-23 01:07:12 -04:00
Mike Hommey
33ef4f2c39
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Mike Hommey
9ae3c48776
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Bob Owen
bb3d91a4eb
Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley
2014-07-18 12:52:32 +01:00
Trevor Saunders
2857ee7e1c
no bug - don't return nullptr in functions returning bool r=themaid
2014-07-17 20:11:27 -04:00
Bill McCloskey
9b3e3180f9
Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley)
2014-07-18 16:50:55 -07:00
Bobby Holley
04684eed2d
Bug 1038844 - Implement a COW opt-out for automation. r=gabor,sr=mrbkap
2014-07-17 21:34:48 -07:00
Birunthan Mohanathas
eaf5a9b897
Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
...
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
Jan de Mooij
aef09d50af
Bug 1037886 - Report Latin1 and TwoByte strings separately in about:memory. r=njn
2014-07-16 19:11:50 +02:00
Jon Coppeard
9402c2694f
Bug 1038274 - Really fix previous problem with landing r=me
2014-07-16 12:04:33 +01:00
Jon Coppeard
d3c5f00dd1
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Jon Coppeard
ad61333040
Backed out changeset 5290e42e8345 (bug 1038274) for disabling GC malloc trigger
2014-07-16 11:34:49 +01:00
Jon Coppeard
84f87fb5e3
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Bobby Holley
c9b6af3770
Bug 1037264 - Add an 8-bit short-lived string cache. r=neil
2014-07-15 16:30:51 -07:00
Bobby Holley
67f78da3a9
Bug 1037264 - Factor out short-lived string buffer into a templated helper class. r=neil
2014-07-15 16:30:50 -07:00
Bobby Holley
6dabe978f0
Bug 940323 - Mode strictMode to RuntimeOptions. r=jandem
2014-07-15 09:04:20 -07:00
Bobby Holley
5f12adffc9
Bug 1036185 - Remove XPCCallContext::UnwrapThisIfAllowed. r=gabor
2014-07-15 09:04:19 -07:00
Jan de Mooij
06ee91fb7b
Bug 1037613 - rm js_GetLocalizedErrorMessage, localeGetErrorMessage callback. r=jorendorff
2014-07-15 15:14:38 +02:00
Bill McCloskey
ad505aedf5
Bug 1017323 - Fix more non-unified build bustage
2014-07-14 23:12:18 -07:00
Bill McCloskey
7db6f29449
Bug 1017323 - Add-on interposition (r=bholley)
2014-07-14 22:10:05 -07:00
Andrew McCreight
1ee07d58d6
Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan
2014-07-14 12:21:34 -07:00
Octoploid
d808249c97
Bug 1035092 - "bool functions shouldn't return nullptr" [r=sfink]
...
--HG--
extra : rebase_source : 0a0f2549b0a34c759384d8293f6227e112610147
2014-07-12 06:26:00 -07:00
Bobby Holley
19aa592dd5
Bug 1036777 - Fix string casts to be safe per-XPIDL. r=neil
...
These types map to nsAString and nsACString respectively.
2014-07-11 19:21:23 -07:00
Ms2ger
3b4d5ea88d
Bug 1036777 - Remove the useAllocator argument to XPCConvert::JSData2Native; r=bholley
...
It turns out the useAllocator argument is only used for the dipper types
(nsXPTType::{T_ASTRING, T_DOMSTRING, T_UTF8STRING, T_CSTRING}), while we
only pass true in cases where we don't have a dipper type:
* XPCConvert::JSArray2Native errors on those types;
* GetNamedPropertyAsVariantRaw() passes an interface type;
* nsXPCWrappedJSClass::CallMethod passes !param.IsDipper() for the first
calls and only reaches the last call for dependent types, which do not
include any of the dipper types;
* CallMethodHelper::ConvertIndependentParam handles dipper types earlier
* and CallMethodHelper::ConvertDependentParam handles dependent types.
2014-07-11 19:21:23 -07:00
Bobby Holley
a7a433704a
Bug 1036777 - Stop relying on useAllocator for 'in' string classes in ConvertIndependentParam. r=neil
2014-07-11 19:21:22 -07:00
Bobby Holley
b664b5fc68
Bug 1034682 - Set wantXrays to false for content XBL scopes. r=billm
2014-07-11 15:56:27 -07:00
Bobby Holley
6f2856e266
Bug 1034682 - Move remaining wacky wantXrays behavior to the JS entry point so that we don't have to worry about it when creating Sandboxes from C++. r=peterv
2014-07-11 15:56:27 -07:00
Bobby Holley
1004b8a2a8
Bug 1034682 - Remove nonsensical sandboxProto waiving in the wantXrays case. r=peterv
...
This doesn't make sense. wantXrays means that the WrapperFactory machinery gives
us Xrays in the same-origin case. When it's false, we don't have Xrays to
same-origin objects to begin with, so the waive is useless. Its only observable
effect comes in the situation of privileged (i.e. nsEP) sandboxes with a
less-privileged sandboxPrototype. And I see no reason why these things should get
a waived prototype.
It looks like this was added in 2010 for the Web Console in bug 611401. None of
that is applicable anymore.
2014-07-11 15:56:27 -07:00
Jan de Mooij
4d16e08afe
Bug 1034627 part 8 - Fix XPCConvert to work with Latin1 strings and nursery strings. r=bholley
2014-07-11 16:22:39 +02:00
Jan de Mooij
d5709aed18
Bug 1034627 part 5 - Make quick stubs work with Latin1 strings and nursery strings. r=bz
2014-07-11 16:22:35 +02:00
Bobby Holley
06fa9d262f
Bug 987669 - Implement Xray support for the data properties on ErrorObject instances. r=gabor
2014-07-11 09:09:21 -07:00
Bobby Holley
29eccabc87
Bug 940316 - Move werror to RuntimeOptions. r=jandem
2014-07-11 08:30:47 -07:00
Ed Morley
9a87a147ae
Backed out changeset 8f50bc05d337 (bug 1034627) for debug build failures
2014-07-11 15:46:53 +01:00
Ed Morley
7edf2d386e
Backed out changeset bcba40acc0ac (bug 1034627)
2014-07-11 15:46:29 +01:00
Jan de Mooij
0fea9e0fe2
Bug 1034627 part 8 - Fix XPCConvert to work with Latin1 strings and nursery strings. r=bholley
2014-07-11 16:22:39 +02:00
Jan de Mooij
044e0a2a99
Bug 1034627 part 5 - Make quick stubs work with Latin1 strings and nursery strings. r=bz
2014-07-11 16:22:35 +02:00
Jan de Mooij
e854923edc
Bug 1034627 part 6 - Fix XPCVariant to work with Latin1 strings and nursery strings. r=bholley
...
--HG--
extra : rebase_source : be029c174195192570da688250583157825e9e06
2014-07-11 09:38:55 +02:00
Jan de Mooij
e14210cabe
Bug 1034627 part 4 - Fix XPCComponents and XPCWrappedJSClass to work with Latin1 strings and nursery strings. r=bholley
...
--HG--
extra : rebase_source : 82d0a3ab83d9f10391da38c5c658627d1701f07a
2014-07-11 09:36:20 +02:00
Carsten "Tomcat" Book
e339908a91
Backed out changeset f78470faff8e (bug 1034627) Valgrind Test failures on a CLOSED TREE
2014-07-11 11:00:52 +02:00
Carsten "Tomcat" Book
9e7f86fb41
Backed out changeset 110e44b996f8 (bug 1034627) for Valgrind Testfailures on a CLOSED TREE
2014-07-11 11:00:21 +02:00
Jan de Mooij
4b964ec7f4
Bug 1034627 part 6 - Fix XPCVariant to work with Latin1 strings and nursery strings. r=bholley
2014-07-11 09:38:55 +02:00
Jan de Mooij
6ce58f8ce7
Bug 1034627 part 4 - Fix XPCComponents and XPCWrappedJSClass to work with Latin1 strings and nursery strings. r=bholley
2014-07-11 09:36:20 +02:00
Chris Peterson
8164414591
Bug 1036778 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/xpconnect. r=bholley
2014-06-29 20:42:36 -07:00
Bill McCloskey
a04d013df6
Bug 1029248 - Allow CPOWs to be converted to native interfaces (r=mrbkap)
2014-07-10 16:47:26 -07:00
Bill McCloskey
b5f325eeda
Bug 1029248 - Clean up CPOW unwrapping (r=mrbkap)
2014-07-10 16:47:04 -07:00
Ms2ger
c66721be2e
Backout changeset 69c0707a144a for crashes on a CLOSED TREE.
2014-07-10 21:04:26 +02:00
Ms2ger
576e908707
Bug 1036777 - Remove the useAllocator argument to XPCConvert::JSData2Native; r=bholley
...
It turns out the useAllocator argument is only used for the dipper types
(nsXPTType::{T_ASTRING, T_DOMSTRING, T_UTF8STRING, T_CSTRING}), while we
only pass true in cases where we don't have a dipper type:
* XPCConvert::JSArray2Native errors on those types;
* GetNamedPropertyAsVariantRaw() passes an interface type;
* nsXPCWrappedJSClass::CallMethod passes !param.IsDipper() for the first
calls and only reaches the last call for dependent types, which do not
include any of the dipper types;
* CallMethodHelper::ConvertIndependentParam handles dipper types earlier
* and CallMethodHelper::ConvertDependentParam handles dependent types.
2014-07-10 20:23:24 +02:00
Jan de Mooij
8b6b81e090
Bug 1034627 part 3 - Fix SandboxDump, AccessCheck.cpp to work with Latin1 strings and nursery strings. r=bholley
2014-07-10 17:36:35 +02:00
Jan de Mooij
b04bdad6da
Bug 1034627 part 2 - Fix xpconnect Dump and Print functions to work with Latin1 strings and nursery strings. r=bholley
2014-07-10 17:36:33 +02:00
Brian Hackett
df64d8862a
Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink
2014-06-06 09:36:00 -07:00
Jeff Walden
3b502f3694
Bug 953296 - Make the source-hook mechanism use mozilla::UniquePtr. r=jimb
...
--HG--
extra : rebase_source : c285fec8b38790fe78e3f29106011a928e12322e
2013-12-30 13:34:54 -06:00
Jan de Mooij
f3876da607
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
Bobby Holley
533944dd34
Bug 1029933 - Give BackstagePass an Enumerate hook to match its NewResolve hook. r=Waldo
...
This is required in order to avoid exposing resolve hook effects when
Object.freeze() is invoked on the global. The freeze() call first enumerates
the object, after which point any lazy properties need to be resolve so that
we can safely mark the object as non-extensible.
2014-07-04 12:41:27 -07:00
Boris Zbarsky
53c7044efa
Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley
2014-07-04 01:22:50 -04:00
Carsten "Tomcat" Book
11daed475e
Backed out changeset df2b43d4581e (bug 1018583)
2014-07-04 08:23:42 +02:00
Boris Zbarsky
caa7af4e42
Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley
2014-07-04 01:22:50 -04:00
Bobby Holley
d021cd9c52
Bug 1032457 - Implement the |allowCallbacks| parameter to exportFunction. r=gabor
2014-07-03 11:00:54 -07:00
Bobby Holley
290c97f755
Bug 1032457 - Separate out cloning and non-cloning function forwarders. r=gabor
...
We're going to add functionality to the cloning version, and the non-cloning
version is going away.
2014-07-03 11:00:54 -07:00
Bobby Holley
baf86dda2c
Bug 1032457 - Rename ExportOptions to ExportFunctionOptions. r=gabor
2014-07-03 11:00:53 -07:00
Ryan VanderMeulen
2ab343d76c
Backed out changesets 4a19dcbc7e7a and 4907115e02e3 (bug 1029248) for non-unified bustage.
...
CLOSED TREE
2014-07-03 13:19:29 -04:00
Bill McCloskey
877dce36ab
Bug 1029248 - Allow CPOWs to QI to non-scriptable interfaces (r=mrbkap)
2014-07-03 09:48:21 -07:00
Bill McCloskey
c6d95353ef
Bug 1029248 - Add helpers to simplify CPOW unwrapping (r=mrbkap)
2014-07-03 09:48:21 -07:00
Bobby Holley
5289676e1d
Bug 1032317 - Get rid of JSD early return in RemoteXULForbidsXBLScope. r=gabor
2014-07-03 09:40:52 -07:00
Bobby Holley
268db82b97
Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor
2014-07-03 09:40:52 -07:00
Bobby Holley
66eabb813a
Bug 1032317 - Remove XPCWrappedNativeScope::GetNewOrUsed. r=gabor
2014-07-03 09:40:52 -07:00
Bobby Holley
9cbffd8d71
Bug 1032317 - Remove nsIXPConnect::InitClasses. r=gabor
2014-07-03 09:40:52 -07:00
Ms2ger
6b8ac0158d
Bug 1033697 - Remove the temporary variable 'v' from XPCConvert::NativeInterface2JSObject; r=bholley
...
There is no good reason to keep the additional local variable, especially
because it is only used inside this branch.
2014-07-03 14:58:06 +02:00
Ms2ger
98241a649f
Bug 1033697 - Remove dead code from XPCConvert::NativeInterface2JSObject; r=bholley
...
Earlier in the function, there is an always-returning branch if |flat| is
non-null, so this code is only reached with a null |flat|, and the removed
code is dead.
2014-07-03 14:58:05 +02:00
Vincent St-Amour
31c2bbfeaf
Bug 1028421 - Have xpcshell set compile-and-go. r=bz
...
From 7574b690a54b731b149f5df05dfaf7c229a98f4a Mon Sep 17 00:00:00 2001
This allows scripts to be compiled with Ion.
---
js/xpconnect/src/XPCShellImpl.cpp | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
2014-06-17 17:06:19 -07:00
Bill McCloskey
9d681f5bd5
Bug 1031608 - Enable CompartmentPerAddon when e10s is enabled at startup (r=bholley)
2014-07-02 13:23:04 -07:00
Steve Fink
349c7468ac
Bug 1022773 - Return value rooting for XPConnect, r=bholley
...
--HG--
extra : rebase_source : 7dd3b1585bbc3d6a4a22812771495dedf600d7e0
2014-06-25 15:35:37 -07:00
Steve Fink
ad8ab618ed
Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
...
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Kyle Huey
b0f4a14fc1
Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug
2014-06-30 16:02:04 -07:00
Kyle Huey
2a8f98fb8a
Bug 1031051: Part 17 - Manually implement CustomEvent. r=smaug
...
CustomEvent can't be generated because we still need the XPCOM interface which is used by a11y among others.
2014-06-30 16:02:04 -07:00
Kyle Huey
46449c2b20
Bug 1031051: Part 16 - Migrate Style*ChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:04 -07:00
Kyle Huey
c45823d923
Bug 1031051: Part 15 - Migrate Speech events to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
49c62f1910
Bug 1031051: Part 14 - Migrate DOMTransactionEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
fa19fcd2c5
Bug 1031051: Part 12 - Migrate DeviceStorageChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
872d591aa2
Bug 1031051: Part 11 - Migrate DeviceOrientationEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
d6a2b3b898
Bug 1031051: Part 10 - Migrate MozSettingsEvent and MozApplicationEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
e4940ba33b
Bug 1031051: Part 9 - Migrate RecordErrorEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
217b65221f
Bug 1031051: Part 8 - Migrate SmartCardEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
81efb10283
Bug 1031051: Part 7 - Migrate PageTransitionEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
e375b0aae7
Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
760b7d243b
Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:01 -07:00
Kyle Huey
ee70914a12
Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen
2014-06-30 16:01:11 -07:00
Kyle Huey
9fdab2c0a8
Bug 1031051: Part 3 - Migrate CloseEvent to the WebIDL code generator. r=smaug
2014-06-30 16:00:31 -07:00
Kyle Huey
726d8c16de
Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:00:31 -07:00
Eric Faust
ae2d610abf
Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz)
2014-06-27 04:44:08 -07:00
Eric Faust
83a8fc2004
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
79682b184f
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC)
2014-06-27 04:44:04 -07:00
Birunthan Mohanathas
fde25541bd
Bug 1028557 - Part 1: Flatten xpcom/reflect/xptinfo/{public,src}/ directories. r=bsmedberg
...
--HG--
rename : xpcom/reflect/xptinfo/src/ShimInterfaceInfo.cpp => xpcom/reflect/xptinfo/ShimInterfaceInfo.cpp
rename : xpcom/reflect/xptinfo/src/ShimInterfaceInfo.h => xpcom/reflect/xptinfo/ShimInterfaceInfo.h
rename : xpcom/reflect/xptinfo/src/TODO => xpcom/reflect/xptinfo/TODO
rename : xpcom/reflect/xptinfo/public/XPTInterfaceInfoManager.h => xpcom/reflect/xptinfo/XPTInterfaceInfoManager.h
rename : xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl => xpcom/reflect/xptinfo/nsIInterfaceInfo.idl
rename : xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl => xpcom/reflect/xptinfo/nsIInterfaceInfoManager.idl
rename : xpcom/reflect/xptinfo/src/xptiInterfaceInfo.cpp => xpcom/reflect/xptinfo/xptiInterfaceInfo.cpp
rename : xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp => xpcom/reflect/xptinfo/xptiInterfaceInfoManager.cpp
rename : xpcom/reflect/xptinfo/src/xptiTypelibGuts.cpp => xpcom/reflect/xptinfo/xptiTypelibGuts.cpp
rename : xpcom/reflect/xptinfo/src/xptiWorkingSet.cpp => xpcom/reflect/xptinfo/xptiWorkingSet.cpp
rename : xpcom/reflect/xptinfo/public/xptinfo.h => xpcom/reflect/xptinfo/xptinfo.h
rename : xpcom/reflect/xptinfo/src/xptiprivate.h => xpcom/reflect/xptinfo/xptiprivate.h
2014-06-30 08:39:45 -07:00
Peter Van der Beken
d73f6e3936
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
c3c28cd39c
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
05aa543b2f
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
Jim Blandy
cb2e9869d1
Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug
2014-06-27 11:05:08 -07:00
Carsten "Tomcat" Book
0eb85aa96e
Backed out changeset 346912776f97 (bug 1027402)
2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
bdabef164c
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Carsten "Tomcat" Book
8d364a1cc4
Backed out changeset 96443362db6f (bug 1027402)
2014-06-27 14:21:17 +02:00
Eric Faust
82556410aa
Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz)
2014-06-27 04:44:08 -07:00
Eric Faust
292636680c
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
d788ef7195
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley)
2014-06-27 04:44:04 -07:00
Andrew McCreight
57221a6df2
Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv
2014-06-26 09:29:05 -07:00
Bill McCloskey
e768db9720
Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley)
2014-06-23 16:33:37 -07:00
Bobby Holley
488e6d0acd
Bug 1027131 - Use StackScopedClone for cloneInto. r=gabor
2014-06-23 13:25:08 -07:00
Bobby Holley
0569fde8d9
Bug 1027131 - Add support for function cloning in StackScopedClone. r=gabor
2014-06-23 13:25:08 -07:00
Bobby Holley
805eb76a47
Bug 1027131 - Innerize before reflector detection. r=gabor
2014-06-23 13:25:08 -07:00
Bobby Holley
8cb47bff3b
Bug 1027131 - Add support for Blob and FileList in the wrapReflectors = false case. r=gabor
2014-06-23 13:25:08 -07:00
Bobby Holley
2ef10e6572
Bug 1027131 - Switch to a struct for the StackScopedClone closure. r=gabor
2014-06-23 13:25:08 -07:00
Bobby Holley
b005530a36
Bug 1027131 - Rename CloneNonReflectors into StackScopedClone, and give it an options struct. r=gabor
2014-06-23 13:25:07 -07:00
Bobby Holley
472bdf6c66
Bug 1027131 - Remove invalid assertion. r=gabor
...
If a clone happens between two same-origin scopes, we'll end up with CCWs here
that are neither Xrays nor reflectors.
2014-06-23 13:25:07 -07:00
Bobby Holley
1a6329f053
Bug 1027131 - Split out ExportHelpers.cpp. r=gabor
...
A lot of this stuff is usable from both Sandbox.cpp and XPCComponents.cpp, and
those files are both pretty big these days.
2014-06-23 13:25:07 -07:00
Jason Orendorff
42a78a347e
Bug 645416, part 3 - Symbol layout and GC support for allocating them. r=terrence.
...
Layout: js/src/vm/Symbol.h defines the new class JS::Symbol. JS::Symbol is the
same size as JSString on all platforms, because the allocator does not support
smaller allocations.
Allocation: Since the purpose of symbols is to serve as property keys, they are
always allocated in the atoms compartment.
We take a lock when allocating. This could probably be replaced with a
main-thread-only assertion. However, if atom allocation is not already a
bottleneck, symbol allocation probably never will be.
Symbols are given their own finalize-class in the GC. This means we allocate a
page per zone for symbols, even though they are only ever allocated in the
atoms zone. Terrence thought this could be easily fixed later. It should be; we
never touch the page, but a 32-bit virtual address space does not just have
infinite pages to spare.
A jsapi-test exercises the new symbol allocation code. A few oddities in
jsapi-tests are fixed in passing.
Discussion after review led to some new assertions about minimum object size in
AllocateObject and AllocateNonObject.
--HG--
extra : rebase_source : 45abb651d3b1b493d77a5dd0eb554f96b058c63a
2014-06-23 10:55:51 -05:00
Benoit Jacob
5d09c9860e
Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley
2014-06-23 14:49:08 -04:00
Peter Van der Beken
98bc3ecb24
Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz.
2013-07-04 17:40:06 +02:00
Bill McCloskey
8fd2ccc803
Bug 990729 - Add compartmentPerAddon option for XUL overlays (r=bholley)
2014-06-21 11:55:15 -07:00
Bill McCloskey
742a3daf61
Bug 990729 - No longer store addonId in sandbox metadata (r=bholley)
2014-06-21 11:54:37 -07:00
Bill McCloskey
b3a35170a9
Bug 990729 - Add writeToGlobalPrototype option for sandboxes (r=bholley)
2014-06-21 11:54:36 -07:00
Brian Hackett
69dc66c545
Bug 1020012 - Consolidate ScriptSources with the same source, r=luke.
2014-06-21 10:39:04 -07:00
Ms2ger
8824fbbbd9
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
e67cb5f1e0
Backout revision 308e51eae10c for build bustage.
...
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
6a7f549221
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Bobby Holley
aa57ea18a1
Bug 976148 - Support the .name and .length properties of Function instances. r=gabor
2014-06-19 09:57:06 -07:00
Birunthan Mohanathas
617866f602
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Nicholas Nethercote
bb9d51e11e
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Eric Faust
328fc1e2be
Bug 1011660 - Remove separate DOMClass struct. (r=bz)
2014-06-18 13:19:19 -07:00
Ryan VanderMeulen
2f0a82eeb9
Backed out changeset aca2ec2457ec (bug 1016738) for re-introducing frequent WebRTC crashes.
2014-06-17 21:12:43 -04:00
Boris Zbarsky
632d59fe2d
Bug 1019194 part 1. Get rid of nsIIndexedDatabaseManager. r=paul,khuey,mossop
2014-06-17 15:01:47 -04:00
Bill McCloskey
323cf39708
Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco)
2014-06-17 11:20:33 -07:00
Ben Kelly
935db1e193
Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz
2014-06-16 12:52:00 -04:00
Brian Hackett
dbfdfe3e8d
Bug 1024038 - Remove YARR, r=jandem.
2014-06-16 15:37:53 -07:00
Sushant Dinesh
234b3636ac
Bug 1020364. Change parallel_compilation to offthread_compilation to prevent confusion. r=h4writer.
2014-06-16 12:05:12 +02:00
Daniel Stenberg
289d93b851
Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
...
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.
Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER
In HTTP1.1 for Content-Length: and chunked-encoding underruns
In http2 and SPDY for framing errors when data has already been received.
imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Andrew McCreight
1ce2a85dbb
Bug 1019101 - Add a way to get the max CC pause during a given period of time. r=smaug
2014-06-14 16:43:45 -07:00
Nicholas Nethercote
69faa48701
Backout 277bacd9f2f8 (bug 1023719) for causing intermittent crashes.
...
--HG--
extra : rebase_source : e6c9e54dd2df572da7f8cdf3cd6226a1aeeee883
2014-06-13 06:39:16 -07:00
David Major
a54a2eb7d5
Bug 1024265 - Adjust the trusted script buffer size for win64. r=bholley
...
--HG--
extra : rebase_source : f7e16ccaae5892f3b25ed1b0da6e0f3159dadd25
2014-06-13 10:37:05 +12:00
David Major
1a49c0c89e
Bug 1024265 - Part 0: Fix comments. r=bholley DONTBUILD
...
--HG--
extra : rebase_source : 8bc1cf12182f241f0a1cfdaf27d54c9c56e69bda
2014-06-13 10:30:33 +12:00
Boris Zbarsky
1284410aa0
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Ed Morley
2b8182380e
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-06-11 17:14:10 +01:00
Wes Kocher
bed1de563f
Merge m-c to b2g-inbound
2014-06-10 18:57:00 -07:00
Vicamo Yang
03ca6aeb5b
Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug
2014-06-11 09:23:34 +08:00
Gijs Kruitbosch
9255c62f6f
Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley
2014-06-09 19:09:51 +01:00
Ed Morley
62dc0bf17c
Backed out changeset 6d172e86ce2e (bug 1022002) for tipping Android 2.3 reftest-6 runtimes over the max time limit
2014-06-10 15:08:49 +01:00
Gijs Kruitbosch
3c3b551714
Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley
2014-06-09 19:09:51 +01:00
Bill McCloskey
99787ebd6d
Bug 1016738 - Back out for webrtc crashes.
2014-06-09 12:30:38 -07:00
Nicholas Nethercote
355f7423fd
Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
...
--HG--
extra : rebase_source : 5a842c36cf7202f6751290da80cefb005fd8db95
2014-04-15 19:43:18 -07:00
Boris Zbarsky
3dc420b015
Bug 1020715. Remove the quickstubs for quota API. r=peterv
2014-06-10 22:38:06 -04:00