nboyd%atg.com
46706c5f5a
Fix bug 412467 - Iterator value escapes from array comprehension
2008-01-15 19:27:16 +00:00
bent.mozilla%gmail.com
0745f4d9e7
Bug 352791 - "Permission denied to get property XULElement.ownerDocument". Patch by Blake Kaplan <mrbkap@gmail.com>. r=jst,bzbarsky. sr=brendan. a=blocking1.9.
2008-01-15 18:23:46 +00:00
nboyd%atg.com
e04c8fc839
Fix comments: interpreterLoop -> interpretLoop
2008-01-15 17:53:05 +00:00
nboyd%atg.com
7fdf3a3723
Remove dependency on Arrays.copyOfRange, which is in JDK 1.6 only.
2008-01-15 17:39:19 +00:00
nboyd%atg.com
f53511858c
Skip new failing tests.
2008-01-15 17:38:32 +00:00
benjamin%smedbergs.us
d4d8cbd0c5
Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
2008-01-15 15:57:43 +00:00
benjamin%smedbergs.us
c6b0868a4c
Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
2008-01-15 15:51:02 +00:00
bclary%bclary.com
afba32adac
JavaScript Test - fix thinko in ecma_3/Number/15.7.4.3-01.js, bug 412068
2008-01-15 07:09:46 +00:00
jwalden%mit.edu
bde93fc34d
Bug 412068 - Number.prototype.toLocaleString incorrectly accesses the memory where its first argument should be, even if no first argument is actually given. Tag-team r=igor, r+a=brendan
...
By the way, this checkin occurred on an orange tree. Just like every other patch in the last day. Yay checkin policy.
2008-01-15 04:16:09 +00:00
bclary%bclary.com
4becf5981d
Sisyphus|JavaScript Tests - fix runtests.sh -e extra argument processing, bug 412317, not part of the build
2008-01-14 19:07:01 +00:00
sayrer%gmail.com
a88cd938a2
Bug 412210. SpiderMonkey faster at -O2 with msvc. r/a=brendan
2008-01-14 04:45:42 +00:00
bclary%bclary.com
6445c04b6a
Sisyphus|JavaScript Tests - TinderboxPrint of test counts contain leading whitespace, bug 412183, not part of the build
2008-01-13 18:44:48 +00:00
jag%tty.nl
95d7caeadf
Bug 406800: HP's OA crash [@js_FinalizeObject][@ RtlpDeCommitFreeBlock] when loading blade enclosure info. r/sr=peterv
...
GC was clearing mJSVal without updating mData, so XPCTraceableVariant's destructor would get confused and call Cleanup() on mData when it shouldn't (the buffer pointed to wasn't ours to free, you see).
Instead of avoiding Cleanup(), make it be harmless by nulling out the pointer to the buffer.
2008-01-13 18:21:08 +00:00
bclary%bclary.com
80e4e73c9d
JavaScript Tests - update public failures, bug 314874 verified fixed
2008-01-13 17:40:04 +00:00
brendan%mozilla.org
b0d1d63690
Fixes and improvements for property instrumentation (411630, r=igor).
...
* Menu of -D flags for enabling instrumentation, as a commented-out CFLAGS +=
setting for convenient testing.
* js_FindProperty and js_LookupPropertyWithFlags return indexes into the scope
and prototype chains, respectively, to support internal instrumentation, and
to pave the way for the return of the property cache (bug 365851)..
* jsutil.[ch] JSBasicStats struct and functions for computing mean/sigma/max
and auto-scaling histogram.
* JS_SCOPE_DEPTH_METER instrumentation for compile- and run-time scope chain
length instrumentation:
+ At compile time, rt->hostenvScopeDepthStats and rt->lexicalScopeDepthStats
meter scope chains passed into the compile and evaluate APIs.
+ At runtime, rt->protoLookupDepthStats and rt->scopeSearchDepthStats track
steps along the prototype and scope chains until the sought-after property
is found.
* JS_ARENAMETER uses JSBasicStats now.
* Added rt->liveScopePropsPreSweep to fix the property tree stats code that
rotted when property tree sweeping moved to after the finalization phase.
* Un-bitrotted some DEBUG_brendan code, turned some off for myself via XXX.
* Mac OS X toolchain requires initialized data shared across dynamic library
member files, outlaws common data, so initialize extern metering vars.
* Old HASHMETER code in jshash.[ch] is now JS_HASHMETER-controlled and based
on JSBasicStats.
* DEBUG_scopemeters macro renamed JS_DUMP_SCOPE_METERS; uses JSBasicStats now.
* Disentangle DEBUG and DUMP_SCOPE_STATS (now JS_DUMP_PROPTREE_STATS) and fix
inconsistent thread safety for liveScopeProps (sometimes atomic-incremented,
sometimes runtime-locked).
* Compiler-modeled maxScopeDepth will propagate via JSScript to runtime for
capability-based, interpreter-inlined cache hit qualifier bits, to bypass
scope and prototype chain lookup by optimizing for common monomorphic get,
set, and call site referencing a prototype property in a well-named object
(no shadowing or mutation in 99.9% of the cases).
2008-01-13 00:31:32 +00:00
reed%reedloden.com
8ef3cde3bb
Change to ISO C90 comment style to fix warning in sayrer's last patch.
2008-01-12 07:37:32 +00:00
sayrer%gmail.com
a9193f568f
Bug 353962. Use OSAtomic on Darwin for JS thinlocks. r/a=brendan
2008-01-12 07:16:14 +00:00
dwitte%stanford.edu
2706db7178
thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+
2008-01-12 04:30:44 +00:00
bclary%bclary.com
73bb51a8e4
JavaScript Tests - regression test for bug 411893, by Jeff Walden, not part of the build
2008-01-12 03:54:40 +00:00
bclary%bclary.com
049c488e19
JavaScript Tests - regression test for bug 411889, by Jeff Walden, not part of the build
2008-01-12 03:48:16 +00:00
myk%mozilla.org
30ff58dcc2
backing out jst's fix for bug 408301 because it seems to have turned some tinderboxen red, others orange, and caused web content regressions
2008-01-12 01:56:22 +00:00
jwalden%mit.edu
48932eb6c9
Fix dumb mistake in the last toString patch that causes proto-acid3 to crash.
2008-01-12 00:12:36 +00:00
jwalden%mit.edu
76cafb407f
Bug 411893 - num.toPrecision(undefined) !== num.toString(). r=crowder, a=brendan
2008-01-11 23:12:15 +00:00
jwalden%mit.edu
52b93f7471
Bug 411889 - Given a = num.toString(), b = num.toString(undefined), c = num.toString(10), expect (a === b && b === c). r=crowder, a=brendan
2008-01-11 23:07:13 +00:00
jst%mozilla.org
5ddfef2354
Re-landing fix for bug 408301 to see if it really was the cause of the orange last time it landed. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org
2008-01-11 23:06:40 +00:00
dbaron%dbaron.org
1eb0636337
Unset and reset the JS context global objects when doing ExplainLiveExpectedGarbage, just like when doing normal cycle collection. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only).
2008-01-11 22:24:33 +00:00
nboyd%atg.com
7837d9b0d3
Fix bug 411539 Generalize some tests for Rhino and Spidermonkey.
...
r=bclary@bclary.com
2008-01-11 17:38:09 +00:00
nboyd%atg.com
0b9d86e784
Some work to address https://bugzilla.mozilla.org/show_bug.cgi?id=411895 .
...
I noticed that we were creating a DocumentBuilder from scratch
every time, so I created a simple DocumentBuilder pool. This saved
about 23% on the test case, which is a nice speedup but still leaves
us a couple of orders of magnitude slower than SpiderMonkey for this
case.
2008-01-11 15:02:11 +00:00
benjamin%smedbergs.us
0e9dffce91
Bug 411531 - Assertion failure !rt->gcRunning because I accidentally turned off deffered-release of wrapped natives during GC, r+sr=peterv
2008-01-11 14:52:45 +00:00
dwitte%stanford.edu
89b2aa62d8
backing out the rest.
2008-01-11 10:56:35 +00:00
dwitte%stanford.edu
b5bc025224
partial backout in an attempt to fix orange.
2008-01-11 10:09:00 +00:00
dwitte%stanford.edu
bec597575a
relanding bug 410250.
2008-01-11 09:13:06 +00:00
dwitte%stanford.edu
7da61a1630
backing out to fix orange.
2008-01-11 04:59:46 +00:00
dwitte%stanford.edu
3ed045961f
thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+
2008-01-11 03:56:02 +00:00
crowder%fiverocks.com
b7463fa28a
Bug 411747: latent GC hazard in one of the routines in js.c (npotb), r/a=brendan
2008-01-11 03:22:55 +00:00
nboyd%atg.com
2eb389fe0c
Fix case that had been getting a ClassCastException (then changed to be a
...
Kit.codeBug) that I now report an error on.
2008-01-10 22:47:26 +00:00
nboyd%atg.com
b44703d683
Add support for customizable prompt characters for the shell using the
...
"prompts" global variable.
2008-01-10 22:45:59 +00:00
nboyd%atg.com
41fd3807d1
Fix missing functionality of Array and String methods available as function
...
properties of the constructor (e.g., Array.every, String.replace).
See http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6 .
2008-01-10 22:44:47 +00:00
crowder%fiverocks.com
5e8157360d
Bug 411702 - Ancient OOM handling bug with an easy fix, r/a=brendan
2008-01-10 21:49:59 +00:00
igor%mir2.org
299715b127
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst
2008-01-10 15:39:03 +00:00
peterv%propagandism.org
61924b8732
Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron.
2008-01-10 14:10:08 +00:00
bclary%bclary.com
dc2d4e35a5
JavaScript Tests - update spidermonkey-extensions-n.tests, bug 398000, not part of the build
2008-01-10 01:49:19 +00:00
bclary%bclary.com
15f6c262ad
JavaScript Tests - known-failure.pl should ignore trailing spaces, bug 411506, not part of the build
2008-01-09 19:30:38 +00:00
nboyd%atg.com
8e6912bcf5
Fix miscellaneous failures in JavaScript 1.7 support as demonstrated by
...
test suite.
2008-01-09 19:23:28 +00:00
nboyd%atg.com
daaebeb37a
Fix bug: was printing out name of resource rather than error message.
2008-01-09 19:22:19 +00:00
nboyd%atg.com
59b6992cdd
Prepare for release candidate.
2008-01-09 19:19:20 +00:00
nboyd%atg.com
63ce0e6fd5
Fix the use of property or array lvalues in destructuring assignment. Test
...
case:
var obj = { p:3 };
var arr = [ 3 ];
[obj.p] = [9];
if (obj.p != 9) throw "obj.p not set by array destructuring assignment";
[arr[0]] = [9];
if (arr[0] != 9) throw "arr[0] not set by array destructuring assignment";
({prop:obj.p} = {prop:12});
if (obj.p != 12) throw "obj.p not set by object destructuring assignment";
({prop:arr[0]} = {prop:12});
if (arr[0] != 12) throw "arr[0] not set by object destructuring assignment";
2008-01-09 15:46:19 +00:00
igor%mir2.org
983023fba1
Bug 409109: backing the checking as the tree was closed.
2008-01-09 15:31:13 +00:00
igor%mir2.org
cd8061e363
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst
2008-01-09 15:20:39 +00:00
bclary%bclary.com
3c4c8a2012
JavaScript Test - regression test for bug 352291, by Jesse Ruderman, not part of the build
2008-01-09 03:42:01 +00:00
bclary%bclary.com
67f785a9d8
JavaScript Test - regression test for bug 352422, by Jesse Ruderman, not part of the build
2008-01-09 03:31:29 +00:00
bclary%bclary.com
b68e40774c
JavaScript Test - regression test for bug 352786, by Jesse Ruderman, not part of the build
2008-01-09 03:25:46 +00:00
roc+%cs.cmu.edu
62d97c5ab2
Backing out 408301 to see if it fixes winxp01 orange
2008-01-09 03:21:35 +00:00
bclary%bclary.com
92f970a9ab
JavaScript Test - regression test for bug 376410, by Jesse Ruderman, not part of the build
2008-01-09 03:19:55 +00:00
bclary%bclary.com
4fb3127ceb
JavaScript Test - regression test for bug 376410, by Jesse Ruderman, not part of the build
2008-01-09 03:13:01 +00:00
bclary%bclary.com
7fe89e959b
JavaScript Test - regression test for bug 411279, by Brendan Eich, not part of the build
2008-01-09 02:56:25 +00:00
brendan%mozilla.org
6e478b64ae
Support let in switch-case statement lists, scoped by switch body (411279, r=mrbkap).
2008-01-09 00:49:35 +00:00
jst%mozilla.org
9b53e72893
Fixing bug 408301. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org
2008-01-08 23:38:24 +00:00
nboyd%atg.com
743ecfdcc8
Add skip for new test
2008-01-07 17:51:36 +00:00
nboyd%atg.com
2bc021e24e
More accurate description of Rhino behavior with generators and gc.
2008-01-07 17:46:28 +00:00
nboyd%atg.com
98940da360
Make retro-translated 1.4 jar part of standard distribution.
2008-01-07 17:45:29 +00:00
bclary%bclary.com
615a57eeed
JavaScript Tests - regression test for bug 410192, by Biju, Brendan Eich, not part of the build
2008-01-07 16:58:30 +00:00
bclary%bclary.com
fd9767231f
JavaScript Tests - update test due to fix to bug 410981, not part of the build
2008-01-07 15:29:21 +00:00
brendan%mozilla.org
354a6aa363
Require explicit body block in 'for (let x ...) let y...' (410981, r=mrbkap).
2008-01-07 09:41:28 +00:00
brendan%mozilla.org
aad6068ee8
64-bit fixes for problems reported by edwin@cheatah.nl (many thanks to Edwin; 410941, r=igor).
2008-01-07 08:41:06 +00:00
benjamin%smedbergs.us
1130d64de3
Bug 410929 - Bad C++isms in js/src, r=crowder
2008-01-06 16:28:46 +00:00
bclary%bclary.com
1d3c8c4c0b
JavaScript Tests - update known failures to account for bug 408957, not part of the build
2008-01-06 01:28:28 +00:00
igor%mir2.org
a0f05caf8f
Bug 409109: Backing out once again to figure out the reason for talos regressions.
2008-01-06 01:20:16 +00:00
bclary%bclary.com
28355faab8
JavaScript Tests - update tests to account for bug 408957, not part of the build
2008-01-06 01:18:48 +00:00
nboyd%atg.com
5cfe7db249
Update for latest test cases.
2008-01-05 22:27:40 +00:00
nboyd%atg.com
a82f5102b1
Fix iteration behavior for new Iterator(obj,true).
2008-01-05 20:58:04 +00:00
bclary%bclary.com
8964374370
JavaScript Tests - tests for iterator constructor, by Norris Boyd, bug 410725
2008-01-05 14:16:51 +00:00
igor%mir2.org
c117e5c4e9
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. a,r=brendan
2008-01-05 11:25:50 +00:00
jruderman%hmc.edu
5a3e6d163f
Add moving-between-frames crashtest
2008-01-05 06:54:28 +00:00
mrbkap%gmail.com
d930f34d98
Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst r=brendan for some last-minute changes added in this version.
2008-01-05 04:45:17 +00:00
mrbkap%gmail.com
f1aa600dba
Do not allow scripted getters or setters on XPCNativeWrappers. bug 387390, r=jst sr=brendan
2008-01-05 01:37:48 +00:00
brendan%mozilla.org
e64ae56ea5
Track ES4 proposal by restricting let declaration to be direct child of block (408957, r=mrbkap).
2008-01-05 01:34:12 +00:00
mrbkap%gmail.com
c7b6d30153
Don't call arbitrary hooks from a function called from GC. bug 410323, r=brendan
2008-01-05 01:28:29 +00:00
mrbkap%gmail.com
b8758aa613
Use the currently active scope to find the prototype. bug 408639, r=jst sr=brendan
2008-01-05 01:25:35 +00:00
nboyd%atg.com
9398ae1418
Implement a finalizer for generators that closes the generator.
2008-01-05 00:57:09 +00:00
jst%mozilla.org
7b4a352e60
Fixing bug 410851. Expose a faster way of getting the subject principal, and use that from performance critical code. r+sr=mrbkap@gmail.com
2008-01-04 23:59:12 +00:00
bclary%bclary.com
cd38d0ba40
JavaScript Tests - revert known failures due to bugs 393267, 399587 being backed out. not part of the build
2008-01-04 12:23:42 +00:00
jruderman%hmc.edu
742c81fa62
The last backout introduced some mochitest orange. Let's see whether backing out bug 393267 as well fixes that.
2008-01-04 05:13:59 +00:00
jruderman%hmc.edu
87fe5a346e
Backing out mrbkap's fix for bug 399587, in the hope of fixing bug 410323 and perhaps bug 410291.
2008-01-04 04:12:48 +00:00
nboyd%atg.com
7f056786f2
Fix all the variants of behavior of Iterator constructor to match SpiderMonkey.
2008-01-04 02:49:35 +00:00
brendan%mozilla.org
a393d6afba
NPOTB assertion for Date's 'friend' API, plus comments (410647, r=bclary).
2008-01-04 02:23:55 +00:00
gavin%gavinsharp.com
d041effd29
Back out patch for bug 409109 because its suspected of causing the fxdbug-win32-tb orange
2008-01-03 23:03:19 +00:00
brendan%mozilla.org
86134887df
Comment nit-pick.
2008-01-03 20:57:05 +00:00
nboyd%atg.com
25a7cab519
I've made changes to Rhino such that its default behavior is now only to treat
...
Iterables or Iterators specially when they are arguments to the new Iterator
constructor:
js> m = new java.util.HashMap()
{}
js> m.put("a",1)
null
js> m.put("b",2)
null
js> m
{a=1.0, b=2.0}
js> for (i in m.values()) print(i)
notifyAll
removeAll
containsAll
contains
empty
equals
notify
class
isEmpty
add
size
iterator
clear
wait
retainAll
toString
hashCode
toArray
addAll
getClass
remove
js> for (i in Iterator(m.values())) print(i)
1.0
2.0
js> for (i in Iterator(m.values().iterator())) print(i)
1.0
2.0
js>
Since Iterator is a new addition for 1.7, there are no issues for backwards
compatibility.
This still leaves open the possibility of top-level functions to wrap Maps and
Lists as JavaScript Objects and Arrays.
2008-01-03 18:39:04 +00:00
igor%mir2.org
a1eb01d71b
Bug 410653: make sure that the generator cleanup code is called on all code paths. r,a=brendan
2008-01-03 18:13:42 +00:00
nboyd%atg.com
dc15c7eb9c
Fix formatting nit
2008-01-03 16:21:12 +00:00
igor%mir2.org
404d0f61a7
Bug 409109: switching to new operation counting API. r=jst a=beltzner
2008-01-03 15:27:28 +00:00
igor%mir2.org
c575726029
Bug 364776: New operation counter API to replace branch callback. r,a=brendan
2008-01-03 09:28:40 +00:00
bclary%bclary.com
e25dead515
JavaScript Tests - regression test for bug 351463, not part of the buidl
2008-01-03 04:53:12 +00:00
brendan%mozilla.org
ea1d61f2de
XML/XMLList need toSource love (410192, r=mrbkap).
2008-01-02 20:25:59 +00:00
benjamin%smedbergs.us
98c1de392c
Bug 409433 - XPConnect should never allow GC off the main thread, r=mrbkap sr=jst a=luser
2007-12-31 18:17:36 +00:00
mrbkap%gmail.com
15323c350a
Fix silly think-o from bug 410090, r=lumpy
2007-12-30 20:37:49 +00:00
bclary%bclary.com
8399d52cfa
JavaScript Tests - update known failures due to fixes in bug 393269, bug 399587, not part of the build
2007-12-30 16:40:49 +00:00
mrbkap%gmail.com
c816a6395a
Preserve interesting attributes on same-origin XOWs. bug 393267, r+sr=jst a=beltzner
2007-12-30 04:36:37 +00:00
mrbkap%gmail.com
da9f953204
Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst
2007-12-30 04:34:51 +00:00