Commit Graph

28451 Commits

Author SHA1 Message Date
Bobby Holley
74429c6fcf Bug 758415 - Refactor slim wrapper reserved slots so that we can use the same slot for expando objects in the non-slim case. r=mrbkap
Xray wrappers require that their wrappee be non-slim, so this works out perfectly.
2012-06-05 19:07:37 +02:00
Bobby Holley
04ba02f1ca Bug 761121 - Add JSCLASS_HAS_CACHED_PROTO to the typed array instance JSClass. r=bhackett 2012-06-05 19:07:37 +02:00
Jeff Walden
a0ab936194 Bug 761457 - Change the signature of NonGenericMethodGuard to be more idiomatic and less confusing. r=luke 2012-06-01 23:39:09 -07:00
Jeff Walden
b0828f411d Warning patrol. No bug, r=themaid 2012-06-04 18:25:53 -07:00
Jeff Walden
8687a19277 Bug 757551 - Remove JS_ConstructObject{,WithArguments}. r=dmandelin 2012-05-21 16:32:18 -07:00
Jeff Walden
06b8304367 Bug 758499 - Remove JSRESOLVE_WITH. r=dmandelin 2012-05-24 23:54:05 -07:00
Phil Ringnalda
c5f55bf631 Back out ee940e4debd0:7636c7036e2e (bug 659577) for asserting in testBug550743.js 2012-06-01 00:12:22 -07:00
Jeff Walden
40a94b7921 Remove some extraneous includes and a function, all added in bug 714260. They were initially necessary when that patch was written, but they became vestigial during rebasing prior to landing, and this disuse wasn't noticed til now. r=lumpy 2012-04-19 16:36:31 -07:00
Luke Wagner
e89e33891b Bug 659577 - Don't alias stack variables (r=bhackett)
--HG--
rename : js/src/jit-test/tests/basic/testBug659577.js => js/src/jit-test/tests/basic/testBug659577-1.js
2012-02-23 13:59:10 -08:00
Luke Wagner
73c4e60e88 Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
--HG--
extra : rebase_source : ea0deae107902520b392ed1eeddcd8c6420945ee
2012-05-10 11:24:20 -07:00
Luke Wagner
4a77c8108c Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
--HG--
extra : rebase_source : e8496f21b3e025b5cee07f627e39535add9904f0
2012-04-11 18:09:20 -07:00
Luke Wagner
b6cc0b9e22 Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
--HG--
extra : rebase_source : 997dd4ccb8e2dce45b1d1eeae2ab7ec6679efed9
2012-05-09 23:03:12 -07:00
Luke Wagner
d916e270e8 Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
--HG--
extra : rebase_source : ff45b986e1a260b0f935913533f9b1c1e1ffdad8
2012-05-02 09:56:02 -07:00
Luke Wagner
0220c7090b Bug 659577 - Don't alias stack variables (r=bhackett)
--HG--
extra : rebase_source : 0a7b6cae49e6de547de013c834d0ad258ecc3702
2012-02-23 13:59:10 -08:00
Luke Wagner
7b1e01756a Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
--HG--
extra : rebase_source : 4d5eb44ed9a04b0185d6a64ed1dad710cf079f3f
2012-05-10 11:24:20 -07:00
Luke Wagner
3d6ecf9ef8 Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
--HG--
extra : rebase_source : 3698a6411ffcae90bbcfaa7a965d8de648b3e509
2012-04-11 18:09:20 -07:00
Luke Wagner
8131cbc4f4 Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
--HG--
extra : rebase_source : 1bd7e93270076aff49fdf5c23660d6678e3027c8
2012-05-09 23:03:12 -07:00
Luke Wagner
f55a56566f Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
--HG--
extra : rebase_source : 7439c923afe48b3e63c498972c707eca947c53c9
2012-05-02 09:56:02 -07:00
Nicholas Nethercote
6e8a984e8b Bug 710922 - Don't call m_pools.all() if m_pools isn't initialized. r=luke.
--HG--
extra : rebase_source : 72da22ce0e29d449da9ffa211b4b892ab7796303
2012-05-31 19:10:05 -07:00
Luke Wagner
11af716b5a Bug 760071 - Debug scope proxies should allow the debugger to define new properties (r=jimb) 2012-05-31 17:44:00 -07:00
Benjamin Peterson
770121717c Bug 759976: remove JSDEBUGGER* sections, r=jorendorff
--HG--
extra : rebase_source : 28218e232c0ad77f649ce7d56a430b8f2e20777c
2012-05-31 16:14:13 -05:00
Benjamin Peterson
a8509e1d9a Bug 759902: reduce JSBool usage in js.cpp to a minimum, r=jorendorff
--HG--
extra : rebase_source : 096c936550ff7de2e89362a177fde76dfb58dbce
2012-05-31 16:14:04 -05:00
Benjamin Peterson
b508ae40d8 Bug 758428: complain when the compiler returns false without an error, r=jorendorff
--HG--
extra : rebase_source : 7a4b97f8e28c7d89ab682d9d21dcfe65b23b2939
2012-05-31 16:13:10 -05:00
Jason Orendorff
1387000303 Fix building with --disable-e4x. No bug, r=jimb on IRC.
--HG--
extra : rebase_source : 7b9a7f8a6ec479caacbbf5ac36b89a0464efe897
2012-05-31 15:53:32 -05:00
Tom Schuster
f2e0e1691b Bug 420837 - Calling Iterator() without parameters should throw a better error message. r=luke 2012-05-31 23:28:39 +02:00
Joey Armstrong
ccd2645a2c bug 758782: mkdir_deps dependencies should be .PRECIOUS 2012-05-30 10:27:09 -04:00
Boris Zbarsky
3365e3b04a Merge backout of changeset f96e0f078b49 (bug 748266) 2012-05-31 16:21:05 -04:00
Boris Zbarsky
464164e820 Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too. 2012-05-31 16:20:49 -04:00
Jim Blandy
c4648141e2 Bug 747514: Implement Debugger.Environment.prototype.callee accessor. r=jorendorff 2012-05-31 13:13:53 -07:00
Jim Blandy
47b3b9ed62 Bug 747514: Assert that object environments' scopes are either WithObjects or non-DebugScopes. r=jorendorff 2012-05-31 13:13:53 -07:00
David Zbarsky
c655d9776b Bug 759504: return NULL instead of false for getPrototype r=peterv 2012-05-31 11:47:22 -07:00
Boris Zbarsky
6af95f383e Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Benjamin Peterson
2b9364b7f8 Bug 759904 - Make sure to call endBody on GenexpGuard, r=jorendorff 2012-05-31 10:57:04 -07:00
Bobby Holley
b62583625b Bug 760076 - Make |construct| use Wrapper::CALL. r=mrbkap 2012-05-31 18:36:15 +02:00
Bobby Holley
ee210f578c Bug 760070 - Make the __exposedProps__ warning appear as an error. r=bz 2012-05-31 16:28:09 +02:00
Makoto Kato
7f2fc84660 Bug 721284 - GMail broken on Windows builds with JS PGO enabled. r=dmandelin 2012-05-31 15:48:30 +09:00
Luke Wagner
a28268350f Bug 758617 - Fix StackIter::settleOnNewState to handle cross-context eval-in-frame (r=jorendorff) 2012-05-29 14:46:42 -07:00
Jason Orendorff
ebc52c5d94 Bug 738468 - DebuggerScript_getUrl crashes if script->filename is null. r=jimb. 2012-05-30 15:05:59 -05:00
Jason Orendorff
5cea8929e8 Bug 753885 - Part 3: Expose XML global constructors only if JSOPTION_ALLOW_XML is set. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
a58e6dbbc5 Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
e2d3e44740 Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo. 2012-05-30 15:05:58 -05:00
Jason Orendorff
0dc4bcd3ac Bug 752632 - Support building SpiderMonkey without E4X by doing: configure --disable-e4x. r=jimb. 2012-05-30 15:05:58 -05:00
Jason Orendorff
c93194b516 Follow-up to bug 755808 comment 6. rs=sfink on #jsapi. 2012-05-30 15:05:58 -05:00
Jan de Mooij
f2d9984f3e Bug 759626 - Cache the result of InferSpewColorable to avoid a ton of getenv calls. r=bhackett
--HG--
extra : rebase_source : bcf1055b9f401561c1bbc33a4757177df1b81d60
2012-05-30 20:24:04 +02:00
Ed Morley
6cf4e96cb1 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Peter Van der Beken
38bb1a2e8b Fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
--HG--
extra : rebase_source : f676440e468c23e6c1e9458f6d75a615b9a6b8d7
2012-05-21 23:29:58 +02:00
Jan de Mooij
46949ed335 Bug 756632 - Handle OOM in methodjit jsop_getgname/jsop_setgname methods. r=bhackett 2012-05-30 10:16:20 +02:00
Jan de Mooij
7a12ef6f78 Bug 756610 - Handle OOM in js_CopyErrorObject. r=bhackett 2012-05-30 10:06:49 +02:00
Nicholas Nethercote
ede4fc4ab1 Bug 754181 - Don't store the strict mode code flag twice (attempt 2). r=jwalden,luke.
--HG--
extra : rebase_source : 449cd51da93c261aa38e7de6b5b6a9c0ac8c7a71
2012-05-21 20:06:43 -07:00
Bobby Holley
c02b12a0cb Bug 752038 - Avoid getting confused by PreCreate giving a different answer when we wrap objects cross-compartment during reparenting. r=mrbkap 2012-05-29 23:24:03 +02:00
Timothy B. Terriberry
035cd4054c Bug 759008 - Remove unused LIBOBJS from rules.mk, r=glandium 2012-05-29 11:54:31 -07:00
Jan de Mooij
a8bcc8ad5d Bug 759409 - Cleanup methodjit CompileRequest. r=bhackett 2012-05-29 19:45:13 +02:00
Ed Morley
6fa10c5729 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-28 14:13:56 +01:00
Mike Hommey
11b04e4bcf Bug 758010 - Wrap operator new/delete on Android. r=khuey 2012-05-26 10:21:33 +02:00
Till Schneidereit
2d2e1e01d3 Bug 758278 - Sweep crossCompartmentWrappers of all compartments, not only GCed ones. r=billm 2012-05-24 19:04:44 +02:00
Ginn Chen
bee9a53574 Bug 758484 correct comment syntax for mapfile r=ted.mielczarek 2012-05-28 09:31:51 +08:00
Benjamin Peterson
974151c33b Bug 757676 - Implement JS default parameters. r=jorendorff 2012-05-26 09:33:53 -04:00
David Rajchenbach-Teller
7eafe1e5e3 Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-26 09:33:52 -04:00
dev
f290096a4d Bug 755631 - Remove extraneous exceptions in Cross Origin Wrappers. r=mrbkap 2012-05-26 09:33:52 -04:00
Ed Morley
4ff9f1d562 Merge mozilla-central to mozilla-inbound 2012-05-25 22:44:48 +01:00
Bill McCloskey
25dc4bd43f Back out bug 753283 for windbg purple 2012-05-25 13:50:18 -07:00
Mike Hommey
b8fba82334 Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 2012-05-25 18:21:03 +02:00
Ms2ger
65aa2a4593 Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
7bf7f09a74 Bug 747434 - Part 3: Remove unused variable 'startingObj' from XPCWrappedNativeScope::FindInJSObjectScope; r=gabor 2012-05-25 09:18:31 +02:00
Ms2ger
6649f20ea0 Bug 758143 - Add xpc::GetCompartmentPrivate; r=bholley 2012-05-25 09:18:31 +02:00
Ms2ger
5241a52009 Bug 758132 - Remove warning pragma from jscompartment.h; r=luke 2012-05-25 09:18:30 +02:00
Bill McCloskey
beaadc356e Bug 758471 - Don't sweep native interfaces during compartment GC (r=bholley) 2012-05-25 11:06:13 -07:00
Bill McCloskey
556c5bf149 Bug 753283 - Poison VM stack to help fuzzers (r=bhackett) 2012-05-25 10:53:19 -07:00
Bobby Holley
cdc8708f89 Bug 758563 - Warn when __exposedProps__ is missing. r=bz 2012-05-25 18:42:40 +02:00
Brian Hackett
6f24da4f14 Move JIT handles in scripts to a separate structure, bug 758613. r=dvander 2012-05-25 08:20:33 -07:00
Luke Wagner
6f13905c0e Bug 756919 - Handle prologue failure in ScopeIter (r=jimb) 2012-05-25 11:44:41 +02:00
Luke Wagner
465fca02c3 Bug 756918 - Fix aliased, empty destructuring let (r=waldo) 2012-05-25 11:44:38 +02:00
Jeff Walden
b0f4fb0396 Bug 757562 - Remove JSRESOLVE_CLASSNAME. r=dmandelin
--HG--
extra : rebase_source : 9b5a920f7c7441ee21b2dd2331a98fc70b42ed41
2012-05-21 18:08:11 -07:00
Mike Hommey
e2ba79894d Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Steve Fink
c858eea237 Bug 758108 - Display test failures immediately. r=terrence
--HG--
extra : rebase_source : 193d233c56c684a63b3f93daf5903f7aef4ccfa2
2012-05-24 22:06:48 -07:00
Ryan VanderMeulen
02c4492e3b Backout 3a9f8be665a4 (bug 757469) due to orange. 2012-05-23 22:42:53 -04:00
David Rajchenbach-Teller
98c0e7e677 Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-23 20:56:40 -04:00
Nicholas Nethercote
d38c733249 Bug 757690 - Follow-up: don't use a line number of 0 in the JS shell. r=jorendorff.
--HG--
extra : rebase_source : df78cd577d256c5b75aaeb496950d5af287e1b90
2012-05-23 17:43:10 -07:00
Bill McCloskey
6765f072db Backout bug 757667 for bustage 2012-05-23 17:14:26 -07:00
Nicholas Nethercote
2b80086c2a No bug - Remove dead JS_SCRIPT_COOKIE. r=jorendorff (via IRC).
--HG--
extra : rebase_source : 35e8b3919f4566dda17bbaa5b8f8738bc71669d0
2012-05-23 16:19:39 -07:00
Nicholas Nethercote
ff71f18d1e Bug 757690 - Merge TokenStream::TokenStream() and TokenStream::init(). r=jorendorff.
--HG--
extra : rebase_source : a389e46e1c633a133a2f8b68b3cb5fa186c8c1fd
2012-05-23 16:18:51 -07:00
Bill McCloskey
a4407ef4df Bug 757667 - Clean up Proxy tracing (r=terrence) 2012-05-23 16:31:26 -07:00
Bill McCloskey
4f2ff16274 Bug 757483 - Don't throw away JIT code during later incremental slices (r=bhackett) 2012-05-23 16:27:15 -07:00
Bill McCloskey
4f1357b742 Bug 731423 - Don't do incremental GC when hitting alloc trigger (r=gwagner) 2012-05-23 16:24:26 -07:00
Phil Ringnalda
208d03209f Back out 58ca5bf07352 (bug 738480) for xpcshell and browser-chrome orange on a CLOSED TREE 2012-05-23 15:21:55 -07:00
Terrence Cole
1d3f0b3c20 Bug 730933 - Make IsAboutToBeFinalized indirect; r=billm
This additionally moves the interface into js::gc:: and renames it to
CheckFooMarked.

