Commit Graph

32085 Commits

Author SHA1 Message Date
Jan de Mooij
1c99716963 Bug 901086 - Fix CodePosition comparison in LSRA findBestBlockedRegister. r=sunfish 2014-02-26 11:12:39 +01:00
Jan de Mooij
b36f3f389e Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Jan de Mooij
a5dacf6e8d Bug 939562 part 1 - Bump trusted script buffer size for ASAN builds. r=bholley 2014-02-26 10:19:45 +01:00
Terrence Cole
eee4219b64 Bug 919544 - Allow cached object allocation to GC; r=jandem 2014-02-01 12:04:03 -08:00
Luke Wagner
13dba8c69f Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Nathan Froyd
564b48a15b Bug 976565 - remove IS_LITTLE_ENDIAN use from MacroAssembler-arm.cpp; r=mjrosenb 2014-02-24 21:33:10 -05:00
Terrence Cole
a1f75ee1c9 Bug 975947 - Fix generational GC's interaction with the barrier verifier; r=sfink 2014-02-24 15:08:05 -08:00
Andy Wingo
6369688532 Bug 976596 - Block-scoped variables indexing refactor r=luke 2014-02-25 18:46:15 +01:00
Andy Wingo
19e9ec3edc Bug 976047 - Simplify jsanalyze.cpp now that locals no longer alias the stack r=jandem 2014-02-25 18:46:13 +01:00
Nicholas D. Matsakis
ba30e5cf0d Bug 973563 - Correct assertion for zero-sized structs r=till 2014-02-24 14:31:15 -05:00
Andy Wingo
3140adb1b5 Bug 962599 - Store let-bound variables in the fixed part of stack frames r=luke,jandem 2014-02-12 18:46:24 +01:00
Bobby Holley
840a00ea3f Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor 2014-02-25 08:38:33 -08:00
Luke Wagner
485e352480 Bug 976054 - Fix XDR to store script->nslots_ with a uint32_t (r=wingo) 2014-02-25 09:47:46 -06:00
Masatoshi Kimura
19c616ccf4 Bug 975803 - Workaround a MSVC10 compiler bug. r=luke 2014-02-25 21:50:40 +09:00
Nathan Froyd
daf6fcb907 Bug 970498 - remove unnecessary padding in JSClass and js::Class; r=Waldo 2014-02-24 15:20:38 -05:00
Nathan Froyd
c61d66e196 Bug 970504 - make JS_CLASS_MEMBERS useful in more places; r=jorendorff 2014-02-24 15:08:57 -05:00
Mike Shal
6fdc43de4a Bug 974205 - Use --with-compiler-wrapper when enabling sccache. r=glandium 2014-02-25 15:41:57 +09:00
Ehsan Akhgari
92b3158879 Backed out changeset 8d8165293e9b (bug 976372) because of Windows debug bustage on a CLOSED TREE 2014-02-24 23:01:54 -05:00
Ehsan Akhgari
1e925946d1 Bug 976372 - Remove support for compilers which lack support for dynamic_cast<void*>; r=dbaron
--HG--
extra : rebase_source : 83a23e3b8fa4462eb70a1844b555c7605162a497
2014-02-24 21:06:06 -05:00
Jim Blandy
5552da47ab Bug 935203: Provide introductionType information for all sources of JS in SpiderMonkey. r=djvj 2014-02-24 15:31:47 -08:00
Jim Blandy
d38d926a57 Bug 935203: Consolidate initialization of ScriptSource from CompileOptions. r=djvj 2014-02-24 15:31:47 -08:00
Jim Blandy
495cb8fc93 Bug 935203: Don't leak ScriptSources if we error out before a ScriptSourceObject can take ownership of them. r=djvj 2014-02-24 15:31:47 -08:00
Nicholas D. Matsakis
fbc51eec04 Bug 972581 part 2 -- Add 1-dim mapPar r=shu 2014-02-13 16:38:21 -05:00
Nicholas D. Matsakis
3457a4acff Bug 972581 part 1 -- Introduce getDerivedIf and getOpaqueIf r=till 2014-02-13 16:30:26 -05:00
Nicholas D. Matsakis
688984033c Bug 975456 -- Preserve invariant that views on a neutered buffer have a NULL data pointer r=shu 2014-02-21 12:32:24 -05:00
Nicholas D. Matsakis
5b343adea6 Bug 972579 -- Add worker id 2014-02-13 15:36:06 -05:00
Nicholas D. Matsakis
e5d980f9d6 Bug 970285 -- Detect negative lengths supplied to unsized array constructor r=shu 2014-02-12 18:49:46 -05:00
Luke Wagner
6ffd8242e8 Bug 975182 - OdinMonkey: unprotect code while cloning (r=benj) 2014-02-24 12:20:04 -06:00
Jim Chen
1d7838e5f6 Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa 2014-02-24 12:27:58 -05:00
Romain Perier
5d175cd7e5 Bug 975373 - IonMonkey: Use MutableHandleValue for out-parameter in vm calls, r=h4writer 2014-02-24 16:39:28 +01:00
Benjamin Bouvier
8aafa542ad Bug 959119: Take into account the use's index when determining whether a mir node can consume a float32; r=sstangl 2014-02-24 16:23:50 +01:00
Sankha Narayan Guria
5c3f0ddd2d Bug 975412 - Fix length properties of Map and Set constructors. r=jorendorff 2014-02-21 21:17:22 +05:30
Dan Minor
2b1ee432d6 Bug 975403 - Support chunking in jit-test harness; r=terrence 2014-02-24 08:01:31 -05:00
Ehsan Akhgari
5d2d8c62a4 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Jan de Mooij
0c5954a12c Bug 975125 - Optimize Baseline IC post barriers to check the value is in the nursery. r=terrence 2014-02-22 14:15:44 +01:00
Bobby Holley
1ad0b5ebc4 Bug 975277 - Followup bustage fix for the very recent removal of shortId. r=me CLOSED TREE 2014-02-21 16:22:48 -08:00
Bobby Holley
8add84b025 Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke 2014-02-21 16:03:11 -08:00
Bobby Holley
076b37d7fa Bug 975277 - Move the wrappedJSObject getter out of getPropertyDescriptor. r=gabor
The current setup is kinda wrong, and doesn't work with HasPrototype Xrays.
This change requires us to manually munge the holder, but that's probably ok
for now.
2014-02-21 16:03:08 -08:00
Bobby Holley
58c0c8876c Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor 2014-02-21 15:55:31 -08:00
Bobby Holley
8c30c17a2d Bug 975277 - Rewrite Proxy::set logic. r=efaust
The current logic ends up invoking BaseProxyHandler::set in various cases that
will cause it to invoke handler->getPropertyDescriptor, which is verboten for
mHasPrototype proxies.
2014-02-21 15:55:31 -08:00
Peter Van der Beken
f2f3714e0a Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley 2014-02-21 15:55:31 -08:00
Peter Van der Beken
4958def6ef Bug 975277 - Add some machinery to allow Traits to specify whether they want to use hasPrototype or not. r=bholley,efaust 2014-02-21 15:55:30 -08:00
Brian Hackett
d3ebcda1f6 Bug 964057 - Share self hosted state between runtimes, r=till. 2014-02-21 16:54:25 -07:00
Terrence Cole
ded53c42ba Bug 969410 - Do not expose non-tenured addresses in JS_GetObjectId; r=sfink
--HG--
extra : rebase_source : dfa32a19df80b9ae5f9d7d535b141e50007c0149
2014-02-20 13:38:57 -08:00
Brian Hackett
ac85a0c7a8 Bug 975335 - Allow calling CurrentThreadCanAccess{Runtime,Zone} from any thread, r=luke. 2014-02-21 13:22:39 -07:00
Bobby Holley
70ab153574 Bug 973780 - Remove Xray expando slot from WNs. r=bz 2014-02-21 11:35:49 -08:00
Bobby Holley
ab79b8248f Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-21 11:35:48 -08:00
Bobby Holley
30d145598c Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8 2014-02-21 11:35:48 -08:00
Bobby Holley
1b749edd65 Bug 973780 - Expose a wrapper for the internal WeakMap class outside of the engine. r=mccr8,terrence 2014-02-21 11:35:48 -08:00
Brian Hackett
c8851a895e Bug 951346 - Don't improve type information for objects with metadata, r=jimb. 2014-02-21 12:26:42 -07:00
Ryan VanderMeulen
efa320e7f5 Backed out changeset 2b2f69d46d30 (bug 975182) for SM(arm) failures.
CLOSED TREE
2014-02-21 13:32:16 -05:00
Ryan VanderMeulen
cc0643d672 Backed out changeset 00d8b2e04b15 (bug 885788) for jit-test assertions.
CLOSED TREE
2014-02-21 12:35:48 -05:00
Luke Wagner
ab10151bef Bug 975182 - OdinMonkey: when triggering operation callback, leave PROT_READ|PROT_WRITE (r=benj) 2014-02-21 11:05:36 -06:00
Luke Wagner
c9ee8e82c3 Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Luke Wagner
5ba832e24c Bug 975162 - Remove block object's use of shortids (r=wingo)
--HG--
extra : rebase_source : 2babd344fba8aa17a51552dc756852096d2a5c67
2014-02-21 10:23:57 -06:00
Luke Wagner
27c3c58cb2 Bug 975162 - Remove empty destructuring let-block variable goofiness (r=wingo)
--HG--
extra : rebase_source : 39e6b59d4bca2cd547f0e43b34212ff5f967a85d
2014-02-21 10:23:40 -06:00
Sankha Narayan Guria
d670e11fd5 Bug 885788 - Implement Object.setPrototypeOf. r=jorendorff 2014-01-25 20:13:07 +05:30
Benjamin Bouvier
d9cb2d618a Bug 930477: Follow-up - Don't allow the power type to be Float32 for MPow; r=h4writer
--HG--
extra : rebase_source : 361b5edcdf6e464168ff2bcd82aee00843410dd2
2014-02-21 11:37:27 +01:00
Luke Wagner
47eba2b21e Bug 969415 (part 3) - AutoSuppressGC for oomCallback, just like onError since callers assume js_ReportOutOfMemory doesn't GC (r=Hf bustage, CLOSED TREE) 2014-02-20 22:52:23 -06:00
Phil Ringnalda
7732675ab7 Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
CLOSED TREE
2014-02-20 20:46:50 -08:00
Nicholas Nethercote
c4c6dc8cf7 Bug 969415 (part 2) - Add a pref to enable memory report dumping on JS OOMs. r=luke.
--HG--
extra : rebase_source : 3971f809744869a2f2d77e435e95aca44bf7e9d7
2014-02-20 18:35:43 -08:00
Luke Wagner
d02dedf631 Bug 969415 (part 1) - Add OOM callback hook to JS engine. r=njn.
--HG--
extra : rebase_source : f6a7f0b0aa10d6a938e1608f6cb7ccf76f3085c8
2014-02-20 18:35:42 -08:00
Bobby Holley
0ab509d5e9 Bug 973780 - Remove Xray expando slot from WNs. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley
450c2ea892 Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley
39dc4e0757 Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8 2014-02-20 18:24:09 -08:00
Bobby Holley
905f063f82 Bug 973780 - Expose a wrapper for the internal WeakMap class outside of the engine. r=mccr8,terrence 2014-02-20 18:24:09 -08:00
Jason Orendorff
11fdbf5bf1 Bug 970001 - Fix Valgrind-detected leaks involving sourcePolicy. r=till 2014-02-20 20:22:36 -05:00
Terrence Cole
9fdf97e4a7 Bug 961875 - Add missing post barrier in IonBuilder::jsop_rest; r=shu
--HG--
extra : rebase_source : 0a68d323c075cb95500d404c47e670413143c847
2014-02-20 13:16:20 -08:00
Terrence Cole
b9db298213 Bug 952818 - Add regression test for the referenced bug; r=sfink
--HG--
extra : rebase_source : b1add4ba4b88a8cc95c562ea0878b93158bd71f1
2014-02-20 13:16:18 -08:00
Terrence Cole
708bf923c0 Bug 975069 - Remove SpiderMonkey's public tinyid interfaces; r=luke
--HG--
extra : rebase_source : f27ef72793efbed252e6fef2d66d7a055a02f6a0
2014-02-19 18:31:24 -08:00
Andrew McCreight
ecbce16b57 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Nicholas D. Matsakis
181d44702f Bug 898356 Part 10 -- Barrier updates to private data for typed object views r=terrence 2014-02-19 23:18:23 -05:00
Nicholas D. Matsakis
9102fd2633 Bug 898356 Part 9 -- Move array buffers into their own file r=sfink 2014-02-19 14:10:43 -05:00
Nicholas D. Matsakis
51a2374e2c Bug 898356 Part 8 -- Rename from Datum to TypedObject (or typedObj) r=sfink 2014-02-12 11:46:51 -05:00
Nicholas D. Matsakis
cfa4701601 Bug 898356 Part 7 -- Rename TypedObject/TypedHandle to TransparentTypedObject/OpaqueTypedObject r=sfink 2014-02-12 11:39:34 -05:00
Nicholas D. Matsakis
60df0e258e Bug 898356 Part 6 -- Add test for interaction between neutering and the JIT r=jandem 2014-02-12 15:25:03 -05:00
Nicholas D. Matsakis
e73342faf3 Bug 898356 Part 5b -- Use args.len(), not argc r=sfink 2014-02-19 12:36:01 -05:00
Nicholas D. Matsakis
b31957d664 Bug 898356 Part 5 -- Use ArrayBufferObjects as the "backing store" for a typed object r=sfink 2014-02-12 15:15:47 -05:00
Nicholas D. Matsakis
fcc2c74670 Bug 898356 Part 4 -- Check for neutered typed object unless the check is covered by a length check r=jandem 2014-02-10 14:48:51 -05:00
Nicholas D. Matsakis
1677b2f0ce Bug 898356 Part 3 -- Adjust constructor for typed objects to more closely match upcoming spec r=sfink 2014-02-12 14:20:48 -05:00
Nicholas D. Matsakis
bc9788acce Bug 898356 Part 2 -- Simplify HANDLE_BAD_ARGS to just BAD_ARGS r=sfink 2014-02-12 14:09:46 -05:00
Nicholas D. Matsakis
e739d0bf2a Bug 898356 Part 1 -- Separate out simple type descriptors from the rest so that they can be referenced by TypedArray.h without pulling in everything else r=sfink 2014-02-03 10:55:40 -05:00
Benjamin Bouvier
7627deaf7d Bug 930477: Inline MPow with Float32 inputs even if it's not specialized; r=jandem 2014-02-20 19:20:08 +01:00
Nicolas B. Pierron
33bcd6772b Bug 917996 - Decoded scripts can be relazified. r=till 2014-02-20 07:09:35 -08:00
Nicolas B. Pierron
9e4d504d2d Bug 900789 - Instrument evaluate function to save/load the bytecode. r=luke 2014-02-20 07:09:34 -08:00
Nicolas B. Pierron
cbc1d15a1b Bug 958172 - Only set the environment while cloning a JSFunction. r=jorendorff 2014-02-20 07:09:34 -08:00
Jan de Mooij
d6b7a6b318 Bug 973118 - Differential Testing: Different output message involving +x, r=bhackett 2014-02-19 21:15:25 -08:00
Chris Peterson
192496a87c Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke 2014-02-17 22:42:57 -08:00
Chris Peterson
b6a3cbfa97 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Terrence Cole
c7bc193ea6 Bug 974739 - Fix non-threadsafe build errors in the SpiderMonkey shell, r=bhackett 2014-02-19 18:54:43 -08:00
Bobby Holley
28699ea040 Bug 960828 - More diagnostics. r=mccr8 2014-02-19 18:23:48 -08:00
Andrew McCreight
40808535d3 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Steve Fink
9c6fbf1386 Bug 968616 - "Implement" AutoIgnoreRootingHazards, r=terrence 2014-02-18 14:45:21 -08:00
Andrew McCreight
7cd675b3c0 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Jan de Mooij
832598a37d Bug 974350 part 3 - Inline getOrCreateMatchResultTemplateObject fast path. r=h4writer
--HG--
extra : rebase_source : f74684759973915c6a955ad8eddc3caee66a3851
2014-02-19 17:37:30 +01:00
Jan de Mooij
049ef43ca8 Bug 974350 part 2 - Cleanup CreateRegExpMatchResult. r=h4writer
--HG--
extra : rebase_source : 69492994f03253cd88a5f2b30a13170129b6c1ef
2014-02-19 17:37:24 +01:00
Jan de Mooij
5f8467f629 Bug 974350 part 1 - Rewrite CreateRegExpMatchResult to not use an AutoValueVector. r=h4writer
--HG--
extra : rebase_source : ea7ea2218bd93f4b9e2c67e67bdbb4cf30fe3c1c
2014-02-19 17:37:17 +01:00
Dan Gohman
37140326d9 Bug 946478 - IonMonkey: Go back to just using copies to satisfy regalloc constraints for div and mod on x86/x64. r=bhackett 2014-02-19 11:37:25 -05:00
Conrad Irwin
a13a658926 Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Brian Hackett
bb98c9b7e6 Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent. 2014-02-19 09:02:13 -07:00
Nicolas B. Pierron
04849ae531 Bug 946849 - XDR restore singleton type of functions. r=bhackett 2014-02-19 07:46:33 -08:00
Nicolas B. Pierron
c2f501732e Bug 917996 - XDR Lazy Scripts. r=till 2014-02-19 07:46:33 -08:00
Benjamin Bouvier
bc88787fba Bug 974373: Shows a warning when logging in Odin parallel compilation mode; r=h4writer 2014-02-19 16:02:13 +01:00
Nathan Froyd
38c0001897 Bug 974045 - don't store JS_CRASH_DIAGNOSTICS variables when we don't need to; r=luke 2014-02-18 14:50:35 -05:00
Daniel Holbert
682b66552e back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
16624c9130 Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke 2014-02-17 22:42:57 -08:00
Chris Peterson
f86f58f16d Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Ehsan Akhgari
fa370e4e9f Bug 973143 - Move some variables to moz.build; r=glandium
--HG--
extra : rebase_source : b767d6cb044efa50844129df80864b9e802b51bd
2014-02-18 02:02:00 -05:00
Luke Wagner
e0d0403de8 Bug 973725 - OdinMonkey: support linking a single asm.js module more than once (r=benj)
--HG--
extra : rebase_source : 1e6694ca402712257bf70acd3168935fca8868e2
2014-02-18 11:06:38 -06:00
Ehsan Akhgari
f6787f583a Backed out changeset 5ecd0339a087 (bug 973143) because of a possible Talos regression 2014-02-18 14:27:51 -05:00
Ryan VanderMeulen
1c5d30fc3b Bug 966881 - Fix style checker orange. 2014-02-18 09:27:44 -05:00
Jan Beich
4d11930921 Bug 973296 - Pull JitCommon.h explicitly for CALL_GENERATED_CODE. r=jandem 2014-02-18 08:59:34 -05:00
Douglas Crosher
089d663a61 Bug 966881 - ARM Simulator: Add support for the ARM hardfp ABI. r=mjrosenb 2014-02-17 22:41:06 +11:00
Jan de Mooij
c41b2d9524 Bug 973574 - Fix AutoDebugModeInvalidation to not call FinishDiscardJitCode if it didn't discard JIT code. r=shu 2014-02-18 10:13:48 +01:00
Ehsan Akhgari
5d49ab766c Bug 973143 - Move some variables to moz.build; r=glandium 2014-02-18 02:02:00 -05:00
Ehsan Akhgari
0833d615ed Bug 973646 - Port some CXXFLAGS logic in js/src/Makefile.in to the DEFINES variable; r=glandium 2014-02-18 01:10:22 -05:00
Ehsan Akhgari
4efa004f11 Bug 973402 - Move the LOCAL_INCLUDES in js/src to moz.build; r=glandium 2014-02-18 01:09:30 -05:00
Terrence Cole
62a6772bc5 Backout bea3f06585ec (Bug 969012) for arm simulator failures. 2014-02-17 19:22:34 -08:00
Terrence Cole
f49be68a20 Bug 969012 - Make jit allocations of CallObject with external slots use the nursery; r=jandem 2014-02-11 11:53:53 -08:00
Terrence Cole
0c81a7c1e2 Bug 970071 - Make the jit-test TBPL harness output more useful; r=jorendorff
--HG--
extra : rebase_source : 563afd86815f4d8d02a955c6d16915c3062ba30b
2014-02-10 10:41:18 -08:00
Karl Tomlinson
6d7ab34318 b=972983 use enum for BaseProxyHandler::Action values r=bholley
"inline" const static/class member initialization left missing symbols with gcc 4.7.3

