Commit Graph

61280 Commits

Author SHA1 Message Date
Paul Biggar
68fbc20b7c Bug 620850 - don't run silentfail tests on platforms without ulimit support (aka OSX) (r=igor)
Also label many slow tests as |slow| in the manifest, so that they are skipped by default (in particular, stop running tests by default which cause the tester's machine to run out of memory).
2011-01-31 17:16:25 -08:00
Paul Biggar
8c53817034 Bug 625141 - Avoid overwriting used register in TypedArray IC (r=dvander)
There was an edge case when creating an IC to store to typed arrays, in which
we would overwrite a register which was a component of the address. Fix by
preserving the address in that case, and restoring it after the overwrite.

This also checks that we save/restore each register only once.
2011-01-31 17:16:25 -08:00
Jim Blandy
2016210905 Bug 554955: Revert fix (changesets 297b1312f534, 18a1effafe19, 26d40e1e80bf, f6117465a979): 14% performance hit as measured by Talos. r=talos 2011-01-31 16:48:26 -08:00
David Mandelin
6242f450e2 Bug 627609 followup 2: add missing helper for tests, r=orange 2011-01-31 16:41:45 -08:00
David Mandelin
8e65dc49e0 Bug 627609 followup: address comments and check for start of opcode stream before atOptionalBracket 2011-01-31 16:15:56 -08:00
David Mandelin
fddedf5950 Bug 627609: make PCRE handling of empty matches within quantified groups match ECMA-262, r=cdleary 2011-01-31 16:03:11 -08:00
Steve Fink
6a333d3f55 Bug 627758 - Handle cancelled GC runs properly (r=dmandelin)
--HG--
extra : rebase_source : a215df78cb2bedb190f8655df4cd5b7dd6ec5f3a
2011-01-31 15:00:52 -08:00
Jim Blandy
672dd55a28 Bug 621103: Rename js::Anchor to JS::Anchor: 'JS' is the public namespace. r=waldo 2011-01-31 14:42:53 -08:00
Bill McCloskey
fa08e98f10 Bug 630340 - Fix undefined value in compartment assertion (r=Waldo) 2011-01-31 13:54:28 -08:00
Jason Orendorff
bb4fd3c0ab Call a class a class, to avoid MSVC warning. rs=Waldo. 2011-01-31 15:37:13 -06:00
Jason Orendorff
f1be13e671 js_InitExceptionClasses was skipping part js_InitClass, leading to "Assertion failure: proto->canProvideEmptyShape". Bug 624968, r=Waldo.
--HG--
extra : rebase_source : 08ebb71574a0b1962e8f1c0c3f9a7aa7ec904b03
2011-01-24 17:32:44 -06:00
Jason Orendorff
2c260dfeff Remove assertion that has clearly outlived its usefulness. Bug 626592, r=dvander.
--HG--
extra : rebase_source : a629cbdfb129ac557f68a9d5938880ebd11c1305
2011-01-24 13:49:06 -06:00
David Anderson
9a680c6236 Fix constant folding bug in Uint8Clamped arrays (bug 624483, r=vlad). 2011-01-31 12:46:09 -08:00
David Anderson
b1acdbb117 Fix jsanalyze missing a GETLOCAL case (bug 630048, r=dmandelin). 2011-01-31 12:41:17 -08:00
Jim Blandy
a237e87988 Bug 554955: Give blocks and call objects unique shapes when they have parents that may be extended with new bindings. r=jorendorff
The comments for js::Bindings::extensibleParents explain why this is necessary.

AssertValidPropertyCacheHit should have been catching this bug, but for
reasons I don't understand, it is restricted from checking this case. This
patch extends it to assert when the bug is detected.

I've gathered the infallible parts of the initialization for Call objects
and cloned block objects into their own functions.
2011-01-31 12:08:13 -08:00
Jim Blandy
4b5d129a27 Bug 554955: Make JSObject::setMap not pretend to take a const shape. r=jorendorff
Without this patch, JSObject::setMap takes a const js::Shape *, which is
kind of misleading. The object will not actually treat the shape as const
(it does a const_cast). At all but one call site, setMap's argument is not
a const shape --- and in fact, many call sites are installing empty shapes
whose role in life is to be extended.

The only place where a const js::Shape appears is in setSharedNonNativeMap,
which is doing something unusual. The const cast should be there.

Changing js::Bindings::lastShape to return a non-const shape is then
natural, and cleans up the definition of initCall coming in the next patch.
2011-01-31 12:08:13 -08:00
Jim Blandy
e0523545cd Bug 554955: Introduce a typed accessor for retreiving functions from JSFunctionBoxes. r=brendan 2011-01-31 12:08:13 -08:00
Jim Blandy
403f750c48 Bug 554955: Drive-by comment fix. no r. 2011-01-31 12:08:13 -08:00
Phil Ringnalda
e60c7754b0 Backed out changeset 81c46a78201f (bug 629197) for failing tests and only being half checked in 2011-01-29 22:43:32 -08:00
Andreas Gal
5a563cacb9 Disable jetpack service (bug 629197, r=shaver). 2011-01-29 20:48:11 -08:00
Andreas Gal
494df5a331 Allow toString on InstallTrigger (toSource is already allowed, bug 628410). 2011-01-29 20:20:17 -08:00
Jonas Sicking
8ae905de30 Tests for bug 594999 (r=mrbkap). 2011-01-29 18:53:59 -08:00
Andreas Gal
80068e5cca Silenty return undefined instead of throwing when content tries to access non-exposed chrome properties (bug 594999, r=mrbkap). 2011-01-29 18:48:30 -08:00
Jonas Sicking
6c6a7cea3e Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal). 2011-01-29 18:47:17 -08:00
Igor Bukanov
7c65c6fde5 bug 624880 - renaming JSD public API to reflect the signature change. r=timeless 2011-01-29 22:40:29 +01:00
Igor Bukanov
276b0a6237 bug 624364 - r=jorendorff
--HG--
extra : rebase_source : 6e410f6a4aaf21779741b19f6b9ae228946b25bc
2011-01-25 00:04:29 +01:00
Brendan Eich
de8093385a Followup fix for gaping hole in patch for bug 591846 (credit to jorendorff, r=me). 2011-01-29 01:01:54 -08:00
Igor Bukanov
6d2d81f9db bug 629655 - avoid influencing the malloc GC counters when dumping the heap. r=anygregor 2011-01-28 23:25:05 +01:00
Andreas Gal
48adc47ad7 Cache result of Function.prototype.toString (bug 629590, r/a=shaver). 2011-01-28 10:19:13 -08:00
Boris Zbarsky
8988295145 Bug 628209 partial fix. On trace, make the element getter for typed arrays of unsigned integers that are less than 32 bits get signed 32-bit ints, not unsigned 32-bit ints. r=gal 2011-01-28 10:33:12 -05:00
Brendan Eich
1d606e7be9 Allow PropertyOp-based data properties to be frozen at last-got value (591846, r=jwalden). 2011-01-25 18:04:45 -08:00
Chris Leary
2b67ce4256 CLOSED TREE: Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-27 20:06:21 -08:00
Chris Leary
6d0cc31d27 Back out changeset 7d82892cb8df. 2011-01-27 19:43:33 -08:00
John Daggett
8851b92260 Bug 628152. Fix crash in BuildFontList and revert lazy metrics initialization in gfxDWriteFont. r=jkew, a=blocker 2011-01-28 09:40:06 +09:00
Chris Leary
001cef1fd8 Merge the backout head. 2011-01-27 16:26:21 -08:00
Chris Leary
8f8ea8fd48 Backed out changeset b5ca98debed0 2011-01-27 16:25:30 -08:00
Bill McCloskey
a4f9ab0da8 Bug 609104 - Move the property tree to the compartment (r=brendan) 2011-01-27 15:46:39 -08:00
Blake Kaplan
2e5ffe22af Fix bustage from bug 611485. r=gal 2011-01-27 12:46:20 -08:00
Tim Taubert
439fb48ac4 Bug 628165 - Windows key should not be mapped to Panorama search [r=ian, a=dietrich+blocking2.0-final] 2011-01-26 20:37:02 +01:00
Tim Taubert
746bbfe99e Bug 628867 - browser_tabview_bug586553.js loads about:credits, which hits the network [r=ian, a=test] 2011-01-26 22:38:00 +01:00
Frank Yan
5b1008b96c Bug 627332 - add-ons compatibility check always presents "Minefield is working offline" dialog when network link state detection is disabled. r=roc a=dolske 2011-01-27 16:07:30 -08:00
Frank Yan
dbcea1569e Bug 620472 - Disable unreliable "Work offline" autodetection. r=roc a=beltzner 2011-01-27 16:07:30 -08:00
Wan-Teh Chang
006505993e Bug 614526: Pass AI_ADDRCONFIG to getaddrinfo if PR_AI_ADDRCONFIG is set.
Filter the various localhost names to work around a AI_ADDRCONFIG problem
with loopback addresses in some implementations.  The patch is contributed
by Honza Bambas <honzab.moz@firemni.cz>.  r=wtc.  a=blocking+approval2.0.
2011-01-27 15:55:40 -08:00
Patrick Walton
971e48fc54 Bug 612470 - Don't close the current Panorama group if there are still app tabs left. r=iangilman a=blocking2.0:betaN+ 2011-01-27 19:15:18 +01:00
Patrick Walton
afa835be2e Bug 629334 - Back out changeset 84ed248b728d (ignore native events when in event tracking mode on Mac) due to menu bar weirdness. r=backout a=backout 2011-01-27 15:27:39 -08:00
Mark Banner
4d5f8476bf Follow up to bug 606966, catch NS_ERROR_FAILURE instead of NS_ERROR_MALFORMED_URI. rs=sdwilsh a=test-only bustage fix for mailnews add-ons DONTBUILD 2011-01-27 13:33:00 -10:00
Jim Mathies
aef5c2725d Bug 622328 - Fixup widget's UpdateTransparentRegion now that layout's transparent region includes all content. r=roc, a=blocking. 2011-01-27 16:58:58 -06:00
Jim Mathies
285a268889 Bug 622328 - Limit glass margin adjustments to kGlassMarginAdjustment for frames that hold opaque content. r=roc, a=blocking. 2011-01-27 16:58:55 -06:00
Timothy Nikkel
0123cc0fff Bug 622328 - Always make sure the area of the root content document is considered opaque. r=roc, a=blocking. 2011-01-27 16:58:50 -06:00
Michal Novotny
d0331cfa9d Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2011-01-27 17:02:44 +02:00