--HG--
extra : rebase_source : cbe66c7219cfc637f8655e3356040e532252183a
2012-05-23 10:34:29 -07:00
Bill McCloskey
8e2c697388 Bug 754989 - Fix copy-paste error (r=bholley) 2012-05-23 10:32:13 -07:00
Bill McCloskey
9bf9ef4ae5 Bug 754989 - Assert for cross-compartment wrappers (r=bholley) 2012-05-23 10:17:21 -07:00
Jason Orendorff
e54ba45014 Bug 738480 - Debugger.prototype.findScripts does not find non-compileAndGo scripts. r=jimb.
--HG--
extra : rebase_source : e66841593e3a8d05fda50e1cdbbb7068713eff81
2012-05-23 12:06:02 -05:00
Benjamin Peterson
a956936ed4 Bug 574132 - Implement rest parameters for JavaScript. r=jorendorff. 2012-05-23 10:31:35 -05:00
Gregory Szorc
25e74247ed Bug 757397 - Make test package generation quieter; r=ted
This may reduce the size of the buildbot build logs by up to half!

--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Jan de Mooij
a8a4079e32 Bug 756600 - Initialize TokenStream::sourceMap in constructor instead of init. r=njn 2012-05-23 13:37:43 +02:00
Nicholas Nethercote
cb3d602d9d Bug 754641 - Fix 32-bit --disable-methodjit builds after bug 739512. r=luke. 2012-05-22 18:37:09 -07:00
Chris Coulson
71d9800c0d Bug 757518 - Don't get stuck in a loop on systems where /usr/bin/makedepend does not exist. r=ted 2012-05-22 20:21:46 -04:00
Nils Maier
eb4ff8a701 Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Gabor Krizsanits
62fad221a1 Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley 2012-05-22 20:21:45 -04:00
Gabor Krizsanits
c25f9d7e32 Bug 747434 - Part 1: Remove DEBUG_CheckForComponentsInScope. r=bholley 2012-05-22 20:21:45 -04:00
David Rajchenbach-Teller
c1bb856420 Bug 732936 - ImplicitConvert can convert an ArrayBuffer to C array or pointer. r=jorendorff 2012-05-15 14:59:21 +02:00
Nicholas Nethercote
a7bbed9368 Bug 757336 - Clean up probes handling in CompileScript(). r=sfink.
--HG--
extra : rebase_source : e615f67b96949c56d60fec01ab542a2401943e4f
2012-05-22 16:50:10 -07:00
Bill McCloskey
dd590b2dd6 Bug 754989 - Change cross-compartment wrapper map keying (r=bholley) 2012-05-22 14:54:50 -07:00
Bill McCloskey
1dac386a4e Bug 754989 - Nuke dead cross-compartment wrappers during brain transplant (r=bholley) 2012-05-22 14:54:08 -07:00
Bill McCloskey
2b12ff4698 Bug 754588 - Set rt->gcPoke when doing xpconnect unrooting (r=mccr8) 2012-05-22 14:06:58 -07:00
Eddy Bruel
d1358a654e Bug 757063 - Make sure ScriptedProxyHandler::defaultValue forwards to BaseProxyHandler, not IndirectProxyHandler; r=bholley 2012-05-22 21:42:21 +02:00
Jim Blandy
abd5cc5ac0 Bug 754146: Root *all* the objects we encounter while reversing the heap. r=billm 2012-05-22 12:16:17 -07:00
Bill McCloskey
b41acf8e8c Bug 756732 - Add implements barrier flag to block class (r=luke) 2012-05-22 12:11:07 -07:00
Eddy Bruel
b24c055e59 Bug 703537 - Add DirectProxyHandler; r=bholley 2012-05-22 20:21:21 +02:00
Ehsan Akhgari
add9b83149 Merge from mozilla-central 2012-05-22 10:51:49 -04:00
Ehsan Akhgari
2362f4b5ee Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Mike Hommey
13d16e7003 Bug 703833 - Add an uintptr_t alternative to the jsval payload, and use it for MarkStackRangeConservatively. r=luke 2012-05-22 08:45:13 +02:00
Mike Hommey
c141540110 Bug 756740 - Allow to build for mipsel with Android NDK r8 (libffi part). r=ted 2012-05-22 08:40:39 +02:00
Mike Hommey
be2f2c3490 Bug 756740 - Allow to build for mipsel with Android NDK r8. r=ted 2012-05-22 08:40:32 +02:00
Mike Hommey
af852a983a Bug 756575 - Fix android-platform detection for android-x86. r=ted 2012-05-22 08:40:05 +02:00
Mike Hommey
ce77dce395 Bug 735223 - Drop support for ancient NDKs. r=ted 2012-05-22 08:37:37 +02:00
Brian Hackett
4aad01fcdb Throw on incompatible calls to gcPreserveCode() and mjitChunkLimit(), bug 755639. r=dvander 2012-05-21 20:34:22 -07:00
Brian Hackett
a01fbf7f81 Monitor results of initializer opcodes, bug 755750. r=dvander 2012-05-21 20:30:14 -07:00
Ryan VanderMeulen
c8d608ce38 Backout 5130ffc92faf (bug 574132) due to debug orange. 2012-05-21 21:30:18 -04:00
Matthew Gregan
cadf177fc3 Bug 756944 - Import ALSA cubeb backend. r=doublec 2012-05-21 15:54:17 +12:00
Benjamin Peterson
e4519652ca Bug 574132 - Implement harmony rest parameters. r=jorendorff 2012-05-21 20:38:05 -04:00
Bill McCloskey
9770fd2375 Backout bug 723350 for OOMs (rs=akeybl) 2012-05-21 16:44:19 -07:00
Benjamin Smedberg
5da9d0b309 Bug 740795 part C - Don't ship pdf.js as an extension, build changes, r=ted
--HG--
extra : rebase_source : 2008d063ce9969f1e3846a69b403016c0f60db60
2012-05-18 12:42:01 -04:00
Gervase Markham
c06d47f842 Bug 716478 - update line numbers in XPCshell tests, necessary because of updating licence to MPL 2 with new, shorter boilerplate. 2012-05-21 12:13:52 +01:00
Gervase Markham
8d75636b37 Bug 716478 - update line numbers in JS reftests, necessary because of updating licence to MPL 2 with new, shorter boilerplate. 2012-05-21 12:13:36 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Till Schneidereit
83fc71dd00 Bug 756851 - add missing call to object->markIfUnmarked before GCMarker::pushObject. r=billm 2012-05-20 14:34:21 -07:00
Brian Hackett
d55ff730fa Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Michael Wu
d510f25e2b Bug 756746 - Quote paths in linker scripts, r=glandium 2012-05-19 17:02:34 -04:00
Andrew McCreight
66c59c9675 Bug 714725 - use deferred release in XPC_WN_Helper_Finalize. r=bholley 2012-05-19 13:56:29 -07:00
Tom Schuster
4c86e85cbc Bug 673499 - revert unwanted change to js/src/ETWProvider.man 2012-05-19 22:03:17 +02:00
Tom Schuster
81b01abcdb Bug 707911 - Rewrite StackTraceToString to use StringBuffer. r=bhackett 2012-05-19 21:56:23 +02:00
Tom Schuster
5f6d13c6fc Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Brian Hackett
66d81d0a7e Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
7235558c07 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Blake Kaplan
83ada37673 Bug 756584 - Crashtest for bug 720305. r=dveditz 2012-05-19 11:32:46 -04:00
Terrence Cole
a3172ed2bc Bug 744579 - Implement a relocatable version of HeapPtr; r=billm
We cannot store HeapPtrs in memory that may be realloced outside of the GC.
Instead we should use the RelocatablePtr, which is more expensive, but is able
to handle being moved, or EncapsulatedPtr which requires external barriers.