--HG--
extra : rebase_source : 9e119ae9946e893b6113b838d49ab6384b472a99
2014-02-18 09:59:03 +13:00
Benjamin Bouvier
5413422a19 Bug 936740: Inline Math.ceil for double inputs where an integer is returned; r=jandem 2014-02-17 19:17:29 +01:00
Jan Beich
6f58928b64 Bug 973306 - Don't build JIT tests that depend on Ion with --disable-ion. 2014-02-17 02:57:13 -08:00
Phil Ringnalda
4ac4279a7a Merge m-c to m-i 2014-02-15 10:15:56 -08:00
Phil Ringnalda
c36c6ce913 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Christian Holler
0ec4419ddc Bug 972951 - Make gcparam only accept positive integers. r=evilpie 2014-02-15 17:05:00 +01:00
Vaibhav Agarwal
81f1ea0a18 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Bobby Holley
65a9234cc8 Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz 2014-02-14 22:39:34 -08:00
Bobby Holley
bfbb0757c7 Bug 968460 - Use the incumbent global for nsGlobalWindow::GetCallerGlobal and remove JS_GetScriptedGlobal. r=bz 2014-02-14 22:39:33 -08:00
Bobby Holley
89e75f4bb7 Bug 968335 - Tests. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley
15eba92086 Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley
4b4c66f595 Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 22:36:43 -08:00
Mike Habicher
cb7b7f75e6 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Jan de Mooij
d63349b148 Backout bug 785905, off-thread IonBuilder. r=jorendorff 2014-02-14 13:17:53 +01:00
Shu-yu Guo
dce0d2f2b9 Bug 970427 - Push ForkJoinActivation after calling the bounds function. (r=nmatsakis) 2014-02-13 19:14:14 -08:00
Nicholas Nethercote
702e9e2e5a Bug 972657 - Move the "is this script too small to compress?" check to a better place. r=benjamin.
--HG--
extra : rebase_source : 5be3ed97b89f1a8cf5579e3e0d39bdb6cf985aeb
2014-02-13 19:04:05 -08:00
Bobby Holley
4211893075 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley
efd332b2df Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap 2014-02-13 18:57:35 -08:00
Bobby Holley
13a4ff6a45 Bug 956382 - Add AccessCheck::subsumesConsideringDomain and clean up other implementations. r=mrbkap
We now assert that we have a principal when we enter the wrap callback, and we
now have a convenient overload defined in nsIPrincipal.idl.
2014-02-13 18:57:34 -08:00
Phil Ringnalda
f2630e3d05 Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
CLOSED TREE
2014-02-14 18:35:30 -08:00
Terrence Cole
5a49f92239 No Bug - Fix opt builds of generational GC when zeal is enabled; r=themaid 2014-02-14 17:10:28 -08:00
Bobby Holley
772b5fa2da Bug 968335 - Tests. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley
187d49d241 Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley
0f0ffa8525 Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 16:13:37 -08:00
Branislav Rankov
6fb542f678 Bug 969375 - MIPS port: Added Assembler-mips files. r=froydnj,nbp 2014-02-14 12:49:59 -08:00
Nicolas B. Pierron
ebd3dea562 Backed out changeset c0f1774ac976 (Bug 969375) for wrong author.
This reverts commit 30bf38956a3125c9bea1a9e94ad36ccee6416429.
2014-02-14 12:49:58 -08:00
Nicolas B. Pierron
82fbba44c1 Bug 969375 - MIPS port: Added Assembler-mips files. r=froydnj,nbp 2014-02-14 12:24:19 -08:00
Branislav Rankov
b18c39b14d Bug 969375 - MIPS port: Added Architecture-mips files. r=nbp 2014-02-14 12:16:33 -08:00
Neil Rashbrook
575255ea5f Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley 2014-02-14 19:44:55 +00:00
Eric Faust
502e68af9a Bug 952321 - Don't add proxy stubs in unbarriered GetPropertyICs. (r=jandem) 2014-02-14 11:41:44 -08:00
Luke Wagner
0eacd4f7cd Bug 936236 - Wait on background sweeping to complete after large-allocation-failure callback (r=jonco)
--HG--
extra : rebase_source : a93e691cbd76995abfa4ceed709c495fdb97d62c
2014-02-14 12:25:04 -06:00
Shu-yu Guo
ddc68e54ba Bug 961297 - Increase buffer between PJS worker thread stack size and limit marker. (r=nmatsakis) 2014-02-14 10:22:10 -08:00
Michael Shuen
219c49dd20 Bug 934817 - Part 2: Remove 0-length check in XPCStringConvert::ReadableToJSVal and XPCConvert::NativeData2JS. r=bz 2014-02-14 11:15:42 -05:00
Michael Shuen
ba13bb5784 Bug 934817 - Part 1: JS_New*StringCopyN should do 0-length optimization. r=luke 2014-02-14 11:15:42 -05:00
Luke Wagner
0333d1e893 Bug 936236 - Send memory-pressure notification if ArrayBuffer allocation OOMs and retry allocation (r=mccr8) 2014-02-12 22:50:15 -06:00
Luke Wagner
2ce3c6cdbe Bug 936236 - Inline getTransferableContents into caller and handlify (r=jonco) 2014-02-13 11:17:44 -06:00
Luke Wagner
e4aaa26ad0 Bug 936236 - Inline copyData into caller and handlify (r=jonco) 2014-02-13 11:17:44 -06:00
Luke Wagner
d30d84eeb4 Bug 936236 - Inline allocateSlots into caller and handlify (r=jonco) 2014-02-13 11:17:43 -06:00
Luke Wagner
808367a518 Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink) 2014-02-13 11:17:41 -06:00
Luke Wagner
6eb6e2078c Bug 971845 - Remove dead JSContext methods (r=sfink) 2014-02-13 08:04:46 -06:00
Steve Fink
c22f084052 No bug. Comment clarification on how to free JS_AllocateArrayBufferContents results. r=woof!, DONTBUILD
--HG--
extra : rebase_source : 60f1176a1a8db91513b7792f2b95bc5768c5296b
2014-02-13 13:33:07 -08:00
Bobby Holley
876aaba4b2 Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz 2014-02-13 15:40:50 -08:00
Mike Hommey
ff5b7933d4 Bug 967556 - Divert AC_CHECK_FUNC so that the #includes it uses can't interfere with the function it tests. r=gps 2014-02-14 08:15:02 +09:00
Benjamin Peterson
bdcc5e58eb No bug - Make ScriptSource constructor explicit. rs=jorendorff 2014-02-13 17:08:14 -05:00
Benjamin Peterson
7b3b8b3793 Bug 967936 - Reorder condition to avoid (benign) race with compression thread. r=jorendorff 2014-02-13 17:06:21 -05:00
Kannan Vijayan
b2c878eda4 Bug 952891 - Check in omitted tests and implementation code from last push on a CLOSED TREE. r=jimb r=jorendorff 2014-02-13 14:57:36 -05:00
Bobby Holley
3b0a522050 Bug 965901 - Followup bustage fix. r=me CLOSED TREE 2014-02-13 11:55:11 -08:00
Bobby Holley
010de8007f Bug 960828 - Diagnostics. r=mccr8 2014-02-13 11:54:59 -08:00
Kannan Vijayan
a2d41415b7 Bug 952891 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff DONTBUILD 2014-02-13 14:29:00 -05:00
Kannan Vijayan
98aa4aaa70 Backed out changeset 45f374858666 (bug 852891) for bad commit message referencing wrong bug. DONTBUILD 2014-02-13 14:24:37 -05:00
Kannan Vijayan
f4da41f2da Bug 972087 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff 2014-02-13 14:20:27 -05:00
Eric Faust
b41c031b17 Bug 971319 - Stop passing redundant barriering information through to GetPropertyIC. (r=jandem) 2014-02-13 11:04:49 -08:00
Bobby Holley
d11531d2a6 Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8 2014-02-13 10:54:08 -08:00
Bobby Holley
73ce31f07f Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap 2014-02-13 10:54:08 -08:00
Bobby Holley
66cc972e63 Bug 965901 - Track and assert the policy action in AutoEnterPolicy/assertEnteredPolicy. r=gabor sr=mrbkap 2014-02-13 10:54:07 -08:00
Nathan Froyd
a3e18979f8 Bug 972394 - mark PerThreadData::AutoEnterRuntime as MOZ_STACK_CLASS; r=luke 2014-02-13 10:39:57 -05:00
Nathan Froyd
43f3b2c5da Bug 972381 - mark AutoThreadSafeAccess as MOZ_STACK_CLASS; r=terrence 2014-02-13 09:40:21 -05:00
Jon Coppeard
0eac977006 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jon Coppeard
43a2af01b6 Bug 939499 - Pause barrier verification before changing mark stack size r=billm 2014-02-13 15:33:04 +00:00
Michael Shuen
fd96c04098 Bug 968390 - Mark Math.pow as safe for parallel execution. r=luke 2014-02-13 10:12:06 -05:00
Dan Gohman
28302a16c4 Bug 960143 - IonMonkey: Check range analysis on phi nodes. r=nbp 2014-02-13 09:53:53 -05:00
Nicolas B. Pierron
e109e38352 Bug 970643 - Only toggle execution permissions on JIT code. r=luke 2014-02-13 03:07:52 -08:00
Jan de Mooij
a69c3e1433 Bug 931861 - Fix xpcshell to install breakpad signal handlers before AsmJS/Ion signal handlers. r=ted 2014-02-13 10:22:58 +01:00
Phil Ringnalda
7da29bc4e1 Back out d54433699f2e (bug 936236) for adding 5 rooting hazards
CLOSED TREE
2014-02-12 23:26:28 -08:00
Shu-yu Guo
ec24d46bd2 Bug 971385 - Followup: fix test. (r=test-only) 2014-02-12 21:31:06 -08:00
Luke Wagner
c7583e2854 Bug 936236 - Notify memory-pressure observers when allocating a large ArrayBuffer fails (r=mccr8)
--HG--
extra : rebase_source : 49eadf76ae73e5e4f1c24149839bdc7200e00494
2014-02-12 22:50:15 -06:00
Mike Hommey
2cc1b67cb8 Bug 971426 - Define IMPL_MFBT when building standalone js. r=gps 2014-02-13 13:29:31 +09:00
Shu-yu Guo
297f6e9a2f Bug 971385 - Skip ForkJoin activations in ScriptFrameIter. (r=luke) 2014-02-12 20:31:35 -08:00
Neil Rashbrook
c0aac862cd Bug 966911 Part 3: Passing undefined to an AString param should (like ACString) convert to null, not the empty string r=bholley 2014-02-13 00:26:28 +00:00
Neil Rashbrook
0dc2b0ff48 Bug 966911 Part 2: An AString out param should use a short lived string instead of wastefully creating an nsAutoString on the heap r=bholley 2014-02-13 00:08:57 +00:00
Andrew McCreight
e62aef1717 Bug 733636, part 2 - nsXPConnect::WrapNative should pass aAllowWrapping=true. r=bholley 2014-02-12 15:19:32 -08:00
Andrew McCreight
7217794d76 Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley 2014-02-12 15:19:32 -08:00
Jeff Walden
1ed6ee579e Bug 961494 - Adjust an assertion to properly handle objects with built-in properties stored in reserved slots, where the last property of such an object may use a reserved slot that's not the last reserved slot. r=jorendorff, f=bhackett 2014-02-12 13:21:16 -08:00
Wes Kocher
9641d526e8 Backed out changeset c80de8d196af (bug 962599) for crashtest failures 2014-02-12 13:25:15 -08:00
Neil Rashbrook
b9f497881a Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley 2014-02-12 21:22:07 +00:00
Andy Wingo
5c17fe3fb7 Bug 962599 - Store let-bound variables in the fixed part of stack frames r=luke r=jandem 2014-02-12 18:46:24 +01:00
Ryan VanderMeulen
89063340c7 Backed out changeset d59a1cce18e5 (bug 962599) for crashtest crashes. 2014-02-12 13:49:49 -05:00
Jan de Mooij
353d4f8566 Bug 832437 - Ensure SPS frame has a valid pc when calling into the VM. r=djvj 2014-02-12 19:27:27 +01:00
Andy Wingo
99d8a86ead Bug 962599 - Store let-bound variables in the fixed part of stack frames r=luke r=jandem 2014-02-12 18:46:24 +01:00
Jan Beich
8698ee10af Bug 968819 - Make HOST_OS_ARCH on BSDs take same values as OS_ARCH. r=glandium 2014-02-12 10:24:21 -05:00