Commit Graph

27026 Commits

Author SHA1 Message Date
David Mandelin
6397c4e93f Bug 725198: reuse js_DoubleToECMAInt32 for js_DoubleToECMAUint32, r=luke 2012-02-08 18:38:32 -08:00
Eddy Bruel
e6428ed134 Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff 2012-02-08 17:21:33 -08:00
David Mandelin
ab64ef8bc8 No bug, mark slow test 2012-02-08 18:09:28 -08:00
Matt Brubeck
ba7210b7df Backed out changeset af0ab64cb947 (bug 675694) because of build failures 2012-02-08 17:36:53 -08:00
Eddy Bruel
01326717e4 Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff 2012-02-08 17:21:33 -08:00
David Mandelin
d82c4785bb Bug 714614: don't create call objects with duplicated property names, r=bhackett 2012-01-27 14:33:27 -08:00
Luke Wagner
f79f7ac346 Bug 725138 - tidy up Interpret with formalArg/localSlot (r=bhackett)
--HG--
extra : rebase_source : 86e6953be488b4554fc8570555015bcee14bf012
2012-02-03 00:11:31 -08:00
Luke Wagner
d239530b11 Bug 725138 - tidy up vm/Stack code (r=bhackett)
--HG--
extra : rebase_source : fe97cc51ada12873577c87b111a1635242e5a9d0
2012-02-03 00:11:31 -08:00
Matthew Noorenberghe
7263196932 Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee
--HG--
extra : rebase_source : 6856629cc35106499f82753471ff77c2607a5e97
2012-02-03 18:31:31 -08:00
Luke Wagner
d97e2cbe45 Bug 723791 - remove now-unnecessary noteArgumentsPropertyAccess (r=jorendorff)
--HG--
extra : rebase_source : 66c7930d21f380a1ad885550239f20b890d24e78
2012-02-03 00:11:31 -08:00
Luke Wagner
b41ddecdd5 Bug 723791 - fun_getProperty needs a method barrier (r=jorendorff)
--HG--
extra : rebase_source : 3fea7a8d9f965e921bb2744b8588f241e2e7c843
2012-02-03 00:11:31 -08:00
Bobby Holley
a3f57f90f9 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-02-07 18:06:41 -08:00
Bobby Holley
16036591ab Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-02-07 18:06:34 -08:00
Igor Bukanov
68b70a8965 bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor 2012-02-08 01:51:32 +01:00
Andrew McCreight
a3f6bcc6f0 Bug 696174 - Log JS heap at the same time as CC heap. r=bholley,smaug 2012-02-02 16:32:30 -08:00
Steve Fink
0de86e28cd Bug 712289 - Test alignment of jsval across C and C++. r=bz 2012-01-18 14:56:49 -08:00
Terrence Cole
47ebc73c1f Bug 724586 - Use modern tools to clean up obj_ToSource; r=Waldo
This patch replaces the fiddly strcat logic with StringBuilder usage and cleans
up the error handling control flow using RAII.