--HG--
extra : rebase_source : 949c71cfdab8005339aea49437922f7f00a6f73a
2012-05-15 17:21:23 -07:00
Luke Wagner
b3704ada8f Bug 746601 - unexpected 'arguments' read from the debugger should work like f.arguments (r=jimb) 2012-04-25 18:21:16 -07:00
Ryan VanderMeulen
ee002d6da0 Backout 2ee09416b1d7 (bug 754181) due to jsreftest crashes. 2012-05-24 20:43:40 -04:00
Nicholas Nethercote
941aa82494 Bug 754181 - Don't store the strict mode code flag twice. r=jwalden,luke.
--HG--
extra : rebase_source : 652c8c235cfa55193346bba4933584f9cc4652f2
2012-05-21 20:06:43 -07:00
Brian Hackett
8d76a85fea Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Marco Perez
7765795e84 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Steve Fink
adbc714fd7 Bug 751425 - Fix JS shell exit status on -e script failure. r=jimb
--HG--
extra : rebase_source : efbb774944c282b4a2744c85ca7dea15dbb18650
2012-05-09 15:12:27 -07:00
Steve Fink
0cdad532f6 Bug 757682 - Add JSProto_DataView to the setFlagsFromKey assert. r=bhackett
--HG--
extra : rebase_source : 9bffcb95273680a5a6c47a4751215d61ebc889fd
2012-05-24 13:25:49 -07:00
Luke Wagner
27eae473bb Bug 690135 - create scope objects eagerly or not at all (r=jimb)
--HG--
extra : rebase_source : 6b1e37699e0556685b1ed88fa15ab380428b6ffa
2011-12-20 17:42:45 -08:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Till Schneidereit
c9e49b6ecd Bug 755604 - Incrementalize JSCompartment::markTypes. r=billm 2012-05-18 13:35:43 -04:00
Luke Wagner
459c108acb Bug 755916 - All early returns of CheckStackAndEnterMethodJIT should return Jaeger_ThrowBeforeEnter (r=bhackett)
--HG--
extra : rebase_source : b613305f2d5020d1437ffcba93a4058fe052d88f
2012-05-16 17:48:25 -07:00
Luke Wagner
728ca099f7 Bug 755396 - fix definition of 'aliased' when a formal is aliased by the arguments object (r=waldo)
--HG--
extra : rebase_source : 6fd207aaee05aef52798340664888998fb89baca
2012-05-08 19:12:33 -07:00
Luke Wagner
165c9e1d0c Bug 755578 - simplify Compiler::generatePrologue a tiny bit (r=bhackett)
--HG--
extra : rebase_source : 8f615944126881886684b787f5df4d1ee1c8d650
2012-05-14 12:42:46 -07:00
Ms2ger
67565741f6 Bug 744935 - Remove JS_PROPERTY_TREE; r=Waldo 2012-05-18 10:29:40 +02:00
Ms2ger
21fece85ed Bug 755875 - Use ValueToInt64/ValueToUint64 in XPCConvert::JSData2Native; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
ba51dd062a Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
dff3118490 Bug 754968 - Part b: Export qsObjectHelper; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
938bd0caba Bug 754968 - Part a: Export xpcObjectHelper; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
e4025a0ffd Bug 755889 - Inline NonstandardToInt32 into JS_ValueToInt32; r=luke 2012-05-18 10:29:38 +02:00
David Zbarsky
b0eea667c0 Bug 756227: Fix TreeContext warnings. r=nnethercote.
--HG--
extra : rebase_source : c6ab31cfd64ebecb4a8bd4069d03fc2f41d3203b
2012-05-17 18:29:30 -07:00
Nicholas Nethercote
d656746a93 Bug 755583 (part 1) - Introduce "sundries" entries for aggregating small entries in per-compartment memory reporters. r=luke.
--HG--
extra : rebase_source : 797fc0deb2a438cbb7f4c64f4c03dd4b6378e498
2012-05-16 20:43:36 -07:00
Nicholas Nethercote
c23b35d44f Bug 755581 - Follow-up: replace js::RuntimeSizes with JS::RuntimeSizes. r=luke.
--HG--
extra : rebase_source : a1081266cec2f249f8acac782c2c806e5db705aa
2012-05-17 17:08:57 -07:00
Jason Orendorff
306794b7d4 Bug 749697 - Support debugging when multiple JSContexts are on the stack. Part 2, fix evcross-context eval-in-frame. r=luke.
--HG--
extra : rebase_source : 216bdac31ec88af4130ffd9ffac9bf0ebb1a9b39
2012-05-17 18:57:34 -05:00
Jason Orendorff
13ef988e15 Bug 749697 - Support debugging when multiple JSContexts are on the stack. Part 1, weaken a too-strict assertion in JS_GetFrameScopeChain. r=luke.
--HG--
extra : rebase_source : 86803d6edc44cd4b3a7238b808e48bbf5ac205a1
2012-05-17 18:56:45 -05:00
Jason Orendorff
1c78be8689 Bug 755808 - Add more options to JS shell evaluate() function. r=jimb.
--HG--
extra : rebase_source : f22059d97fbaae885f3b052ed0b84523df3d5ef8
2012-05-17 18:54:30 -05:00
Jason Orendorff
6427db9c29 Bug 756260 - Fix up building without JS_HAS_XML_SUPPORT, again. r=terrence.
--HG--
extra : rebase_source : 9b0bc4f31db387e4e98821d712309792c07eac1c
2012-05-17 16:24:32 -05:00
Ed Morley
0be25c12f2 Backout a97741bbd972 (bug 755604) for compilation failures 2012-05-17 19:34:56 +01:00
Till Schneidereit
7221f07a7e Bug 755604 - Incrementalize JSCompartment::markTypes. r=billm 2012-05-17 14:25:08 -04:00
David Rajchenbach-Teller
bdc3086777 Bug 748745 - Supporting readString in a CDataFinalizer. r=jorendorff 2012-05-07 08:59:28 +02:00
Eddy Bruel
5bd29f2215 Bug 703537 - Add IndirectProxyhandler; r=bholley,jorendorff 2012-05-17 13:19:37 +02:00
Nicholas Nethercote
fd4271cf1c Bug 754180 - Give ObjectBox and FunctionBox constructors. r=jorendorff. 2012-05-16 18:42:34 -07:00
Nicholas Nethercote
cab8f462a9 Bug 754179 - Remove some dead front-end code. r=jorendorff.
--HG--
extra : rebase_source : 6483ba3654782181b89fb5ac3c8f352929efbaa7
2012-05-16 18:12:47 -07:00
Nicholas Nethercote
063799adc6 Bug 755581 (part 5) - Add "cross-compartment-wrappers" reporter. r=luke.
--HG--
extra : rebase_source : 1dfb5eb522008acd59f6bce5e1724af1dc0da9f0
2012-05-15 19:31:01 -07:00
Nicholas Nethercote
cf64447fc2 Bug 755581 (part 4) - Add "math-cache", "script-filenames" and "compartment-objects" reporters. r=luke.
--HG--
extra : rebase_source : cc1fc8ff91a7b63b8a1fd48aac3b5f37c7e84393
2012-05-15 19:30:28 -07:00
Nicholas Nethercote
67b4e6feaf Bug 755581 (part 3) - Clean up JSRuntime::sizeOfIncludingThis(). r=luke.
--HG--
extra : rebase_source : 892163d96148ed86a190ee7221235dc529445fef
2012-05-15 19:29:14 -07:00
Nicholas Nethercote
4de6ece21b Bug 755581 (part 2) - Change "runtime/normal" reporter to "runtime/dtoa". r=luke.
--HG--
extra : rebase_source : 6dfe281494588628c3335058d333080f86bb3487
2012-05-15 19:28:31 -07:00
Nicholas Nethercote
a2d85c1c5c Bug 755581 (part 1) - Change "mjit/data" reporter to "mjit-data". r=luke.
--HG--
extra : rebase_source : e45b376ff1710e9f1bf3b14363f884bb7fb71d48
2012-05-15 19:27:34 -07:00
Nicholas Nethercote
cbf8f0a3d6 Bug 753657 (part 3): Remove the remaining parts of TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 7d62aac9f3049a5bb6e8821d2055e59348cf9d85
2012-05-15 00:03:39 -07:00
Nicholas Nethercote
1070c4d327 Bug 753657 (part 2): Simplify the setting of FunctionBox::tcflags. r=luke.
--HG--
extra : rebase_source : 6296f09bddf68b625c2011c273fc0c7267f3399a
2012-05-14 23:17:50 -07:00
Nicholas Nethercote
e97b7117df Bug 753657 (part 1): remove TCF_FUN_FLAGS from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : d59ebfd378e5b53d8ab4db50e593b2872ffef475
2012-05-14 23:16:24 -07:00
Bill McCloskey
0b19261a43 Backout bug 753283 (20619d227f29) for orange 2012-05-16 14:55:44 -07:00
Steve Fink
60e5ca2617 Test from bug 741041 is now shell-only, r=bustage. 2012-05-16 14:33:38 -07:00
Bill McCloskey
ad0535e806 Bug 753283 - Poison VM stack to help fuzzing (r=bhackett) 2012-05-16 14:10:58 -07:00
Bill McCloskey
83125b54cc Bug 754150 - Add write barrier on JITChunk (r=bhackett) 2012-05-16 13:56:42 -07:00
Steve Fink
5dec239273 Bug 741041 - Use UnwrapObjectChecked, and ensure ArrayBufferViews and their buffers are in the same compartment. r=luke
--HG--
extra : rebase_source : c1b7957772e03ac2819d4ffb70f52fb46014648e
2012-03-28 14:43:02 -07:00
Steve Fink
5c44072f7d Bug 741041 - Implement isProxy testing command for JS shell
--HG--
extra : rebase_source : 0beb5a22050916b5100d03314c257a48b19378ae
2012-03-28 14:43:02 -07:00
Doug Turner
85f10272fb Bug 755836 - undef near in directory helper to avoid build errors. r=kyle 2012-05-16 13:27:56 -07:00
Doug Turner
7738c44000 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Benjamin Peterson
1539d7d1ec Bug 755163 - Kill a test which is not useful anymore and liable failure with different compilers. r=jwalden
--HG--
extra : rebase_source : 7bae87e7d74219c8a6e099c58a85445a7dfabcb1
2012-05-16 11:59:17 -07:00
Terrence Cole
287d0a6115 Bug 743854 - Do not call init on ArrayBuffer slots in NewObject. r=billm
ArrayBuffers use slotSpan to store their inline size. If we try to initialize
these, then we end up with their address in the StoreBuffer, but with arbitrary
bytes written in these fields by TypeArrays. This patch uses an exact class test
to prevent this initialization behavior.

