11489 Commits

Author SHA1 Message Date
bclary%bclary.com
78c308cecc Bug 457618 - update js1_7/block/order-of-operation.js
git-svn-id: svn://10.0.0.236/trunk@258134 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-18 07:48:18 +00:00
bclary%bclary.com
37888daf61 bug 457618 - JavaScript Tests - update tests due bug 346749 (let declarations at function level should be treated as var).
git-svn-id: svn://10.0.0.236/trunk@258133 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-18 07:46:10 +00:00
bclary%bclary.com
682ab0119b bug 496113 - JavaScript Test by Masakazu Takahashi.
git-svn-id: svn://10.0.0.236/trunk@258132 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-18 07:41:48 +00:00
nboyd%atg.com
1d740c5068 Fix Bug 508771 - Date.parse should attempt to parse string as toISOString format first
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@258122 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-15 21:53:30 +00:00
nboyd%atg.com
75306af5a5 Fix Bug 508527 - missing array elements contribute to the length of the array
Patch by Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@258121 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-15 21:34:52 +00:00
szegedia%freemail.hu
17d924065d Fix for Bug 510504 "delete foo.prop should not walk the property chain to find prop"
git-svn-id: svn://10.0.0.236/trunk@258113 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-14 15:15:00 +00:00
hannes%helma.at
6e93bd7e24 Patch from Raphael Speyer to add \b as a valid escape character in JSON strings
git-svn-id: svn://10.0.0.236/trunk@258112 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-14 08:25:29 +00:00
mrbkap%gmail.com
d6ddaaef71 bug 469492 - calling the call hook after fully initializing the freame. p=igor r=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258096 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-13 04:47:12 +00:00
hannes%helma.at
ffa3a4ae9b Patch for bug 509678: Performance improvement for built-in JSON parser
git-svn-id: svn://10.0.0.236/trunk@258067 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-12 09:27:25 +00:00
mrbkap%gmail.com
dc33c4cbdd Bug 505305. r=gal a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258051 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:54:10 +00:00
mrbkap%gmail.com
88fe26d64b Bug 506567 - Better initialize the pseudo-frame. r=igor a=ss
git-svn-id: svn://10.0.0.236/trunk@258050 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:48:18 +00:00
mrbkap%gmail.com
8bc644e9d7 Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst a=ss
git-svn-id: svn://10.0.0.236/trunk@258049 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:41:49 +00:00
mrbkap%gmail.com
5815f2cfd0 Bug 501577 - Add a missing call to Release in nsXPCWrappedJS::GetNewOrUsed. r+sr=peterv a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258048 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:14:21 +00:00
nboyd%atg.com
08cad95296 Fix bug 508547 - delete statements should evaluate functions before attempting to delete the result
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@258026 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-09 13:52:48 +00:00
nboyd%atg.com
27b9544d78 Make Object.defineProperty work for builtin properties such as Math.pow, or JSON.stringify
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@258024 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-09 02:57:40 +00:00
nboyd%atg.com
eea8cc1e97 Made getOwnPropertDescriptor use the actual attributes for builtins, rather
than the isMethod heuristic.

Patch from Raphael Speyer.


git-svn-id: svn://10.0.0.236/trunk@258016 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-08 20:56:57 +00:00
bclary%bclary.com
bb7154e955 JavaScript Test - Bug 495907: use more reliable code to get outermost tree script nest level, by David Mandelin, r=gal
git-svn-id: svn://10.0.0.236/trunk@258003 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:57:59 +00:00
bclary%bclary.com
53f0bb85fa JavaScript Tests - bug 463782, bug 476192 - fix summaries to not include string 'Assertion fail', npotb.
git-svn-id: svn://10.0.0.236/trunk@258002 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:53:51 +00:00
bclary%bclary.com
eb1a9ff174 bug 473096 - JavaScript Test - adjust test for new decompilation pattern.
git-svn-id: svn://10.0.0.236/trunk@258001 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:51:47 +00:00
bclary%bclary.com
0fb490d7e1 bug 476049 - JavaScript Test by Igor Bukanov.
git-svn-id: svn://10.0.0.236/trunk@258000 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:49:58 +00:00
bclary%bclary.com
879122b580 bug 475971 - JavaScript Test by Igor Bukanov.
git-svn-id: svn://10.0.0.236/trunk@257999 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:47:56 +00:00
bclary%bclary.com
982920e14c bug 355829 - JavaScript Tests by Jesse Ruderman, Igor Bukanov.
git-svn-id: svn://10.0.0.236/trunk@257998 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:45:05 +00:00
bclary%bclary.com
f0e455fd5c bug 479110 - JavaScript Tests - disable jitstats for math-trace-tests, Andreas Gal.
git-svn-id: svn://10.0.0.236/trunk@257997 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 23:42:17 +00:00
bclary%bclary.com
c08c16ad09 JavaScript Tests - bug 452598, bug 458838, bug 469347, bug 473117, bug 473271, bug 479198, bug 482349, bug 482594, bug 482783, bug 483103, bug 483103, bug 483723, bug 483962, bug 484104, bug 484151, bug 484332, bug 484334, bug 484495, bug 484599, bug 484693, bug 484751, bug 485790, bug 485889, bug 486578, bug 487134, bug 487845, bug 487845, bug 491965, bug 491989, bug 492124, bug 492599, bug 493255 by Andreas Gal, Jeff Walden, David Mandelin, Jacob Bramley, Graydon Hoare, Jason Orendorff, Brendan Eich, Ben Turner, Vladimir Vukicevic, Blake Kaplan.
git-svn-id: svn://10.0.0.236/trunk@257994 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 21:33:31 +00:00
bclary%bclary.com
202d912e4a bug 462734 - JavaScript Tests by Gary Kwong, Igor Bukanov, Brendan Eich.
git-svn-id: svn://10.0.0.236/trunk@257993 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 21:28:28 +00:00
bclary%bclary.com
e132ae8634 bug 455981 - JavaScript Tests by Jesse Ruderman, Gary Kwong.
git-svn-id: svn://10.0.0.236/trunk@257992 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 21:20:59 +00:00
bclary%bclary.com
e857af7aac bug 453492 - JavaScript Test by Jesse Ruderman.
git-svn-id: svn://10.0.0.236/trunk@257991 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 21:17:12 +00:00
bclary%bclary.com
4178047610 bug 452498 - JavaScript Tests by Gary Kwong, Jesse Ruderman, Brendan Eich.
git-svn-id: svn://10.0.0.236/trunk@257990 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 21:09:07 +00:00
bclary%bclary.com
a4d3383300 bug 436700 - JavaScript Test by Sylvain Pasche.
git-svn-id: svn://10.0.0.236/trunk@257989 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 20:40:34 +00:00
bclary%bclary.com
43994bfe73 bug 426827 - JavaScript Test by Jan Darmochwal.
git-svn-id: svn://10.0.0.236/trunk@257988 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 20:38:01 +00:00
bclary%bclary.com
e55fd9589b bug 416737 - JavaScript Tests by Jesse Ruderman, Igor Bukanov.
git-svn-id: svn://10.0.0.236/trunk@257986 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 20:32:08 +00:00
bclary%bclary.com
8d946d4195 bug 375406 - JavaScript Test by Jesse Ruderman.
git-svn-id: svn://10.0.0.236/trunk@257985 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 20:29:14 +00:00
bclary%bclary.com
3a874f9ae8 bug 495307 - JavaScript Tests - update slow-n-*.tests.
git-svn-id: svn://10.0.0.236/trunk@257981 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 20:00:54 +00:00
bclary%bclary.com
abe3e20ee6 bug 480680 - update comments regarding need to hg update -C to work around in tree changes.
git-svn-id: svn://10.0.0.236/trunk@257980 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 19:54:09 +00:00
nboyd%atg.com
6d18c3d6df For getters and setters of accessor propeties, make being absent equivalent
to having value undefined

