mrbkap%gmail.com
449e7062a7
Make enumeration over XOWs work. bug 390001, r=jst/brendan sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@231245 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-01 22:25:47 +00:00
mrbkap%gmail.com
0fb547f97d
Let "window.eval" work again by always wrapping eval when it comes out of a cross origin wrapper. bug 389878, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@231221 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 20:15:21 +00:00
mrbkap%gmail.com
6c4d03c48f
Protect vp from garbage collection, since GC could nest under several of the calls here. bug 390222, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@231219 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 19:17:31 +00:00
mrbkap%gmail.com
165342e43a
Don't call FindInJSObjectScope on an object that's being finalized because its parent might have been finalized already. bug 389985, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@231197 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 22:39:53 +00:00
mrbkap%gmail.com
5a92f281af
Deal with XPCCallContexts that aren't able to initialize themselves. This also fixes bugs related to finalizing objects on dead contexts. bug 390083, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@231194 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 21:50:10 +00:00
igor%mir2.org
9bd77eaa76
Bug 389880: removal of redundant gcflags argument from string-allocation functions. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@231131 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-28 16:57:30 +00:00
nboyd%atg.com
7e5af192f8
add more passing tests
...
git-svn-id: svn://10.0.0.236/trunk@231091 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 01:14:48 +00:00
nboyd%atg.com
29d57c9514
Fix for last generator codegen bug (nested functions in generators).
...
Patch from Roshan James <roshanj@google.com>.
git-svn-id: svn://10.0.0.236/trunk@231086 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:46:57 +00:00
nboyd%atg.com
f65b5e7e03
Fix misspelling in comment.
...
git-svn-id: svn://10.0.0.236/trunk@231085 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:36:18 +00:00
nboyd%atg.com
d83af3e36d
Implement JavaScript 1.7 generators for bytecode generation mode.
...
Patch from Roshan James <roshanj@google.com>.
git-svn-id: svn://10.0.0.236/trunk@231072 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:48:05 +00:00
mrbkap%gmail.com
0d377e63f9
Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@231064 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 19:18:07 +00:00
benjamin%smedbergs.us
cd72164fbb
Fix MSVC7 build bustage from bug 389401, a=gavin for checkin to closed tree
...
git-svn-id: svn://10.0.0.236/trunk@231053 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:09:46 +00:00
nboyd%atg.com
e341332895
Switch to __javaObject__ in the hope that it generalizes to more cases in
...
the future.
git-svn-id: svn://10.0.0.236/trunk@230651 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 14:10:08 +00:00
brendan%mozilla.org
7050bb0c78
Backing out, see bug 389122 and orange or red tinderboxes.
...
git-svn-id: svn://10.0.0.236/trunk@230578 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 23:21:20 +00:00
brendan%mozilla.org
18ee45583c
Fast natives and related optimizations (385393, r=igor).
...
git-svn-id: svn://10.0.0.236/trunk@230576 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 21:39:42 +00:00
szegedia%freemail.hu
253b54a5b8
Download junit and emma jar files from ibiblio maven repo
...
git-svn-id: svn://10.0.0.236/trunk@230572 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 16:27:24 +00:00
szegedia%freemail.hu
d1bb036a16
Added JUnit test task that produces code coverage report
...
git-svn-id: svn://10.0.0.236/trunk@230560 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:36:08 +00:00
szegedia%freemail.hu
ec00014c57
Use skip files
...
git-svn-id: svn://10.0.0.236/trunk@230559 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:35:15 +00:00
mrbkap%gmail.com
a9121164a8
Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@230407 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 01:03:55 +00:00
nboyd%atg.com
fcd5dc4054
Update to sync with latest tests.
...
git-svn-id: svn://10.0.0.236/trunk@230361 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:37:48 +00:00
nboyd%atg.com
3520b94a9e
Add missing language versions.
...
git-svn-id: svn://10.0.0.236/trunk@230355 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:08:52 +00:00
nboyd%atg.com
c223ce6e09
Fix bug 382098 - E4X attribute literals broken. Patch from Adam de Boor
...
<adeboor@google.com>.
Also remove obsolete (no longer supported in SpiderMonkey) check for
semicolon separation between functions.
git-svn-id: svn://10.0.0.236/trunk@230354 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:06:47 +00:00
nboyd%atg.com
c2de95158a
Fix bug 382098 - E4X attribute literals broken. Patch from Adam de Boor
...
<adeboor@google.com>.
git-svn-id: svn://10.0.0.236/trunk@230353 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:05:29 +00:00
nboyd%atg.com
f6310de50e
Always need Object[] rather than String[] for Context.newArray().
...
git-svn-id: svn://10.0.0.236/trunk@230352 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 11:59:51 +00:00
nboyd%atg.com
940f87d8a0
Fix bug 388643 - JavaScript Tests - global shell.js sets JavaScript version to
...
version lower than required by E4X tests
Patch from David Caldwell.
git-svn-id: svn://10.0.0.236/trunk@230313 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 19:57:48 +00:00
dbaron%dbaron.org
3f5fb6ceeb
Add more useful assertion for debugging cycle collector faults. b=386912 r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@230272 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 04:58:39 +00:00
dmose%mozilla.org
825379ae05
Fix comment to say 'createInstance' when it really means that, since this is pointed to by devmo as API documentation; no bug; rs=shaver
...
git-svn-id: svn://10.0.0.236/trunk@230222 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 20:19:05 +00:00
nboyd%atg.com
02a7409dc5
Fix bug 387694 - More reportMatch changes to generalize tests
...
git-svn-id: svn://10.0.0.236/trunk@230220 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 19:59:21 +00:00
bclary%bclary.com
4da4389219
add winmm.lib to JavaScript Shell build configuration on Windows, bug 363258, not part of the build. r=mrbkap
...
git-svn-id: svn://10.0.0.236/trunk@230218 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 19:55:15 +00:00
nboyd%atg.com
4a73f44cb1
Use "associateValue" approach to save and restore the Generator prototype
...
for each scope rather than the kludgy former approach of storing a
reference to the prototype in the StopIteration object.
git-svn-id: svn://10.0.0.236/trunk@230192 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:13:33 +00:00
nboyd%atg.com
680f23211c
Minor: Fix spelling error in comment.
...
git-svn-id: svn://10.0.0.236/trunk@230191 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:10:20 +00:00
nboyd%atg.com
a4d2b74fd0
Minor: fix spelling errors in comment.
...
git-svn-id: svn://10.0.0.236/trunk@230190 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:09:25 +00:00
nboyd%atg.com
5598982790
Add special Rhino object __exception__ defined in the catch
...
scope that can be used to retrieve the Java exception associated
with the JavaScript exception (to get stack trace info, etc.)
Patch from Bob Jervis <bjervis@google.com>
git-svn-id: svn://10.0.0.236/trunk@230189 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:08:38 +00:00
nboyd%atg.com
ad1bbdcdf4
Minor: fix spelling mistakes in comments.
...
git-svn-id: svn://10.0.0.236/trunk@230188 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:04:57 +00:00
nboyd%atg.com
89be6b838e
Add testsrc to the distribution, and clean up some build.xml formatting.
...
git-svn-id: svn://10.0.0.236/trunk@230179 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 12:42:40 +00:00
jwalden%mit.edu
a276ef39ff
Bug 388276 - Build failed on solaris x86 due to checkin for 372428. Patch by Leon Sha <leon.sha@sun.com>, r=cls
...
git-svn-id: svn://10.0.0.236/trunk@230142 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:23:25 +00:00
mrbkap%gmail.com
2c54f9e915
Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@230129 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 20:12:22 +00:00
igor%mir2.org
1b3cd5ca5b
Bug 387871: proper state checks when closing the generator. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@230096 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 06:41:20 +00:00
igor%mir2.org
36391ed96f
Bug 380469: Followup to remove to no longer used JSGenerator.next. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@230095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 06:38:27 +00:00
mrbkap%gmail.com
f8d37b7b62
Fixing build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@230063 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 21:44:00 +00:00
mrbkap%gmail.com
bae2c3e2ac
Bad millisecond resolution for (new Date).getTime() / Date.now() on Windows. bug 363258, patch from Rob Arnold <robarnold@mozilla.com>, r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@230061 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 21:29:57 +00:00
igor%mir2.org
3d83f2f3b2
Bug 380469: Taking away too zealous code simplification.
...
git-svn-id: svn://10.0.0.236/trunk@230051 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 20:57:16 +00:00
dolske%mozilla.com
97245738c8
Bug 388190: XPCOMUtils spews uuids when registering components. r=sayrer, sr=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@230038 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 17:57:49 +00:00
nboyd%atg.com
311ca11470
Fix one small warning.
...
git-svn-id: svn://10.0.0.236/trunk@230026 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 13:51:35 +00:00
alex%croczilla.com
05817de1fb
Bug 381693 - Allow null targetObj arg to xpcIJSModuleLoader::import().
...
r=sayrer, src=brendan.
git-svn-id: svn://10.0.0.236/trunk@230000 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-15 18:21:12 +00:00
asqueella%gmail.com
1998307ac0
synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
...
r=sayrer, bug 380970
git-svn-id: svn://10.0.0.236/trunk@229967 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 21:43:35 +00:00
igor%mir2.org
6a664052de
Bug 380469: Followup for the previous check in to remove more no longer used close-on-GC code. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@229956 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 08:28:57 +00:00
igor%mir2.org
0b0429dffd
Bug 387909: make sure that [generator] is the first bytecode. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@229912 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:23:39 +00:00
bclary%bclary.com
5e948abce7
JavaScript Test - regression test for bug 349326, by Igor Bukanov
...
git-svn-id: svn://10.0.0.236/trunk@229906 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 17:23:49 +00:00
bclary%bclary.com
e1685c13b7
JavaScript Test - regression test for bug 382981, by Jesse Ruderman
...
git-svn-id: svn://10.0.0.236/trunk@229904 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 17:08:03 +00:00