Jeff Walden
4c415c06fb
Bug 736591 - Reduce the amount of string allocation attempted in ecma_5/RegExp/regress-617935.js to hopefully reduce intermittent orange. (The limit the test previously checked is no longer correct, so the allocation need not be repeated quite so many times as it was before this patch.) r=luke
2012-04-16 17:34:36 -07:00
Terrence Cole
d0699e95a8
Bug 735549 - Generate the JS reftest suite's manifests automatically; r=dmandelin
...
--HG--
extra : rebase_source : 910bca5b40e37a69427cb3ab1332f24c00a0b2e7
2012-03-22 18:52:12 -07:00
Bobby Holley
dd4ac27670
Bug 745661 - Make TI assertion handle safe mode, too. r=khuey
2012-04-16 16:57:36 -07:00
David Anderson
f84d3b7b8d
Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap).
2012-04-16 12:30:04 -07:00
David Anderson
2b1abddde3
Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
...
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Nicholas Nethercote
809407a18d
Bug 745068 - Minor front-end cleanups. r=jorendorff.
...
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Brian Hackett
831bd99f78
Stop precisely tracking arguments and locals beyond a 1000 variable threshold, bug 735974. r=dvander
2012-04-15 21:38:53 -07:00
Brian Hackett
a21f8c5a5d
Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke
2012-04-15 21:19:44 -07:00
Justin Lebar
5766598758
Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn
2012-04-16 12:20:54 +10:00
Justin Lebar
b391903730
Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me
2012-04-16 11:34:00 +10:00
Justin Lebar
dbb7a3bbac
Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn
2012-04-16 11:17:26 +10:00
Bobby Holley
1037d6c217
Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm
2012-04-15 17:54:03 -07:00
Bobby Holley
b0e37aa6d8
Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap
2012-04-15 17:51:37 -07:00
Bobby Holley
50e6634137
Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger
2012-04-15 17:51:36 -07:00
Bobby Holley
1e648b7690
Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger
2012-04-15 17:51:36 -07:00
Bobby Holley
d8267ab1e1
Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
...
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00
Bobby Holley
d3e1c85a70
Bug 745422 - Factor fundamental traps into js::AbstractWrapper. r=gal
2012-04-15 16:43:14 -07:00
Ms2ger
1de8ab38d4
Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley
2012-04-14 15:07:31 +02:00
Ms2ger
c6ce9f7d79
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
a37d5dbaac
Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley
2012-04-14 15:05:17 +02:00
Christian Holler
826d2446be
Bug 734976 - Call js_ReportOutOfMemory in jsgcinlines when simulating OOM. Original patch by Brian Hackett. r=luke,bhackett,jdemooij
2012-04-14 11:37:32 -07:00
Nicolas Pierron
71deb3e9bf
Bug 745360 - Native calls are not function frames. r=luke
2012-04-13 18:27:57 -07:00
Luke Wagner
4cfaa1893c
Fix warnings in js/src (no bug, rs=dvander)
2012-04-13 18:03:33 -07:00
Matt Brubeck
db7e149288
Merge mozilla-central to mozilla-inbound
2012-04-13 14:09:05 -07:00
Nicolas Pierron
b013fffd14
Bug 744670 - Port StackIter modification of IonMonkey. r=luke
2012-04-13 13:45:01 -07:00
Jim Blandy
7cddb22750
Bug 743351: Implement Debugger.Script.prototype.staticLevel. r=jorendorff
2012-04-13 13:17:18 -07:00
Matt Brubeck
b950055584
Bug 745233 - Back out 33e485d0e23b, 26eb08593f89, ce72679ffb95, 10b783e85c1e (bug 720771, bug 742384) because of Linux64 PGO crashes
2012-04-13 10:40:27 -07:00
Matt Brubeck
b7d725d72a
Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds
2012-04-12 22:07:43 -07:00
Jeff Walden
971c198c3d
Attempt to fix OS X (gcc 4.2) build bustage. No bug, r=gcc-42-should-die
2012-04-12 18:32:25 -07:00
Jeff Walden
2e8482d1bf
Fix clang JS shell build bustage. No bug, r=billm over irl
2012-04-12 18:15:26 -07:00
Luke Wagner
f5f4ed58b7
Bug 744842 - don't include actual args in error.stack.toString (r=dmandelin)
...
--HG--
extra : rebase_source : 66a780c6abfc4fadc7cc08ed97224296af20ad61
2012-04-11 18:07:44 -07:00
Jeff Walden
a7643a91b4
Bug 739380 - Convert the defineElement hooks to use an ECMAScript-style [[DefineOwnProperty]] interface, not the old-school SpiderMonkey defineProperty interface. r=bhackett
...
--HG--
extra : rebase_source : e43fcbfdb76c61b4ecd7a5f4b1d17aefa0d19f83
2012-04-09 15:15:46 -07:00
Joey Armstrong
e4b8ee53ac
Bug 742835 - autotargets.mk: handle mkdir dot requests - r=ted
2012-04-13 14:44:24 -04:00
David Mandelin
0447d76457
Bug 736609: fix typo, r=sfink, a=akeybl
...
--HG--
extra : rebase_source : 4299196454f1a078ada48328a953d571efea9a4a
2012-04-12 11:54:47 -07:00
Bobby Holley
ac0a01ac3b
Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap
2012-04-12 11:21:12 -07:00
Bill McCloskey
4212ec544a
Bug 744489 - Fix incremental GC assertion in ValidateIncrementalMarking (r=igor)
2012-04-12 11:14:43 -07:00
Bill McCloskey
026a334c4f
Bug 742843 - Clean up weakmap header (r=terrence)
2012-04-09 11:42:04 -07:00
Bill McCloskey
80d2dc87c2
Bug 740609 - Handle null filename (r=luke)
2012-04-12 11:03:45 -07:00
Bill McCloskey
2ae805f612
Bug 740509 - Trace through all type properties for non-GC tracers (r=bhackett)
2012-04-12 11:03:40 -07:00
Bill McCloskey
870b30c42a
Bug 744285 - Fix conservative stack scanning for non-GC tracers (r=igor)
2012-04-12 11:03:20 -07:00
Brian Hackett
90b23329e3
Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm
2012-04-12 09:23:51 -07:00
Nathan Froyd
70e094f740
Bug 614188 - Part 3: build double-conversion as a part of MFBT; r=Waldo
2012-04-09 12:05:11 -04:00
Terrence Cole
870bfd5f18
Bug 744192 - Assert that Vectors do not contain implicitly postbarriered types; r=luke
...
Since vectors move their memory around outside the control of the GC, it is not
valid to store an implicitly post-barriered item in a Vector.
--HG--
extra : rebase_source : 2cef4d855cc4e926cea872cda18e5cf29230f0a7
2012-04-11 17:14:11 -07:00
Bas Schouten
67b6c99e9f
Bug 719776 - Part 2: Make MOZ_CRASH and MOZ_ASSERT expand inline. r=waldo
2012-04-12 02:03:07 +02:00
Brian Hackett
0adbe5e564
Use right compartment iterator when profiling scripts, bug 744611. r=billm
2012-04-11 15:54:55 -07:00
Terrence Cole
0335016a75
Bug 743868 - Fix barriers in SupressDeletedProperties; r=billm
...
Right now, we simply stop tracing through deleted properties. This causes us to
delete things that are still in the write buffer. We need to, in addition, set
the reference to NULL to ensure that the write buffer doesn't dereference these
dead entries.
--HG--
extra : rebase_source : add220d5fb47e0e3ffd767c9b5ebd6172df07671
2012-04-09 16:52:50 -07:00
Masatoshi Kimura
5ca99795f4
Bug 743049 - Part 1: Add a friend API to get an error type name from a number. r=luke
2012-04-11 17:55:22 -04:00
Masatoshi Kimura
23049011a9
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
Terrence Cole
50754226d0
No bug - Warning fix for 91357:fa24b215d49e; r=luke
...
--HG--
extra : rebase_source : 9d48a4a09cb54d711a24da41576ffc24d44a3cb4
2012-04-11 10:32:50 -07:00
Terrence Cole
946e7a9836
Bug 743896 - Fix failure misattribution in jstest runner; r=dmandelin
...
In the unix task runner, when we kill tasks, we should be checking and returning
bool if we kill so that we then run waitpid in timeout mode. We weren't, so
tasks were never failing with timeout, only with failure. It turns out that
this is not safe anyway: it will race against signal delivery. We're better off
just removing this hack and letting the timeout cutoff be fuzzy.
--HG--
extra : rebase_source : cd44838e67cf541fd5741406e8c3f02ad7530f16
2012-04-11 10:02:33 -07:00