Alexandre Poirot
98afd25e0d
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Mike Hommey
622bf09730
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09: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
Alexandre Poirot
37506aa45c
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Bobby Holley
ffe3111a73
Bug 742444 - Only propagate waivers between same-origin compartments. r=gabor
2014-07-22 16:14:27 -07:00
Bobby Holley
eaccea432a
Bug 742444 - Pass the old wrapper or value to the prewrap callback instead of its flags. r=gabor
...
We need this so that we can reason about the origin of the wrapper that
previously had a waiver and decide whether or not to extend it.
2014-07-22 16:14:27 -07:00
Bob Owen
7cea4e4d14
Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley
2014-07-18 12:52:32 +01:00
Nicholas Nethercote
523362fec4
Bug 1039162 (attempt 2) - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
2014-07-16 22:45:29 -07:00
Bobby Holley
4ae6a9f387
Bug 1036790 - Only expect pjs methods for nightly builds in test_xrayToJS.xul. r=me
2014-07-20 16:15:22 -06:00
Bobby Holley
972dacf31e
Bug 930091 - Check objects at COW membranes. r=gabor,r=msucan
2014-07-20 15:36:32 -06:00
Bobby Holley
71765487c1
Bug 1040181 - Use an opaque wrapper rather than failing in Rewrap. r=gabor
2014-07-20 10:03:58 -06:00
Trevor Saunders
21fb0d365a
no bug - don't return nullptr in functions returning bool r=themaid
2014-07-17 20:11:27 -04:00
Bill McCloskey
b7d71d4781
Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley)
2014-07-18 16:50:55 -07:00
Mike Hommey
d3f990ebdb
Bug 1040639 - Remove LIBS_DIR. r=mshal
2014-07-19 08:42:16 +09:00
Ahmed Kachkach
4b03d2c025
Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger
2014-07-17 09:02:00 +02:00
Bobby Holley
96f5760708
Bug 1038844
- Implement a COW opt-out for automation. r=gabor,sr=mrbkap
2014-07-17 21:34:48 -07:00
Carsten "Tomcat" Book
ae1ff01d28
Backed out changeset 33ff09852b0a (bug 1039162) for ics emulator opt/debug test failures
2014-07-17 09:18:16 +02:00
Nicholas Nethercote
c6a865ac70
Bug 1039162 - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
...
|for ... each| loops create an Iterator object each time they execute. They're
also an E4X hangover. Converting them to vanilla arrays avoids the creation of
almost 6,000 Iterator objects when starting up B2G, mostly due to makeQI().
--HG--
extra : rebase_source : f3a3fe2d64a045dacf70461611d9a0b72a38a210
2014-07-16 22:45:29 -07:00
Birunthan Mohanathas
a4ac396211
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
6675f63031
Bug 1037886 - Report Latin1 and TwoByte strings separately in about:memory. r=njn
2014-07-16 19:11:50 +02:00
Jon Coppeard
e02ddd1af3
Bug 1038274 - Really fix previous problem with landing r=me
2014-07-16 12:04:33 +01:00
Jon Coppeard
2ed8ff7bfc
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Jon Coppeard
0136e9a714
Backed out changeset 5290e42e8345 (bug 1038274) for disabling GC malloc trigger
2014-07-16 11:34:49 +01:00
Jon Coppeard
948a1ddf13
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Bobby Holley
52d26b4f2d
Bug 1037264 - Add an 8-bit short-lived string cache. r=neil
2014-07-15 16:30:51 -07:00
Bobby Holley
bad841d721
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
d5bc7cc4b8
Bug 940323 - Mode strictMode to RuntimeOptions. r=jandem
2014-07-15 09:04:20 -07:00
Bobby Holley
e6562f0ffa
Bug 1036185 - Clean up logic in IsPermitted (bonus fix). r=gabor
2014-07-15 09:04:19 -07:00
Bobby Holley
5153c3cf9f
Bug 1036185 - Remove XPCCallContext::UnwrapThisIfAllowed. r=gabor
2014-07-15 09:04:19 -07:00
Jan de Mooij
cfcce18b5a
Bug 1037613 - rm js_GetLocalizedErrorMessage, localeGetErrorMessage callback. r=jorendorff
2014-07-15 15:14:38 +02:00
Bill McCloskey
c0cc070864
Bug 1017323 - Fix more non-unified build bustage
2014-07-14 23:12:18 -07:00
Bill McCloskey
47a7769d00
Bug 1017323 - Fix some non-unified build bustage
2014-07-14 22:49:09 -07:00
Bill McCloskey
926f8bfdd8
Bug 1017323 - Add-on interposition (r=bholley)
2014-07-14 22:10:05 -07:00
Andrew McCreight
c3a80ae7ac
Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan
2014-07-14 12:21:34 -07:00
Bobby Holley
2b91ca141d
Bug 856067 - Actually push the test. r=me CLOSED TREE
2014-07-14 10:22:51 -07:00
Bobby Holley
b37b624cfa
Bug 856067 - Tests. r=me
2014-07-14 10:09:07 -07:00
Bobby Holley
d65aa88546
Bug 856067 - Add some helpful logging to the console when we deny access to a non-Xrayable object. r=gabor
2014-07-14 10:09:07 -07:00
Bobby Holley
2fac4671d3
Bug 856067 - Remove special case for content XBL scopes. r=gabor
...
This is now the default behavior. \o/
2014-07-14 10:09:07 -07:00
Bobby Holley
1ef8a86459
Bug 856067 - Make unwaived non-Xrayable objects opaque from privileged code. r=gabor
2014-07-14 10:09:07 -07:00
Bobby Holley
65bed4527b
Bug 856067 - Fix up test_xrayToJS.xul. r=gabor
2014-07-14 10:09:06 -07:00
Octoploid
393cf7b755
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
999a47cf8c
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
89cf0e3900
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
de1ac1f4bd
Bug 1036777 - Stop relying on useAllocator for 'in' string classes in ConvertIndependentParam. r=neil
2014-07-11 19:21:22 -07:00
Boris Zbarsky
4330519678
Bug 832014 part 9. Switch AccessCheck to using the generated LocationBinding::IsPermitted method. r=bholley
2014-07-11 19:34:44 -04:00
Boris Zbarsky
618671a12c
Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley
2014-07-11 19:32:46 -04:00
Bobby Holley
4776e65d38
Bug 1034682 - Set wantXrays to false for content XBL scopes. r=billm
2014-07-11 15:56:27 -07:00
Bobby Holley
a510cbf751
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
38ba3e44e0
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
Bobby Holley
e7024b77c9
Bug 987669 - Just use macros because MSVC and gcc don't have real constexpr support. r=me CLOSED TREE
2014-07-11 09:37:00 -07:00
Jan de Mooij
680e7363ee
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
10540962e8
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
05fbd0d662
Bug 987669 - Tests. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
c4700e5072
Bug 987669 - Turn on Xrays for Error objects. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
83fe833e66
Bug 987669 - Add Xray support for FooError.prototype.name. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
d4e5d6b652
Bug 987669 - Implement Xray support for the data properties on ErrorObject instances. r=gabor
2014-07-11 09:09:21 -07:00
Bobby Holley
d2fd703dac
Bug 987669 - Implement IsErrorObjectKey and do more at compile-time. r=gabor
2014-07-11 09:09:21 -07:00
Bobby Holley
d204a01c8f
Bug 940316 - Move werror to RuntimeOptions. r=jandem
2014-07-11 08:30:47 -07:00
Ed Morley
d8704a83d2
Backed out changeset 8f50bc05d337 (bug 1034627) for debug build failures
2014-07-11 15:46:53 +01:00
Ed Morley
9af578991f
Backed out changeset bcba40acc0ac (bug 1034627)
2014-07-11 15:46:29 +01:00
Jan de Mooij
4e84888995
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
bcdc561427
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
cda5c814db
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
42fd43e50e
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
ce57787693
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
Carsten "Tomcat" Book
4a0de0298f
Backed out changeset f78470faff8e (bug 1034627) Valgrind Test failures on a CLOSED TREE
2014-07-11 11:00:52 +02:00
Carsten "Tomcat" Book
eb71d8cf86
Backed out changeset 110e44b996f8 (bug 1034627) for Valgrind Testfailures on a CLOSED TREE
2014-07-11 11:00:21 +02:00
Jan de Mooij
8ff8c31410
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
117c8ed18c
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
Ahmed Kachkach
50db9012f6
Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger
2014-07-10 13:33:00 +02:00
Chris Peterson
6f5eb4b6c9
Bug 1036778 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/xpconnect. r=bholley
2014-06-29 20:42:36 -07:00
Bill McCloskey
b7f2ddaeba
Bug 1029248 - Allow CPOWs to be converted to native interfaces (r=mrbkap)
2014-07-10 16:47:26 -07:00
Bill McCloskey
e03b6322a0
Bug 1029248 - Clean up CPOW unwrapping (r=mrbkap)
2014-07-10 16:47:04 -07:00
Ms2ger
1a551c7ee8
Backout changeset 69c0707a144a for crashes on a CLOSED TREE.
2014-07-10 21:04:26 +02:00
Ms2ger
86555a0dfd
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
Bobby Holley
c6ad0230b3
Bug 1034262 - Honor the wantXrays of both sides of the membrane when computing same-origin wrappers. r=gabor
...
The basic problem in the testcase is that one compartment requests same-origin
Xrays via wantXrays=true (the default for Sandboxes) while the other does not.
The current code only considers the wantXrays flag of the compartment performing
the access, so we end up in a situation where we have same-origin compartments,
but Xray in one direction and Transparent in the other.
This is a problem for crossCompartmentFunction.apply(null, [arg]). If both
globals get transparent wrappers, there's obviously no problem. And if both
globals get XrayWrappers, then the |apply| happens on the XrayWrapper of the
function in the caller's compartment. So the Array is unpacked in the caller's
compartment, and again we have no problem.
But if the caller gets Transparent and the callee gets Xrays, then we end up
invoking |apply| from the callee's side, which then gets an XrayWrapper to the
array. This XrayWrapper may do surprising things, leading to the odd situation
in the testcase.
Same-origin Xrays are kind of broken anyway, but I don't think we'll ever be
able to get rid of them. So the most sensible thing to do is probably to honor
the flag (if set) from either compartment. This patch does that.
2014-07-10 10:04:30 -07:00
Bobby Holley
4a9f9e844b
Bug 1034239 - Replace GentlyOpaque with an "Xray-to-nothing" wrapper. r=gabor
...
I did this wrong before. Making this a SecurityWrapper means that the caller does
not subsumes the target, and that the target therefore needs to be protected
from the caller. But GentlyOpaque was supposed to be an analog of PermissiveXray
for use when no useful XrayTraits exist, so it should behave similarly.
If we make this a Filtering Security Wrapper, we get a bunch of assertions where we
expect CheckedUnwrap to succeed for a chrome-side wrapper. And we can't making it
a Filtering Non-Security Wrapper, because then the filtering policy isn't even
consulted (an optimization in jsproxy.cpp).
Really, we want all of the Xray machinery (like the ability to waive and to place
expandos), and we just don't want to resolve any properties. This patch does this.
2014-07-10 09:31:37 -07:00
Bobby Holley
bba8240dd7
Bug 1034239 - Add Proxies to ForceCOWBehavior. r=gabor
2014-07-10 09:31:37 -07:00
Jan de Mooij
b986e6ec0f
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
edbd6779df
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
00d8fa7118
Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink
2014-06-06 09:36:00 -07:00
Jeff Walden
7a88795a72
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
Bobby Holley
ec0078e10d
Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv
2014-07-07 13:11:24 -07:00
Jan de Mooij
44da586636
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
f0dce63c2c
Bug 1029933
- Introduce and use ParentKeyForStandardClass. r=Waldo
2014-07-04 12:41:28 -07:00
Bobby Holley
98413afdad
Bug 1029933
- Introduce the concept of "dependent" standard classes and handle them in the ClassSpec infrastructure. r=Waldo
2014-07-04 12:41:28 -07:00
Bobby Holley
1c19351c9a
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
4c7f38333c
Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley
2014-07-04 01:22:50 -04:00
Carsten "Tomcat" Book
2271e217f3
Backed out changeset df2b43d4581e (bug 1018583)
2014-07-04 08:23:42 +02:00
Boris Zbarsky
3dc237819d
Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley
2014-07-04 01:22:50 -04:00
Bobby Holley
2d531b7c33
Bug 1032457 - Implement the |allowCallbacks| parameter to exportFunction. r=gabor
2014-07-03 11:00:54 -07:00
Bobby Holley
e99f0db620
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
62998b097a
Bug 1032457 - Rename ExportOptions to ExportFunctionOptions. r=gabor
2014-07-03 11:00:53 -07:00
Ryan VanderMeulen
658554a580
Backed out changesets 4a19dcbc7e7a and 4907115e02e3 (bug 1029248) for non-unified bustage.
...
CLOSED TREE
2014-07-03 13:19:29 -04:00
Bill McCloskey
ed70539e9e
Bug 1029248 - Allow CPOWs to QI to non-scriptable interfaces (r=mrbkap)
2014-07-03 09:48:21 -07:00
Bill McCloskey
42d60ab372
Bug 1029248 - Add helpers to simplify CPOW unwrapping (r=mrbkap)
2014-07-03 09:48:21 -07:00
Bobby Holley
b9e58ec853
Bug 1032317 - Get rid of JSD early return in RemoteXULForbidsXBLScope. r=gabor
2014-07-03 09:40:52 -07:00
Bobby Holley
71f1a77169
Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor
2014-07-03 09:40:52 -07:00
Bobby Holley
0eb34339eb
Bug 1032317 - Remove XPCWrappedNativeScope::GetNewOrUsed. r=gabor
2014-07-03 09:40:52 -07:00
Bobby Holley
30506cb311
Bug 1032317 - Remove nsIXPConnect::InitClasses. r=gabor
2014-07-03 09:40:52 -07:00
Ms2ger
5fd953a2d2
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
c748b49669
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
Bobby Holley
7bfa2b8c8f
Bug 1033920 - Handle null in XrayWrapper::setPrototypeOf. v1 r=efaust
...
From ac73068c4494c0df74329482e57f64ba8ec93cb4 Mon Sep 17 00:00:00 2001
2014-07-02 21:06:28 -07:00
Vincent St-Amour
315c7d2229
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
758f71cb11
Bug 1031608 - Enable CompartmentPerAddon when e10s is enabled at startup (r=bholley)
2014-07-02 13:23:04 -07:00
Bobby Holley
9e1742f3c3
Bug 1033253 - Null-check the result of JS_GetFunctionId. r=bz
2014-07-02 11:02:11 -07:00
Steve Fink
04d4a79438
Bug 1022773 - Return value rooting for XPConnect, r=bholley
...
--HG--
extra : rebase_source : 7dd3b1585bbc3d6a4a22812771495dedf600d7e0
2014-06-25 15:35:37 -07:00
Steve Fink
e0b7644d4e
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
Steve Fink
7b06fcf9bd
Bug 1022773 - Resolve hazard by switching Compile to MutableHandle, r=terrence,smaug,bholley
...
--HG--
extra : rebase_source : a6f4eb9138688c09bce15f36ffc0bdb5b6e3dc5f
2014-06-11 17:38:22 -07:00
Kyle Huey
4266528680
Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug
2014-06-30 16:02:04 -07:00
Kyle Huey
21d8fc32e7
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
0f7b974094
Bug 1031051: Part 16 - Migrate Style*ChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:04 -07:00
Kyle Huey
adffec442f
Bug 1031051: Part 15 - Migrate Speech events to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
bd2d1d2675
Bug 1031051: Part 14 - Migrate DOMTransactionEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
24d6a0be33
Bug 1031051: Part 12 - Migrate DeviceStorageChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
f9a248ddf8
Bug 1031051: Part 11 - Migrate DeviceOrientationEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:03 -07:00
Kyle Huey
3cb0de16a6
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
abf5caa4a0
Bug 1031051: Part 9 - Migrate RecordErrorEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
30920f0855
Bug 1031051: Part 8 - Migrate SmartCardEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
273a6ca8da
Bug 1031051: Part 7 - Migrate PageTransitionEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
2d64bf6efa
Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
a1d1526ae4
Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:01 -07:00
Kyle Huey
1d1eb7826d
Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen
2014-06-30 16:01:11 -07:00
Kyle Huey
e1b3a9ea41
Bug 1031051: Part 3 - Migrate CloseEvent to the WebIDL code generator. r=smaug
2014-06-30 16:00:31 -07:00
Kyle Huey
f4f09309a4
Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:00:31 -07:00
Eric Faust
19ae308309
Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz)
2014-06-27 04:44:08 -07:00
Eric Faust
04ec29520a
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a
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
d6d3b525f2
Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley)
2014-06-27 04:44:02 -07:00
Birunthan Mohanathas
ac3455bfff
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
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
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
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
Jim Blandy
e07aaa8185
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
e4f5e9f3a3
Backed out changeset 2c6403818106 (bug 1027402) for bustage on a CLOSED TREE
2014-06-27 14:21:46 +02:00
Carsten "Tomcat" Book
cbe01cdaa8
Backed out changeset 346912776f97 (bug 1027402)
2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Carsten "Tomcat" Book
0c7ea5265d
Backed out changeset 96443362db6f (bug 1027402)
2014-06-27 14:21:17 +02:00
Eric Faust
6f7e434c6b
Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz)
2014-06-27 04:44:08 -07:00
Eric Faust
62d61ccf3f
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
6091687271
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley)
2014-06-27 04:44:04 -07:00
Eric Faust
89bdda2ed7
Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley)
2014-06-27 04:44:02 -07:00
Andrea Marchesini
6ec27357af
Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent
2014-06-26 09:47:44 -07:00
Andrew McCreight
ddc6e4ad99
Bug 1029660
- Remove nsContentUtils::DeferredFinalize. r=peterv
2014-06-26 09:29:05 -07:00
Jim Blandy
7e20285e70
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Bill McCloskey
64b94c4b6d
Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley)
2014-06-23 16:33:37 -07:00
Bobby Holley
e8cb8d7c75
Bug 1027131 - Additional tests for wrapReflectors. r=gabor
2014-06-23 13:25:09 -07:00
Bobby Holley
81bc7fd4b5
Bug 1027131 - Use StackScopedClone for cloneInto. r=gabor
2014-06-23 13:25:08 -07:00
Bobby Holley
4cea2d6728
Bug 1027131 - Add support for function cloning in StackScopedClone. r=gabor
2014-06-23 13:25:08 -07:00