--HG--
extra : rebase_source : d42753a880a8d242627534cd5827075ea4a8966d
2012-02-07 10:39:58 -08:00
Igor Bukanov
b06d882ffd bug 724810 - storing finalizer in external strings directly. r=luke
--HG--
extra : rebase_source : d3222c685190bbdbe9446628f2f73f2a6f81eb11
2012-02-07 19:44:54 +01:00
Jason Orendorff
7d08e94bef Bug 699565 - Part 6 - for-of loops on typed arrays. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
487db5a582 Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
2ee2e8f0d9 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Jason Orendorff
84ac816f69 Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
86a2aac956 Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
c2f9f6404d Bug 699565 - Part 1 - for-of loop basics. r=Waldo. 2012-02-07 12:57:16 -06:00
Marco Bonardo
ae9b10638c Bug 722254 - Add an XPCOMUtils method to generate a singleton factory.
Use the new factory in Places js services, to ensure they can't be instanced multiple times.
r=bsmedberg
2012-02-07 10:17:42 +01:00
Marco Bonardo
9461ad58a3 Backout c0077ffef801 (bug 723806) for failures in xpcshell and m-oth tests 2012-02-07 10:16:58 +01:00
Makoto Kato
e0b7612a1e Bug 715849 - yasm and GNU as should add debug flag if MOZ_DEBUG_SYMBOLS=1. r=khuey 2012-02-07 15:06:28 +09:00
Jim Blandy
01319b1c05 Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley
This adds new tests, and also fixes existing CTypes tests that relied on
the bug's presence.
2012-02-06 21:18:42 -08:00
Nicholas Nethercote
5a1cbe043f Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Brian Hackett
08da3edc46 Tweak logic when analyzing properties of new scripts, bug 720380. r=dvander 2012-02-06 11:18:33 -08:00
Brian Hackett
a509098dee Don't invoke __noSuchMethod__ on primitive lvalues in ICs, bug 721939. r=dvander 2012-02-06 10:49:31 -08:00
Andrew McCreight
ae5be20b56 Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm 2012-02-05 19:43:35 -08:00
Nicholas Nethercote
411c1b8538 Bug 722609 - Rename the js-total memory reports. r=luke. 2012-01-30 20:03:29 -08:00
Nicholas Nethercote
a2845c0ea3 Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett.
--HG--
extra : rebase_source : 211b35134923f4cb99625bb240b96e81f0f28b4b
2012-01-30 18:12:03 -08:00
Masatoshi Kimura
c3d7b0b2bb Bug 723894 - Crash when Web IDL dictionary object is null; r=mrbkap 2012-02-05 18:57:46 +00:00
Tom Schuster
d0d0f9f213 Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett 2012-02-05 11:32:12 +01:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov
17db9a067b bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
David Mandelin
34efbde005 Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden 2012-02-03 15:02:39 -08:00
David Mandelin
be9a8abe8b Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm 2012-02-03 13:47:39 -08:00
Terrence Cole
fec49555cc Bug 716069 - Add missing post barriers to newObjectFromHit; r=billm
When we copy in the new object, we need to trigger barriers on the shape and
type pointers.  Note: all value immediates in the object are guaranteed to be
uninitialized.
2012-01-12 19:03:25 -08:00
Jonathan Kew
ec184320f2 backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Luke Wagner
0c3a78bf21 Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
Luke Wagner
19a5502f89 Bug 688069 - Use CallArgs typey-ness throughout jsstr (r=waldo)
--HG--
extra : rebase_source : e07b03a817dff4193762ae7d134765e05065fc31
2012-01-27 15:32:53 -08:00
Luke Wagner
cb392d44d9 Bug 688069 - remove spurious call to zeroLastIndex, bringing us to parity with jsc/v8. This allows removing RegExpPair and several other cleanups (r=cdleary)
--HG--
extra : rebase_source : ae6497b500e93019ecc06ba2668fbdbe70b15417
2012-01-27 15:32:53 -08:00
Luke Wagner
55d9645111 Bug 722594 - Remove xpc_CreateMTGlobalObject and mMTCompartmentMap (r=mrbkap)
--HG--
extra : rebase_source : 6dd76009eb8029499efcbe6bbb0b74d58000612c
2012-02-01 13:36:51 -08:00
Luke Wagner
542a670fec Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm)
--HG--
extra : rebase_source : f9e20f1d52987251ad3d58c76531dcd5135076ad
2012-01-30 09:17:38 -08:00
Matt Brubeck
73e694d1d5 Merge mozilla-central to inbound 2012-02-02 20:49:06 -08:00
Olli Pettay
8e65790a5d Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Terrence Cole
853d196cb5 Bug 716136 - Add a configure flag to enable Generational GC; r=billm
These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.

--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
2012-01-06 17:05:33 -08:00