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