Douglas Crosher
5504e2141f
Bug 964258 - IonMonkey: Use mprotect for interrupt check on ARM. r=bhackett
2014-07-12 10:04:29 +10:00
Jan Beich
878c1d006f
Bug 1037252 - Unbreak --disable-ion build after bug 1021790. r=bhackett
2014-07-12 10:21:03 +02:00
Jan de Mooij
43d1c81388
Bug 1034689
part 3 - Fix remaining places in Gecko to handle Latin1 strings. r=bz
2014-07-12 09:43:08 +02:00
Jan de Mooij
79d27dc619
Bug 1034689
part 2 - Add AssignJSFlatString and use it. r=bz,terrence
2014-07-12 09:43:06 +02:00
Jeff Walden
30e19aea13
Minor bustage fixes for bug 1037609 and bug 1037100. r=bustage
...
--HG--
extra : rebase_source : 72083f1ec1036497a4d6a93ee614ea60794ae749
2014-07-11 21:03:07 -07:00
Jeff Walden
e7366d0824
Bug 901351 - Tests. r=jorendorff
...
--HG--
extra : rebase_source : 6c35e645511632868953dec45fa0a3b86e0f9f34
2013-08-08 17:31:45 -07:00
Jeff Walden
1b00e1824b
Bug 1037106 - Use UniquePtr to manage ownership of the Debugger C++ class instance created for a new Debugger object, until it can be stored in the Debugger object's private slot (and owned by it). r=jimb, r=luke
...
--HG--
extra : rebase_source : 0f283bdd22e0e1d320f12b60e9fe98b5a606aa8d
2014-07-09 17:58:43 -07:00
Jeff Walden
f4bf4b99f5
Bug 1036710 - Use UniquePtr to manage ownership of the array of PNK_CASE nodes in table switches. r=jorendorff
...
--HG--
extra : rebase_source : 35a808887ea5dd2dfbd0b81e8628e9a38563c292
2014-07-09 16:59:57 -07:00
Jeff Walden
e1925af47a
Bug 1037609 - Make ScriptSource::{display,SourceMap}URL_ into UniquePtrs. Also add js::DuplicateString that's like js_strdup but returns a UniquePtr. r=jimb, r=mccr8
...
--HG--
extra : rebase_source : 2d8f84a97047d10bbf81e6cd7735a7f802f74194
2014-07-11 12:50:05 -07:00
Nathan Braswell
8bb25a9efd
Bug 1032956 - Self-hosted functions in {Object,Function}.{,prototype.}* are broken and fail on an assert. r=jwalden
...
--HG--
extra : rebase_source : 050efcbf6e69314cabd5a9910981684d92fa4836
2014-07-07 11:48:48 -07:00
Bobby Holley
3ffe1a37c3
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
9fcc9f3096
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
31b9417307
Bug 1036777 - Stop relying on useAllocator for 'in' string classes in ConvertIndependentParam. r=neil
2014-07-11 19:21:22 -07:00
Boris Zbarsky
7bf5a529d9
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
7a44e33e2c
Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley
2014-07-11 19:32:46 -04:00
Chris Peterson
317399940c
Back out 805ac89b5924 (Bug 1036781) for 52% regression on AWFY's asmjs-ubench-skinning.
2014-07-11 16:01:11 -07:00
Brian Hackett
f21b5eb32b
Bug 1024786 - Watch for inferred file/line information on errors when printing error contexts, r=jandem.
2014-07-11 14:59:20 -08:00
Bobby Holley
c14d9c63b1
Bug 1034682 - Set wantXrays to false for content XBL scopes. r=billm
2014-07-11 15:56:27 -07:00
Bobby Holley
28f31fb0c4
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
2caab53ece
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
Emanuel Hoogeveen
2965083f6f
Bug 1017165 - Sort arenas in order of increasing free space during finalization. r=billm
2014-07-11 09:39:00 -04:00
Kannan Vijayan
da77f6f43f
Bug 1026485 - Fix sps bug relating to ArgumentCheck bailouts that cause OOMs. r=nbp
2014-07-11 14:47:47 -04:00
Bobby Holley
2b47d5e6dc
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
388234074b
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
b297e14b15
Bug 1034627 part 7 - Cleanup and expose UTF8 conversion functions. r=terrence
2014-07-11 16:22:37 +02:00
Jan de Mooij
241ed1598d
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
56947545c1
Bug 987669 - Tests. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
e02167ae21
Bug 987669 - Turn on Xrays for Error objects. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
7d9004da47
Bug 987669 - Add Xray support for FooError.prototype.name. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
e0938bdec8
Bug 987669 - Implement Xray support for the data properties on ErrorObject instances. r=gabor
2014-07-11 09:09:21 -07:00
Bobby Holley
d896ae2a5e
Bug 987669 - Implement IsErrorObjectKey and do more at compile-time. r=gabor
2014-07-11 09:09:21 -07:00
Bobby Holley
e3f1bd9b22
Bug 987669 - Implement JS::ProtoKeyToId. r=luke
2014-07-11 09:09:21 -07:00
Bobby Holley
bc8026fc56
Bug 1036507 - Introduce and use StandardProtoKeyOrNull. r=luke
2014-07-11 09:09:21 -07:00
Bobby Holley
c30eb1475a
Bug 1036507 - Remove deceptive GetClassProtoKey API. r=luke
...
This thing is basically only useful for ye olde JS_InitClass classes where
people might try to create objects with external JSClasses and expect various
defaults when they invoke JS_NewObject. Let's move it out of the way.
2014-07-11 09:09:21 -07:00
Bobby Holley
17bdd0be64
Bug 1036507 - Remove some unused code. r=luke
2014-07-11 09:09:20 -07:00
Bobby Holley
3b3c803c5f
Bug 940316 - Move werror to RuntimeOptions. r=jandem
2014-07-11 08:30:47 -07:00
Ed Morley
9d72dd53ad
Backed out changeset 8f50bc05d337 (bug 1034627) for debug build failures
2014-07-11 15:46:53 +01:00
Ed Morley
d6d6dd55ba
Backed out changeset 110fbc2ebc1a (bug 1034627)
2014-07-11 15:46:33 +01:00
Ed Morley
e1d8d798ea
Backed out changeset bcba40acc0ac (bug 1034627)
2014-07-11 15:46:29 +01:00
Jan de Mooij
e2804681c2
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
b8df866c2b
Bug 1034627 part 7 - Cleanup and expose UTF8 conversion functions. r=terrence
2014-07-11 16:22:37 +02:00
Jan de Mooij
ed823bf62b
Bug 1034627 part 5 - Make quick stubs work with Latin1 strings and nursery strings. r=bz
2014-07-11 16:22:35 +02:00
Nick Fitzgerald
348893909d
Bug 1034477 - Save stacks that cross contexts in js::SavedStacks. r=shu
2014-07-10 12:33:00 -04:00
Jan de Mooij
4a6954dcec
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
11df9d6d66
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
f0569c8ad2
Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows
2014-07-11 14:15:29 +02:00
David Moreira
856fca6e15
Bug 1028675 - Implement RInstruction for StringSplit. r=nbp
2014-07-11 03:04:45 -07:00
Jon Coppeard
7c93db3865
Bug 1034621 - Make it possible to configure nursery size r=terrence
...
--HG--
extra : rebase_source : 7bdf2b2b15712a31baa34501ef4adcfe0ef8bf7d
2014-07-11 09:59:05 +01:00
Carsten "Tomcat" Book
6f8c5db933
Backed out changeset f78470faff8e (bug 1034627) Valgrind Test failures on a CLOSED TREE
2014-07-11 11:00:52 +02:00
Carsten "Tomcat" Book
8d5ad53d61
Backed out changeset 110e44b996f8 (bug 1034627) for Valgrind Testfailures on a CLOSED TREE
2014-07-11 11:00:21 +02:00