--HG--
extra : rebase_source : 8aacef597dc7456c5e1e08524c84bbb0932b9a68
2012-05-16 12:01:50 -07:00
Joey Armstrong
151ad6438c bug 742391: split config/rules.mk - file batch #1 2012-05-16 14:46:28 -04:00
Jim Blandy
299eeeff27 Bug 755778: Debugger.Environment.prototype.with should return "with" for 'with' statements' environments. r=jorendorff 2012-05-16 09:19:36 -07:00
Saurabh Anand
395ee5d2eb Bug 732262 - Add toSource() and toString() methods to js-ctypes ABI objects. r=jorendorff. 2012-05-15 16:48:54 +05:30
Jason Orendorff
d77cb64d84 Bug 752092 - Support building SpiderMonkey without JS_HAS_XML_SUPPORT. r=terrence. 2012-05-14 18:53:30 -05:00
Jason Orendorff
e1b9733a1b Bug 710479 - ASan reports invalid read in PopOffPrec. r=dmandelin. 2012-05-14 18:49:09 -05:00
Jason Orendorff
6b195cb2bb Bug 721497 - Assertion failure: compartment mismatched, at ../jscntxtinlines.h:153 with dumpStack. r=luke. 2012-05-14 18:47:32 -05:00
Ed Morley
1bf50d8d09 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-16 10:06:15 +01:00
Till Schneidereit
a3499ac567 Bug 754299 - Update gcMaxMallocBytes of existing compartments in JSRuntime::setGCMaxMallocBytes. r=billm 2012-05-15 18:30:15 -04:00
Till Schneidereit
165f1255f8 Change nsXPConnect::CheckForDebugMode to trigger one multi-compartment GC instead of individual GCs for all compartments, to fix GC pauses when switching tabs with Firebug. Bug 754201, r=jorendorff, r=sfink. 2012-05-14 18:46:51 -05:00
Nicholas Nethercote
9f9e46fe18 Bug 753249 (part 6) - Remove TCF_GENEXP_LAMBDA from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 30b9e049999e66dae1409022adc8973efd7d2254
2012-05-14 21:38:42 -07:00
Nicholas Nethercote
5ff07f7a81 Bug 753249 (part 5) - Simplify use of TCF_GENEXP_LAMBDA in FoldConstants. r=luke.
--HG--
extra : rebase_source : 8cdce721b1bdfdea8fca8f98de8a0c8fc30e0b9d
2012-05-14 21:38:41 -07:00
Nicholas Nethercote
9a7cb5f03e Bug 753249 (part 4) - Remove TCF_HAS_SINGLETONS from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 873e79b43fc901057cf1ad79636077f5923a83c0
2012-05-14 21:38:39 -07:00
Nicholas Nethercote
8c4f98a44a Bug 753249 (part 3) - Remove TCF_IN_WITH from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : c88cc07d9a3868ec756daa1da0a0cbe875d3c144
2012-05-14 21:38:37 -07:00
Nicholas Nethercote
1c5be94e4d Bug 753249 (part 2) - Remove TCF_IN_FOR_INIT from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : f70060e47de0130c558c798a572d83c9184f82c5
2012-05-14 21:38:36 -07:00
Nicholas Nethercote
48cdc0227e Bug 753249 (part 1) - Remove TCF_IN_FUNCTION from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 00d0bc1cdead33084b56d629868009f8280c7988
2012-05-14 21:38:35 -07:00
Mike Hommey
0e32561aaa Bug 754557 - Fix building with --enable-methodjit-spew without --enable-debug. r=dmandelin 2012-05-15 07:44:58 +02:00
Mike Hommey
fe881f4ebe Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Steve Fink
bc427cb04b Bug 723712 - Test for !isCachedEval assertion failure. r=test
--HG--
extra : rebase_source : a88931728024e9045947cee4b3e6a5a82030909d
2012-04-16 11:44:10 -07:00
Steve Fink
3a783077f1 Bug 723712 - Allow entering a compartment with a cached eval script. r=jorendorff
--HG--
extra : rebase_source : fc7a9ae353eefad9b4c9e82b983380b55928c5b8
2012-02-27 13:18:30 -08:00
Steve Fink
055e9c6e09 Bug 751398 - Make jsdService participate in cycle collection for all of its hooks. r=khuey
--HG--
extra : rebase_source : dd85ac1398037964cb729afb4c0d6ace07387c7b
2012-04-30 13:58:38 -07:00
Andrew McCreight
9c7e486643 Bug 701415 - Enable GC tracing info in opt builds. r=billm 2012-01-13 17:19:19 -08:00
Joey Armstrong
1926a81f65 bug 751167: replace FORCE with makefile dependencies r=ted 2012-05-15 09:20:30 -07:00
Bill McCloskey
2ec14d05b9 Bug 757667 - Clean up Proxy tracing (r=terrence) 2012-05-23 16:31:26 -07:00
Brian Hackett
917eb08db2 Remove Root<T>, bug 756823. r=billm 2012-05-24 08:52:21 -07:00
Bobby Holley
b1f01dc144 Bug 553102 - Fix test_cows.xul. r=mrbkap 2012-05-24 13:04:57 +02:00
Jan de Mooij
aba608c154 Bug 757845 - Add edge label to write barrier assert. r=billm
--HG--
extra : rebase_source : affe7600876aeb4969206f39b60c2a8390d43e90
2012-05-24 10:58:05 +02:00
Mike Hommey
e0672070d1 Bug 756745 - Add -DANDROID and include path to ASFLAGS when building for Android. r=ted 2012-05-24 10:56:26 +02:00
Matt Brubeck
3b4a9cde72 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Nicholas Nethercote
5b94342f79 Bug 752816 (part 3) - Remove TCF_COMPILE_N_GO from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : caaac2b872c30d1b4fafacc2e3f32677a609fa7c
2012-05-14 18:00:19 -07:00
Nicholas Nethercote
aa803c7ddc Bug 752816 (part 2) - Remove TCF_{NO_SCRIPT_RVAL,NEED_SCRIPT_GLOBAL} from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 26aacee3d6663be4a77a758b5ebab77a48c797e5
2012-05-14 18:00:17 -07:00
Nicholas Nethercote
ee228e7635 Bug 752816 (part 1) - Remove TCF_COMPILE_FOR_EVAL from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 18460968ee955f620e18da19a34a42fc2e061b0d
2012-05-14 18:00:15 -07:00
Matt Brubeck
a00e243a06 Merge last green changeset from inbound to mozilla-central 2012-05-14 14:00:57 -07:00
Mike Hommey
88670fcd3e Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey 2012-05-14 17:19:39 +02:00
Bobby Holley
b572a685e7 Bug 753277 - Assert that all cross-scope wrapper reparenting operations are cross-compartment, and remove the conditional. r=mrbkap
The reindentation is pure. No snakes.
2012-05-14 12:52:17 +02:00
Bobby Holley
a8b6ee5b62 Bug 753277 - Rename tobj to wrapperGuts, and avoid going through the SCSW on the other side unnecessarily. r=mrbkap
It's not wrong, but it's not necessary either, since we'll just unwrap directly to the underlying object during wrapping. And this is confusing enough as-is.
2012-05-14 12:52:17 +02:00
Bobby Holley
bdab0d509a Bug 753277 - Rename |obj| to |newWrapper| in js_TransplantObjectWithWrapper. r=mrbkap 2012-05-14 12:52:17 +02:00
Bobby Holley
f72dfca882 Bug 753277 - Make js_TransplantObjectWithWrapper use RemapWrappers. r=mrbkap 2012-05-14 12:52:17 +02:00
Bobby Holley
85cfd6cd32 Bug 753277 - Rename |obj| to |newIdentity| in JS_TransplantObject. r=mrbkap 2012-05-14 12:52:16 +02:00
Bobby Holley
2d09d27412 Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap 2012-05-14 12:52:16 +02:00
Nicholas Nethercote
d23dd6129f Bug 752793 (part 3) - Remove TCF_DECL_DESTRUCTURING from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 559857d9f8eed138c78f376014b9748a3a8ce4e1
2012-05-14 16:23:33 -07:00
Nicholas Nethercote
067791d449 Bug 752793 (part 2) - Remove TCF_HAS_FUNCTION_STMT from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 82cf18efce409b2b48bf10b36090b67daeda6981
2012-05-14 16:23:31 -07:00
Nicholas Nethercote
53346d647d Bug 752793 (part 1) - Remove TCF_RETURN_{EXPR,VOID} from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 6408cd4daf61e330b975cceff41d694cc2240847
2012-05-14 16:23:29 -07:00
Terrence Cole
0b10bdfa83 Bug 737640 - Missing barriers in makeOwnBaseShape; r=bhackett
The default copy constructor for BaseShape gets used in makeOwnBaseShape,
bypassing the manual post barriers on getterObj and setterObj. This patch
goes through StackBaseShape, which is the correct usage. It also deletes the
copy constructor to ensure we don't have the same error in the future.
2012-05-14 15:02:43 -07:00
Nicholas Nethercote
9d09a74801 Bug 752758 - Separate TreeContext and BytecodeEmitter. r=bhackett. 2012-05-14 16:08:32 -07:00
Tom Schuster
448c19e69b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Bill McCloskey
d3eb051edf Bug 754242 - Reset incremental GC upon TOO_MUCH_MALLOC GC requests (r=terrence) 2012-05-11 21:07:54 -07:00
Matt Brubeck
04c833ea52 Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Paul ADENOT
34bd5d8e5f Bug 743720 - Import Speex's audio resampler in the tree. r=kinetik, khuey 2012-05-14 19:01:04 -04:00
Bobby Holley
f55d4cb175 Bug 754311 - Null out the private of soon-to-be-transplanted reflectors _after_ copying their properties onto the holder. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
b4a49cf4c5 Bug 754044 - Remove manual injection of same-compartment security wrappers, and make sure to call JS_Wrap* instead. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
848f2ecae0 Bug 754044 - Apply same-compartment security wrappers in same-compartment wrapping callback. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
5f6b9fc564 Bug 754044 - Introduce sameCompartmentWrapObjectCallback. r=mrbkap
We leave it null for gecko for the time being to keep this patch small.
2012-05-14 23:30:07 +02:00
Bobby Holley
7d18d916cc Bug 754044 - Simplify the logic surrounding the prewrap callback in jscompartment.cpp. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
85164d5541 Bug 754044 - Alter the semantics of UnwrapObject{,Checked} to check for outer windows on the initial wrapper passed. r=mrbkap
This distinction is the only reason for writing the code in this confusing manner. And I don't think we need it now that we have stopAtOuter.
2012-05-14 23:30:07 +02:00
Bobby Holley
cb4408c322 Bug 754044 - Pass stopAtOuter=false in GetWrappedNativeOfJSObject, because that's what we mean. r=mrbkap 2012-05-14 23:30:07 +02:00
Luke Wagner
b8fe19da4f Bug 752379 - ContextStack::pushExecuteFrame should read the most recent 'fp' (r=bhackett)
--HG--
extra : rebase_source : 1b615fbb8bebab0bf5acd859a70b34ae405347a6
2012-05-07 09:15:08 -07:00
Luke Wagner
48767090af Bug 754503 - JSOP_SETALIASEDVAR should be JOF_DETECTING (r=bhackett)
--HG--
extra : rebase_source : 7980a9efdd48c0d8be31693840993908d82f313f
2012-05-14 12:40:34 -07:00
Steve Fink
cd3bf543ab Bug 575688 - DataView.prototype should behave similarly to typed arrays (WebIDL compliance). r=Waldo
Also remove unwanted prototype searching behavior.
2012-03-28 14:43:02 -07:00
Joey Armstrong
3b6a3febef bug 753939: makeutils.mk .mk loading logic with unit tests r=ted 2012-05-11 11:47:29 -07:00
Landry Breuil
21a2fe28a9 bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey 2012-05-11 11:17:00 -07:00
Ed Morley
94067f98cb Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
a5e74fc12b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Tom Schuster
746a3daa9f Bug 751139 - Prevent cloning of bound functions. r=luke
--HG--
extra : rebase_source : acf1984137884fec53246a35f3f06f978557bc40
2012-05-11 17:46:03 +02:00
Terrence Cole
48f55ac0ec Bug 753619 - Fix progress bar totals in jstests.py; r=dmandelin
Something in the previous refactorings has messed up the display of the
progress bar such that it occasionally jumps over 100% and 80chars.
2012-05-10 16:06:41 -07:00
Terrence Cole
35fe6c36fc Bug 745326 - Make Map/SetObject keys/values relocatable; r=billm
Since they use HashTable internally, we need their keys to derive from
RelocatableValue, rather than HeapValue. This also modifies the marking to allow
for the relocation, when that happens.

--HG--
extra : rebase_source : b2499e3354fda99a0ea7a349443c2adef717146b
2012-05-10 17:37:43 -07:00