Ed Morley
65824f4564
Merge latest green b2g-inbound changeset and mozilla-central
2014-01-29 10:33:43 +00:00
Wes Kocher
d40a8ba7e2
Backed out 2 changesets (bug 952873) for build bustage on a CLOSED TREE
...
Backed out changeset 92dfed2592ae (bug 952873)
Backed out changeset 1ae58fcd61a9 (bug 952873)
2014-01-28 17:34:42 -08:00
Boris Zbarsky
977365d0e5
Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff
2014-01-28 16:16:03 -08:00
Boris Zbarsky
8b8981b4f5
Bug 952873 part 1. Rename the cx member of ForOfIterator to cx_ instead. r=jorendorff
2014-01-28 16:14:47 -08:00
Douglas Crosher
8a485b56d8
Bug 964797 - Odin ARM: Correct the VCVT instructions encoding of the fraction bits. r=mjrosenb
2014-01-29 02:35:38 +11:00
Nikhil Marathe
8c829fb1a0
Bug 957926 - Add JS::CreateTypeError. r=jorendorff
...
--HG--
extra : rebase_source : d621273cbff342f10864c2843a53eb55421fe582
2014-01-28 09:19:48 -08:00
Henry Chang
dad3338b91
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Douglas Crosher
21e526f1af
Bug 964005 - Odinmonkey (ARM): Include d15 in the callee saved registers. r=mjrosenb
2014-01-26 19:42:53 +11:00
Jan de Mooij
df6bca54b4
Bug 959597 part 2 - Use JS_CODEGEN_* instead of JS_CPU_* for JIT backend code. r=nbp
2014-01-28 15:33:56 +01:00
Jan de Mooij
3f5ef01023
Bug 959597 part 1 - ARM simulator build changes. r=glandium
2014-01-28 15:33:53 +01:00
Haitao Feng
a08b2a7ad2
Bug 947711 - Introduce MIRType_Float32x4, MIRType_Int32x4 and MIRType_Doublex2. r=nbp
2014-01-28 09:12:20 -05:00
Emanuel Hoogeveen
316ae3a4dc
Bug 841646 - Part 4: Allow parallel compilation while the SPS Profiler is active. r=jandem
2014-01-28 08:56:51 -05:00
Emanuel Hoogeveen
0d21cdb8d3
Bug 841646 - Part 3: Move SPSProfiler::slowAssertionsEnabled checks to JitCompileOptions and remove SPSInstrumentation::slowAssertions. r=jandem
2014-01-28 08:56:27 -05:00
Emanuel Hoogeveen
97e7d40ed8
Bug 841646 - Part 2: Add locks around |strings| table access to avoid races. r=jandem
2014-01-28 08:56:05 -05:00
Emanuel Hoogeveen
9f4fed9ac4
Bug 841646 - Part 1: Refactor allocProfileString to not require a JSContext and remove JSContext * parameters from functions that no longer require them as a result. r=jandem
2014-01-28 08:55:40 -05:00
Jon Coppeard
21a1391f9d
Bug 964214 - Don't recompact store buffer if there are no new entries r=terrence
2014-01-28 10:37:14 +00:00
Jon Coppeard
3e814fbe75
Bug 964214 - Don't wait for background sweep to finish for minor GC r=terrence
2014-01-28 10:36:56 +00:00
Jon Coppeard
ced0273f01
Bug 961741 - Allow shape's parent to be null in postbarrier callback r=terrence
2014-01-28 10:35:53 +00:00
Jon Coppeard
bf7f3ef6e6
Bug 959787 - Fix OOM crash added by previous patch r=terrence
2014-01-28 10:35:07 +00:00
Chris Peterson
d46a808c6c
Bug 964016 - Part 5: Remove unused JS_BEGIN_EXTERN_C and JS_END_EXTERN_C macros. r=luke
2014-01-24 20:08:28 -08:00
Chris Peterson
ac4837ccb1
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Chris Peterson
a56cc4a28b
Bug 964016 - Part 3: Replace JS_NEVER_INLINE with MOZ_NEVER_INLINE. r=luke
2014-01-24 20:21:24 -08:00
Chris Peterson
1b2b307e88
Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke
2014-01-24 19:57:58 -08:00
Chris Peterson
17a73ed3f1
Bug 964016 - Part 1: Replace JS_LIKELY with MOZ_LIKELY. r=luke
2014-01-25 22:04:37 -08:00
Nicholas Nethercote
bd580ec6f7
Bug 963528 - Don't allocate zero-sized script data. r=luke.
...
--HG--
extra : rebase_source : 16beebadc53671e68b73d920ad96c366f48206d3
2014-01-27 18:31:34 -08:00
Shu-yu Guo
6cf8c79db8
Bug 959163 - Fix debug asserts in PropertyTree::lookupChild. (r=jorendorff)
2014-01-27 11:33:05 -08:00
Andrew McCreight
b8f0bd8317
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
886c35b281
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
afb5cd4a63
Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras
2014-01-26 07:57:00 -08:00
Zack Weinberg
84cc98dc82
Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz
2014-01-25 23:27:11 -05:00
Jon Coppeard
db0304f238
Bug 961795 - Track malloc allocations for TypedArray objects in the nursery r=terrence
2014-01-25 09:32:45 +00:00
Jon Coppeard
bfba7b5146
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Jon Coppeard
74da1a60c3
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Jon Coppeard
c2ffdc0051
Bug 962576 - Improve profiling of minor GCs r=terrence
2014-01-25 09:26:43 +00:00
Boris Zbarsky
ae288e85fc
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
499b09923b
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
048f4eae8c
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
63ace2357b
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Bobby Holley
af7880d72a
Bug 957688 - Remove checkObjectAccess security callback. r=mrbkap
...
There's no need for the JS shell stuff either, since vm/Runtime.cpp already
sets up NullSecurityCallbacks by default.
2014-01-24 16:08:25 -08:00
Bobby Holley
db1edc2054
Bug 957688 - Remove side-effect-y call to js::CheckAccess, and remove js::CheckAccess itself. r=mrbkap
...
Thankfully, this case was only taking the JSACC_PROTO, which is significantly
simpler than the alternative.
2014-01-24 16:08:25 -08:00
Bobby Holley
66ad6a05d9
Bug 957688 - Remove side-effect-free calls to js::CheckAccess. r=mrbkap
...
js::CheckAccess has all sorts of crazy side-effects on its parameters. Luckily,
they mostly happen on dead values.
We have to alter a jit-test that previously threw, and doesn't anymore. I have
confirmed that the reason for throwing was not the security check itself, but
rather the lookupGeneric call that happens inside js::CheckAccess, which ends
up throwing 'undefined is not a function'. It seems like this is just an issue
of calling lookupGeneric when we shouldn't, and that the correct behavior here
is not to throw.
2014-01-24 16:08:24 -08:00
Bobby Holley
c8281a04d3
Bug 957688 - Remove JS_CheckAccess. r=mrbkap
...
But how will we call from Gecko into the JS engine to query CAPS via a callback?
2014-01-24 16:08:24 -08:00
Bobby Holley
83a7fd5f32
Bug 957688 - Make ComputeStackString pass a principal and remove checkAccess call. r=mrbkap
...
Now that we have the principal-based filtering for stack walking, we can do this.
This isn't technically equivalent to the old behavior, since a stack that goes:
A -> B -> A
would previous have only seen the second set of |A| frames, whereas now we'd
see both sets. But this seems strictly better (also, it doesn't happen on the
web).
As noted, I've filed a bug for making this context- and saveFrameChain-agnostic.
2014-01-24 16:08:24 -08:00
Terrence Cole
07cf57140e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
91ca6a1d69
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Terrence Cole
dc3a39595c
Bug 963232 - Add extensive documentation to js/GCAPI.h; r=billm
2014-01-23 11:47:11 -08:00
Jeff Walden
c47e36f0b2
Bug 963434 - Remove jsopcode.tbl and jsoplengen.cpp in favor of a higher-order macro, and make JSOP_*_LENGTH into C++ constant variables. This will make the build process simpler, and it likely eliminates a needs-CLOBBER situation encountered while landing bug 948583. Particular thanks to r=jorendorff for the fast review here (given any change at all to jsopcode.tbl would bitrot this), DONTBUILD because already landed with wrong bug number
2014-01-24 13:21:09 -08:00
Jeff Walden
afae127ae3
Backed out changeset fe06fb5e10a7, wrong bug number.
...
--HG--
extra : rebase_source : fad89601b11e3a6cf19114b2152fa3c62d05cce4
2014-01-24 15:00:52 -08:00
Andrew McCreight
8aa8afcb8d
Bug 963652 - Handlify JS_ForwardGetPropertyTo. r=terrence
2014-01-24 15:01:47 -08:00
Jeff Walden
f23f7d4ebe
Bug 963634 - Remove jsopcode.tbl and jsoplengen.cpp in favor of a higher-order macro, and make JSOP_*_LENGTH into C++ constant variables. This will make the build process simpler, and it likely eliminates a needs-CLOBBER situation encountered while landing bug 948583. Particular thanks to r=jorendorff for the fast review here (given any change at all to jsopcode.tbl would bitrot this)
...
--HG--
extra : rebase_source : 4f5956dd196ff894766210cc4c9629054fc2914d
2014-01-24 13:21:09 -08:00