As per 8.6.1 Table 3.

Patch from Raphael Speyer.


git-svn-id: svn://10.0.0.236/trunk@257969 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-07 14:04:34 +00:00
nboyd%atg.com
33a9f4cdcf Fix Bug 506940 - Correct arity of array methods
Patch from Raphel Speyer


git-svn-id: svn://10.0.0.236/trunk@257923 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-03 02:16:33 +00:00
nboyd%atg.com
16a73576ee See bug 489329 #52:
Make defineProperty throw a TypeError when attributes is both data and accessor descriptor.  As per 8.10.5 step 9 of the spec.
Patch from Raphel Speyer.


git-svn-id: svn://10.0.0.236/trunk@257920 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-02 01:40:42 +00:00
nboyd%atg.com
29d9a51d58 Fix Bug 507104 - Make RegExp.prototype.constructor non-enumerable
ES5Conform tests expect RegExp.prototype.constructor to have descriptor
{writable:true, enumerable:false, configurable:true}
Patch from Raphel Speyer


git-svn-id: svn://10.0.0.236/trunk@257919 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-02 01:37:59 +00:00
nboyd%atg.com
c7b17a31cf See comment #4 from bug 456389:
reduce and reduceRight throw a TypeError when array empty and no initVal
As per 15.4.4.21 step 5, and 15.4.4.22 step 5 of the spec.
Patch from Raphael Speyer.


git-svn-id: svn://10.0.0.236/trunk@257918 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-02 01:36:01 +00:00
nboyd%atg.com
d2f8df3446 Fix Bug 506859 - Add name and constructor properties to each of the Error constructors
Patch from Raphel Speyer


git-svn-id: svn://10.0.0.236/trunk@257821 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-28 12:41:36 +00:00
nboyd%atg.com
5146e4334f Set the prototype of bound functions to Function.prototype
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257820 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-28 12:22:17 +00:00
nboyd%atg.com
929d1b5bcd Fix Bug 506436 - Implement Function.bind
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257816 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-28 02:49:17 +00:00
nboyd%atg.com
1d48eb38a0 Allow getOwnPropertyDescriptor to be called for objects with no scope, e.g. functions returned from Function.bind
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257814 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-28 02:22:39 +00:00
nboyd%atg.com
81c1d523fc corrected the descriptor properties of built-ins
See https://bugzilla.mozilla.org/show_bug.cgi?id=489329#c49


git-svn-id: svn://10.0.0.236/trunk@257813 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-28 01:59:41 +00:00
nboyd%atg.com
2834b2b86d Ensure that getters/setters defined through defineProperty are actually used
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257805 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-27 14:59:56 +00:00
nboyd%atg.com
f4d3d29393 Fix Bug 505524 - Implement Date.toJSON
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257801 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-27 02:04:23 +00:00
nboyd%atg.com
5aa3abe357 Fix Bug 505463 - Implement Date.toISOString
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257798 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-26 02:35:38 +00:00
inonit%inonit.com
b1e0e1750f Allow user to specify JUnit URL to use; allow testsrc compile task to be executed without lib/ directory existing or without JUnit being already downloaded
git-svn-id: svn://10.0.0.236/trunk@257797 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-25 15:12:13 +00:00
nboyd%atg.com
0c8a93379b Fix Bug 505890 - Implement String.trim
Patch from Raphael Speyer


git-svn-id: svn://10.0.0.236/trunk@257796 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-25 12:29:03 +00:00
nboyd%atg.com
3731d530df Remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@257790 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-24 13:58:30 +00:00