Commit Graph

26882 Commits

Author SHA1 Message Date
Bobby Holley
6474d26859 Bug 880917 - Remove testVersion.cpp. r=luke
This test coverages seems to be mostly testing functionality we're removing like
overrides and version introspection. Let's just kill it.
2013-06-13 10:09:25 -07:00
Bobby Holley
d200a7e76d Bug 880917 - Introduce an API for callers to set the version for a compartment. r=luke
This has lower precedence than 'overrides' and running script, and higher
precedence than the cx's version. We can migrate the API consumers who clearly
want something like this, which will eventually let us remove the override
mechanism.
2013-06-13 10:09:25 -07:00
Bobby Holley
3b2745a4be Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
Bobby Holley
f0bb406fe1 Bug 880917 - Remove support for munging JS versions from JSD. r=luke
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-13 10:09:24 -07:00
Jan de Mooij
ac520e4c8c Bug 881461 - Fix INITPROP/INITELEM GETTER/SETTER ops to leave values on the stack for the decompiler. r=bhackett 2013-06-13 16:00:35 +02:00
Nicholas D. Matsakis
87ad0fff8c Bug 872352 - Simplify edges/liquid-resize benchmarks rs=tests 2013-06-12 22:17:30 -04:00
Landry Breuil
33ab75941e Bug 807492 Part 10 - Add err.h and xlocale.h to system-headers for WebRTC on BSD r=ted 2013-06-13 08:54:44 +02:00
Jesse Ruderman
a3760474ad Bug 882037 - Fix incorrectly escaped %, and use semicolons after comma-separated lists. r=luke 2013-06-12 22:24:06 -07:00
Boris Zbarsky
5544291d84 Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley 2013-06-13 01:12:26 -04:00
Nicholas Nethercote
978a2c6eb2 Bug 882520 - Two minor tweaks to the memory reporting paths. r=bhackett.
--HG--
extra : rebase_source : b6176cd0b0314c2216ccc79f76a34fd558876092
2013-06-12 20:14:52 -07:00
Terrence Cole
3be0346856 Bug 880886 - Always allocate AsmJS's JSFunction in tenured; r=bhackett
--HG--
extra : rebase_source : 756c4326cedc0dfda0d1f83573fe2c277ff38073
2013-06-11 10:53:25 -07:00
Benoit Girard
7853228760 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Terrence Cole
afa9f0d88d Bug 877473 - Expose tools to help fuzz generational GC; r=billm
--HG--
extra : rebase_source : 46dd430429e31ab380b61ef8b0019fc20a411961
2013-05-30 10:55:15 -07:00
Matt Brubeck
1d07f5967d Back out 3dbc486831a4 (bug 882012) for jit-test failures on a CLOSED TREE 2013-06-12 17:02:04 -07:00
Benjamin Bouvier
3fc7e41d32 Bug 882012: Provide Use to right hand side in CheckStoreArray; r=luke
--HG--
extra : rebase_source : 01caa88a90ca1b53134f051b0d686c3f183f4408
2013-06-12 15:47:26 -07:00
Jeff Walden
6d92a919d6 Bug 496923 - Import the ch07 tests from test262. r=generating-script-was-reviewed 2013-06-11 11:38:41 -07:00
Jeff Walden
08d5de4c9a Bug 496923 - Update the test262 import script to include ch07 tests. r=terrence 2013-06-11 11:38:23 -07:00
Jeff Walden
770ebe2b2a Bug 496923 - Import ch12 tests from test262. r=generating-script-was-reviewed 2013-06-10 17:19:01 -07:00
Jeff Walden
6054ced890 Bug 496923 - Update the test262 import script to include ch12 tests. r=terrence 2013-06-10 17:18:28 -07:00
Bobby Holley
8b5e851145 Bug 880697 - Push in a few other suspicious places. r=gabor 2013-06-12 14:17:56 -07:00
Bobby Holley
c3249a0a24 Bug 880697 - Remove dumbContext. r=gabor
Whew.
2013-06-12 14:17:56 -07:00
Bobby Holley
1bac0d1e42 Bug 880697 - Remove JSD_GetDefaultJSContext and fix callers. r=gabor 2013-06-12 14:17:55 -07:00
Bobby Holley
667efac1a4 Bug 880697 - Replace usage of dumbContext with AutoSafeJSContext. r=gabor
dumbContext ends up with jsdc->glob as its default global, so we have to be
very careful to audit for any places where the code might be assuming that
its cx is in the compartment of jsdc->glob. Luckily, the code already seems
pretty explicit about its compartments.
2013-06-12 14:17:55 -07:00
Bobby Holley
fc2eabba5c Bug 880697 - Root directly with a runtime in jsd_DestroyScriptHookProc. r=gabor 2013-06-12 14:17:55 -07:00
Bobby Holley
899c3f66b7 Bug 880697 - Make JS_ClearScriptTraps take a runtime directly. r=gabor
This obviates the need for a context at the JSD callsite.
2013-06-12 14:17:55 -07:00
Bobby Holley
efa87b19f7 Bug 880697 - Stop using clunky C API in JSD and start using RAII classes. r=gabor 2013-06-12 14:17:54 -07:00
Bobby Holley
1a1c8c87e5 Bug 880697 - Add an RAII class to JSD to save/restore exception state. r=gabor 2013-06-12 14:17:54 -07:00
Bill McCloskey
bebda0a75e Bug 880697 - Add JSRuntime constructor for Rooted. r=terrence 2013-06-12 14:17:54 -07:00
Bobby Holley
460937044f Bug 881517 - Remove mPrototypeNoHelper machinery. r=mrbkap
The comments surrounding it don't make any sense to me, and most likely applied
to a pre-CPG world.
2013-06-12 14:10:54 -07:00
Bobby Holley
a40787493c Bug 881517 - Just use Object.prototype for vanilla XPCWNs. r=mrbkap 2013-06-12 14:10:53 -07:00
Hannes Verschore
2414284368 Bug 860838: OdinMonkey: Optimize FFI calls to ionmonkey, r=luke 2013-06-12 21:58:22 +02:00
Hannes Verschore
61232f683e Bug 879727: IonMonkey: During UCE remove corresponding MPassArgs when removing calls, r=jandem 2013-06-12 21:46:19 +02:00
Benjamin Bouvier
8bfebd11eb Bug 878444: in Range Analysis, give an empty range for |Infinity % x|; r=bhackett 2013-06-12 12:18:23 -07:00
Martin Husemann
03b5b62244 Bug 871444 - Round allocation size to keep required alignment. r=sstangl 2013-06-11 12:23:24 -07:00
Jan de Mooij
d8e6f40ee9 Bug 881370 - Remove entry from Debugger HashMap before instead of after mutating the HashMap. r=jimb
--HG--
extra : rebase_source : e630194150bb9c81279ac006a70128234732e306
2013-06-12 20:00:07 +02:00
Terrence Cole
b571892116 Backout 6d95672c5a68 for SM(r) bustage, probably not on a CLOSED TREE.
--HG--
extra : rebase_source : 0234911b2197ebe562f95ecf172352af6cb648cf
2013-06-12 11:02:21 -07:00
Terrence Cole
56c9fd466f Bug 879079 - Fix static rooting analysis failures from calls to defineOwnProperty; r=sfink
--HG--
extra : rebase_source : c8c491faef16ad0e1ebc4e624a54d85fd0a47029
2013-06-05 15:08:41 -07:00
Terrence Cole
1bc35b6d04 Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
--HG--
extra : rebase_source : df08f912b716c3a0a248ea9e86988ba0b72aaa39
2013-06-04 16:14:14 -07:00
Ryan VanderMeulen
2186f98982 Backed out changeset 869f21ccd71a (bug 856246) for test failures. 2013-06-12 12:21:21 -04:00
Ryan VanderMeulen
72bf2b9d14 Backed out changeset cd80b21eb9a0 (bug 856246) for test failures. 2013-06-12 12:20:54 -04:00
Joshua Cranmer
592a62ef64 Bug 869635 - Eliminate the xpcshell master manifest, r=gps. 2013-06-12 07:27:17 -05:00
Nicholas D. Matsakis
ea92c8c271 Bug 856246 - Adjust filter-very-few to adapt to varying input sizes. rs=tests 2013-06-12 11:10:23 -04:00
Nicholas D. Matsakis
8f35a473d2 Bug 880640 - In the transitive compilation loop, monitor use counts and
wait for scripts to either stop being called or to be baseline-compiled
before we attempt par ion compilation. r=djvj
2013-06-07 06:29:26 -04:00
Nicholas D. Matsakis
7620e77bff Bug 856246 - Update test suite to consistently use minItemsTestingThreshold and other abstractions r=till 2013-06-07 06:32:17 -04:00
Kannan Vijayan
ef28116587 Bug 875720 - Use baseline to identify arithmetic ops with double specialization instead of looking at TI overflow flag. r=jandem 2013-06-12 10:48:05 -04:00
Andrea Marchesini
9dd7129cea Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug 2013-06-11 21:41:22 -04:00
Ed Morley
5b8c1b2eec Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
b9e065f934 Bug 881358 - Kill build warnings in XPConnect; r=bholley 2013-06-12 09:00:09 +02:00
Kannan Vijayan
e902322bf7 Bug 859609 - Inline functions that use the scope chain, and also inline call sites with monomorphic cloned lambdas. r=h4writer 2013-06-11 15:49:51 -04:00
Ryan VanderMeulen
23aa576486 Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00