Ryan VanderMeulen
99886e5bda
Merge inbound to m-c. a=merge
2014-07-14 15:47:36 -04:00
Ryan VanderMeulen
86a8d8d445
Backed out changeset 0d237b824f96 (bug 1017165) for causing bug 1037750 and bug 1037772.
2014-07-14 15:40:24 -04:00
Bobby Holley
b9c30b55ac
Bug 856067 - Actually push the test. r=me CLOSED TREE
2014-07-14 10:22:51 -07:00
Bobby Holley
5430dbb693
Bug 856067 - Tests. r=me
2014-07-14 10:09:07 -07:00
Bobby Holley
bf077afa17
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
fd59f850a8
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
1576579a77
Bug 856067 - Make unwaived non-Xrayable objects opaque from privileged code. r=gabor
2014-07-14 10:09:07 -07:00
Bobby Holley
b7d711f17b
Bug 856067 - Fix up test_xrayToJS.xul. r=gabor
2014-07-14 10:09:06 -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
Douglas Crosher
7e6adf318e
Bug 964258 - IonMonkey: Use mprotect for interrupt check on ARM. r=bhackett
2014-07-12 10:04:29 +10:00
Jan Beich
5956f5f781
Bug 1037252 - Unbreak --disable-ion build after bug 1021790. r=bhackett
2014-07-12 10:21:03 +02:00
Jan de Mooij
c4d8177c2c
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
29b2d13e94
Bug 1034689
part 2 - Add AssignJSFlatString and use it. r=bz,terrence
2014-07-12 09:43:06 +02:00
Jeff Walden
39e2b3570b
Minor bustage fixes for bug 1037609 and bug 1037100. r=bustage
...
--HG--
extra : rebase_source : 72083f1ec1036497a4d6a93ee614ea60794ae749
2014-07-11 21:03:07 -07:00
Boris Zbarsky
50869bf682
Bug 857648 part 6. Remove the now-unused JS::DescribeStack API. r=jimb
2014-07-04 01:25:30 -04:00
Jan de Mooij
889d0672b3
Bug 1034689
part 1 - Make AndroidBridge JSON parsing work with Latin1 strings. r=Waldo
2014-07-14 15:01:32 +02:00
Martin Stransky
8ff6f02f5b
Bug 1037470 - Fix debug build bustage with Ion disabled. r=jandem
2014-07-11 08:28:00 -04:00
Nick Fitzgerald
fb9ac6ee38
Bug 1034463 - Ensure that PCLocationMap only ever stores scripts from its own compartment. r=shu
2014-07-12 12:54:00 -04:00
Jon Coppeard
b120873bb0
Bug 999158 - Keep a spare chunk around to mitigate GGC OOM crashes on tenuring r=terrence
2014-07-14 13:45:34 +01:00
Carsten "Tomcat" Book
ef31078371
Backed out changeset a1feed3cd303 (bug 941804) for b2g bustage on a CLOSED TREE
2014-07-14 12:34:33 +02:00
Carsten "Tomcat" Book
386c0844c2
Backed out changeset 62725e1af7fc (bug 999158) for b2g test bustage on a CLOSED TREE
2014-07-14 12:33:49 +02:00
Jon Coppeard
5c143481ad
Bug 999158 - Keep a spare chunk around to mitigate GGC OOM crashes on tenuring r=terrence
2014-07-14 10:05:17 +01:00
Jon Coppeard
f183386d45
Bug 941804 - Reduce chunk size to 256K for B2G r=terrence
2014-07-14 10:05:17 +01:00
Jeff Walden
942eb6045d
Bug 901351 - Tests. r=jorendorff
...
--HG--
extra : rebase_source : 6c35e645511632868953dec45fa0a3b86e0f9f34
2013-08-08 17:31:45 -07:00
Jeff Walden
fd95b81fc7
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
895802a75b
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
67064cd965
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
3f78778f57
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
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
Boris Zbarsky
8ea5b82c24
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
13b4ac0823
Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley
2014-07-11 19:32:46 -04:00
Chris Peterson
660b24439f
Back out 805ac89b5924 (Bug 1036781) for 52% regression on AWFY's asmjs-ubench-skinning.
2014-07-11 16:01:11 -07:00
Brian Hackett
cde5832a37
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
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
Emanuel Hoogeveen
c4623421d1
Bug 1017165 - Sort arenas in order of increasing free space during finalization. r=billm
2014-07-11 09:39:00 -04:00
Kannan Vijayan
3c34acd742
Bug 1026485 - Fix sps bug relating to ArgumentCheck bailouts that cause OOMs. r=nbp
2014-07-11 14:47:47 -04:00
Bobby Holley
1972c350ad
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
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
fc879f8bbf
Bug 1034627 part 7 - Cleanup and expose UTF8 conversion functions. r=terrence
2014-07-11 16:22:37 +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
3d8ad213fd
Bug 987669 - Tests. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
a51e8b671a
Bug 987669 - Turn on Xrays for Error objects. r=gabor
2014-07-11 09:09:22 -07:00
Bobby Holley
ad5f40b172
Bug 987669 - Add Xray support for FooError.prototype.name. r=gabor
2014-07-11 09:09:22 -07: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
30b1cd73d5
Bug 987669 - Implement IsErrorObjectKey and do more at compile-time. r=gabor
2014-07-11 09:09:21 -07:00
Bobby Holley
40a0736413
Bug 987669 - Implement JS::ProtoKeyToId. r=luke
2014-07-11 09:09:21 -07:00