Commit Graph

22455 Commits

Author SHA1 Message Date
Jim Blandy
53829abcf7 Bug 461180: Fix result comparison function for trace tests. r=mrbkap
This allows the math tests (next patch) to be pickier about NaN and
negative zero.  With the earlier patch, it introduces no regressions.
2008-12-01 15:14:06 -08:00
Jim Blandy
81c2c7def7 Bug 461180: Use 'uneval' when printing expected and actual test results. r=mrbkap 2008-12-01 15:14:06 -08:00
Jim Blandy
b02e993bd9 Bug 461180: Don't depend on type coercion when checking trace test results. r=mrbkap
A number of the tests in js/src/trace-test.js specify expected results
of a different type from the actual results.  For example, the lsh
test function returns an array of results, while its expected value is
that the string that array becomes when coerced to a string.  This
trick allows tests to return structured values as results, even though
JavaScript lacks a deep equality operator.  However, this behavior can
be troublesome when writing a test whose goals include checking the
type of the result.

Some tests simply specify expected values as strings for no apparent
reason.

This patch reworks these so that the expected and actual values have
the same type.
2008-12-01 15:14:06 -08:00
Jim Blandy
6298d58d4a Bug 461180: Abstract out core code of math_atan2. r=brendan
The C++ implementation of the JavaScript Math.atan2 function includes
not entirely trivial code to compute the result that operates solely
on jsdouble values, and doesn't worry about tagged doubles at all.
This code can be shared between the interpreted and traceable native
implementations of the function.
2008-12-01 15:14:06 -08:00
David Anderson
bce9294e0f Fixed resolve hooks causing recorder to crash (bug 467007, r=gal). 2008-12-01 15:08:40 -08:00
Benjamin Smedberg
9263d3fc6f Change the stack-class analysis to a warning instead of an error, at least temporarily: the analysis was buggy when originally landed, and there are some heap-allocated autostrings outstanding through the tree. 2008-12-01 13:59:58 -05:00
Ben Hearsum
611df67e19 Version bump mozilla-central to 3.2a1pre/1.9.2a1pre. CLOSED TREE 2008-12-01 12:17:55 -05:00
Ben Hearsum
9ac79b8f14 This tag indicates the point where http://hg.mozilla.org/releases/mozilla-1.9.1 and http://hg.mozilla.org/mozilla-central branched off from each other (update to not be on the relbranch). CLOSED TREE 2008-12-01 12:14:54 -05:00
Jesse Ruderman
8641b22aca Add bug 453935 crashtest to CLOSED TREE 2008-11-29 19:13:55 -08:00
Jesse Ruderman
91d983b884 Add bug 458637 crashtest 2008-11-29 19:10:58 -08:00
Jesse Ruderman
050af4beec Add bug 457375 crashtest using the crashtest.diff created by Mats 2008-11-29 19:04:37 -08:00
Jesse Ruderman
5293e9c546 Add bug 452157 crashtests (using the 'crashtests patch' created by dholbert) 2008-11-29 19:01:30 -08:00
Jesse Ruderman
24852c3aec Add bug 443528 crashtest (based on the crashtest.diff created by Mats) to CLOSED TREE 2008-11-29 18:57:00 -08:00
Jesse Ruderman
e3fb289d37 Add 439206 crashtest to CLOSED TREE 2008-11-29 18:51:23 -08:00
Jesse Ruderman
8a194aa3fe Add bug 353713 crashtest to CLOSED TREE. This test takes about 2 seconds on my machine as it tests mTooDeepWriteRecursion code, making it the slowest crashtest; hopefully this doesn't cause problems. 2008-11-29 18:43:45 -08:00
Jesse Ruderman
d4f3757275 Add bug 345139 crashtest on CLOSED TREE 2008-11-29 18:27:26 -08:00
Jesse Ruderman
1c7dedb6fa Adding crashtest for bug 338674 on a CLOSED TREE 2008-11-29 18:19:36 -08:00
Jesse Ruderman
42252a60cc Add crashtest for bug 400349. sdwilsh gave me permission to check in crashtests in today's CLOSED TREE. 2008-11-29 18:12:46 -08:00
Shawn Wilsher
d217862ba4 Disabling test that was added with bug 463934. There appear to be rounding issues with part of the test.
This is going into a CLOSED TREE, but that's OK.  The bug that landed this test
fixed a large performance regression in Txul, and it looks like it's just an
issue with the test.
2008-11-29 16:07:43 -08:00
Robert Longson
beb1a27d17 Bug 463934 - text bounds do not account for position properly
Landing this to see if it fixes bug 465222 - tsvg regression November 3 2008
r=roc, sr=roc, a1.9.1=beltzner
2008-11-29 11:23:57 -08:00
Shawn Wilsher
c27f99af05 Completely remove the test since marking it as failing doesn't seem to actually help with timeouts :( 2008-11-28 19:54:29 -08:00
Shawn Wilsher
46dc84456b bug 464174 followup (comment fix only) 2008-11-28 18:24:05 -08:00
Blake Kaplan
a871090e67 Bug 464174. r=sicking, sr=sicking, a=beltzner 2008-11-28 18:16:17 -08:00
Blake Kaplan
f32e0ba3e6 Bug 454142. r=brendan, r=igor, a=beltzner 2008-11-28 18:15:06 -08:00
Shawn Wilsher
46b8e136f7 Mark xslt_selflink_empty_href.xslt as failing on linux 2008-11-28 17:54:16 -08:00
Andreas Gal
bfd4fe191d Abort compilation of a regular expression if we run out of memory during recording (466588, r=danderson). 2008-11-28 17:31:17 -08:00
Bobby Holley
5f7eb68152 Bug 457215 - Fix LCMS memory leak. r=vlad,a191=beltzner 2008-11-28 17:26:39 -08:00
Josh Aas
3522c28f01 npfunctions should reflect different NP_Initialize signature for Mac OS X. r=smichaud sr=jst a=beltzner 2008-11-28 18:17:36 -05:00
Shawn Wilsher
60611b98b8 merge to tip after backout 2008-11-28 17:05:05 -08:00
Shawn Wilsher
d4bf0c5514 Backed out changeset a4495a0cf2ff (bug 458397) to investigate Txul regression (bug 467102) 2008-11-28 17:04:16 -08:00
Shawn Wilsher
280929ab6d merge to tip after backout 2008-11-28 16:13:37 -08:00
Shawn Wilsher
a117a5ad88 Backed out changeset 30adfe786ffa (bug 464362) in an attempt to fix red on tinderbox. 2008-11-28 16:13:12 -08:00
Josh Aas
1c54f9ed62 don't use method selectors unnecessarily in cursor code. b=464313 r=smichaud sr=roc a=beltzner 2008-11-28 17:43:29 -05:00
Neil Rashbrook
d17857e63e Bug 466234: provide audio and video interfaces even when media is diabled, so that content popup menu construction works, r/sr=roc, r=weilbacher, a191=beltzner 2008-11-28 15:32:29 -08:00
Josh Aas
bbc161055d remove morefilesx dependency in libreg. b=464362 r=smichaud sr=roc a=beltzner 2008-11-28 17:34:32 -05:00
Dave Townsend
70531db076 Bug 465556: Fennec does not create extensions.rdf file. r=robstrong, a1.9.1=beltzner 2008-11-28 16:20:10 -06:00
Shawn Wilsher
aed89a8174 Merge to tip after applying bundle for bug 353364 2008-11-28 15:30:28 -08:00
Ehsan Akhgari
f6339a1187 Bug 462707 - nsHttpChannel::GetEntityID should respect Accept-Ranges response header; r,sr=biesi a191=beltzner 2008-11-28 15:28:57 -08:00
Martin
cf510a9d6d Add tests for xml-stylesheet PI (including for Bug 353364). a=tests 2008-11-28 21:25:48 +00:00
Martin
04e4c184f3 Bug 353364 - Same-document references in xml-stylesheet PI processed incorrectly. r+sr=peterv, a191=beltzner 2008-11-28 21:21:55 +00:00
Vlado Valastiak
bcc7829581 Bug 277296 - The print dialogs have no accesskeys; r=gavin, a191=beltzner 2008-11-28 22:07:51 +01:00
Ehsan Akhgari
47d60d30b6 Bug 464918 - Console clearing test for private browsing should not use a timeout; r=mconnor a191=beltzner 2008-11-28 15:27:31 -08:00
Shawn Wilsher
f490a40c8e merge to tip after backout 2008-11-28 15:19:48 -08:00
Shawn Wilsher
1bc4d2d896 Backed out changeset fdd5e4e34241 (bug 407725) to possibly fix random failures of browser/base/content/test/browser_customize.js 2008-11-28 15:19:21 -08:00
Ehsan Akhgari
2a7083cddc Bug 463882 - nsDownloadManager::Init is not safe for multiple calls; r=sdwilsh a191=beltzner 2008-11-28 12:53:57 -08:00
Ehsan Akhgari
405233fe56 Bug 463474 - Make sanitizer's searchbar clearing code a bit cleaner; r=gavin a191=beltzner 2008-11-28 12:51:16 -08:00
Dave Townsend
192f849952 Bug 454546: Update EM and blocklist service to be initialised on profile-after-change. r=robstrong, a1.9.1=beltzner 2008-11-28 12:49:48 -08:00
Dave Townsend
8ad1486fcc Bug 462739: Send cookies as appropriate with xpinstall requests. r+sr=dveditz, a1.9.1=beltzner 2008-11-28 12:49:07 -08:00
Gavin Sharp
58c580b07d Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner 2008-11-28 14:53:33 -05:00
Shawn Wilsher
a0dbcd007e Merge to tip since I forgot to update before backing out... 2008-11-28 11:06:03 -08:00