11611 Commits

Author SHA1 Message Date
igor%mir2.org
973f2f4d31 bug 487204, r=brendan a1.9.0.10=dveditz
git-svn-id: svn://10.0.0.236/trunk@256996 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-21 10:07:20 +00:00
mrbkap%gmail.com
5ae7f6792b Bug 479560, r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256978 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-19 03:17:46 +00:00
igor%mir2.org
85940179ec backing out for bug 478336, bug 477021 and bug 476934 due to compilation failure on Windows in bug 476934
git-svn-id: svn://10.0.0.236/trunk@256968 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 09:07:05 +00:00
igor%mir2.org
91ee98114c bug 478336 - fixing rt->state/rt->contextList mutation race, backport to 1.9.0 by Jason Orendorff, a1.9.0.10=dveditz
git-svn-id: svn://10.0.0.236/trunk@256967 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 08:28:08 +00:00
igor%mir2.org
d1d2420fdb bug 477021 - make sure that js_(New|Destroy)Context() do not race against the GC, backport to 1.9.0 by Jason Orendorff, a1.9.0.10=dveditz
git-svn-id: svn://10.0.0.236/trunk@256966 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 08:22:55 +00:00
igor%mir2.org
1252c41410 bug 476934 - JS_(Set|Clear)ContextThread() must wait for the GC, backport to 1.9.0 by Jason Orendorff, a1.9.0.10=dveditz
git-svn-id: svn://10.0.0.236/trunk@256965 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 08:15:57 +00:00
igor%mir2.org
0d35f00fc9 bug 467441 - avoiding js_(Add|Remove)Root for regexp statics, backport to 1.9.0 by Jason Orendorff, a1.9.0.10=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@256964 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 08:07:56 +00:00
igor%mir2.org
f6962d17d4 bug 427196, a1.9.0.10=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@256963 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 08:01:17 +00:00
igor%mir2.org
73e3de6592 bug 369696, a1.9.0.10=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@256962 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 07:56:47 +00:00
bclary%bclary.com
d1acf00cea JavaScript Tests - bug 452598 upvar2, aka the big one, by Brendan Eich, sync js/tests to tracemonkey, npotb
git-svn-id: svn://10.0.0.236/trunk@256882 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-10 19:44:03 +00:00
bclary%bclary.com
9557515f84 JavaScript Tests - typo fixes by Jeff Walden, sync js/tests to tracemonkey, npotb
git-svn-id: svn://10.0.0.236/trunk@256881 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-10 19:40:45 +00:00
nboyd%atg.com
01a0dd5aed Support for JSDoc parsing in Rhino. Attaches comments to nodes during parsing
to make them available through the AST API.


git-svn-id: svn://10.0.0.236/trunk@256844 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 21:12:40 +00:00
nboyd%atg.com
901245a938 Restore revision prior to inadvertent checkin.
git-svn-id: svn://10.0.0.236/trunk@256841 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 17:02:51 +00:00
nboyd%atg.com
74564a5103 New file to go with org.mozilla.javascript.tests.Bug482203
git-svn-id: svn://10.0.0.236/trunk@256840 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 16:54:57 +00:00
hannes%helma.at
50ff176e58 Fix bug 461168: Regression: constructor form of Packages is broken
git-svn-id: svn://10.0.0.236/trunk@256813 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-05 09:09:42 +00:00
mrbkap%gmail.com
67ffe2b343 Bug 477128 - Add a mochitest.
git-svn-id: svn://10.0.0.236/trunk@256805 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-02 22:10:57 +00:00
nboyd%atg.com
d22d915704 Fix bug 477233 - E4X filters with namespaces codegen bug
git-svn-id: svn://10.0.0.236/trunk@256715 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-27 02:30:27 +00:00
bclary%bclary.com
f54b5be1b9 bug 452498 - modify test to deal with new SyntaxError: duplicate argument is mixed with destructuring pattern error.
git-svn-id: svn://10.0.0.236/trunk@256625 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-23 17:59:24 +00:00
nboyd%atg.com
53fe328726 Handle missing file.
git-svn-id: svn://10.0.0.236/trunk@256624 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-23 16:11:22 +00:00
nboyd%atg.com
08da084400 Change to use ScriptableOutputStream/ScriptableInputStream
git-svn-id: svn://10.0.0.236/trunk@256614 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-21 01:53:38 +00:00
nboyd%atg.com
03eea889fd Fix spelling error in comment
git-svn-id: svn://10.0.0.236/trunk@256611 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-21 01:39:41 +00:00
bclary%bclary.com
5eccd52851 bug 457065 - JavaScript Tests by Jesse Ruderman, Gary Kwong. default tip
bug 471373 - JavaScript Test by Jesse Ruderman.
bug 472528 - JavaScript Tests by Gary Kwong, Jesse Ruderman.
bug 472703 - JavaScript Test by Gary Kwong.
bug 471660 - JavaScript Test by Gary Kwong.
no bug JavaScript Tests - sync cvs->hg browser.js
bug 469937 - JavaScript Test by Jesse Ruderman, merge cvs->hg.
bug 476655 - JavaScript Test by Gary Kwong.
bug 477733 - JavaScript Test by Jesse Ruderman.
bug 479252 - JavaScript Test by Igor Bukanov.
bug 479381 - JavaScript Test by Jason Orendorff.
bug 479430 - JavaScript Tests by Igor Bukanov.
bug 479487 - JavaScript Test by Igor Bukanov.
bug 479551 - JavaScript Test by Jeff Walden.
bug 480096 - JavaScript Test by Peter Seliger.
bug 480244 - JavaScript Test by Graydon Hoare.
bug 480579 - JavaScript Test by Jason Orendorff.
bug 481516 - JavaScript Test by Jason Orendorff.
bug 483103 - JavaScript Test by Jesse Ruderman.
bug 483749 - JavaScript Test by Gary Kwong.
bug 452498 - JavaScript regression tests for upvar2.
bug 484321 - Sisysphus - JavaScript Tests - support timeout and crash exclusion patterns.


git-svn-id: svn://10.0.0.236/trunk@256596 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-20 05:01:03 +00:00
hannes%helma.at
abb51bdc6c Fix original patch for bug 456546: only apply if formal parameter is Scriptable or a class implementing Scriptable.
git-svn-id: svn://10.0.0.236/trunk@256586 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-19 13:19:55 +00:00
igor%mir2.org
2c9001b8dc bug 355829 r=brendan a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256578 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-18 18:41:06 +00:00
mrbkap%gmail.com
d1e4653cda Bug 461158 - Add missing error propagation. Patch from Igor Bukanov <igor@mir2.org>, r=brendan a=ss
git-svn-id: svn://10.0.0.236/trunk@256565 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 21:58:21 +00:00
mrbkap%gmail.com
567673e3cf Bug 477128 - Don't throw if XPCNativeWrapper is called as a function but passed a primitive value to allow for safe primitive testing. r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256562 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 21:42:09 +00:00
mrbkap%gmail.com
a8c3f6520e Bug 478433 - Use a better method to create this function. r+sr=jst a=dvedtiz
git-svn-id: svn://10.0.0.236/trunk@256561 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 21:41:15 +00:00
nboyd%atg.com
0bfc0cbb7e Fix bug 482203: NullPointerException capturing a continuation
git-svn-id: svn://10.0.0.236/trunk@256543 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-16 22:59:49 +00:00
bclary%bclary.com
b43f832ddb bug 460504 - JavaScript Test by Jesse Ruderman.
git-svn-id: svn://10.0.0.236/trunk@256541 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-14 23:13:16 +00:00
bclary%bclary.com
30e7e6fefb bug 452913 - JavaScript Test by Gary Kwong.
bug 460504 - JavaScript Test by Jesse Ruderman.
bug 466747 - JavaScript Test by Jesse Ruderman.
bug 476192 - JavaScript Test by Carsten Book, Jesse Ruderman.
bug 479740 - JavaScript Test by Gary Kwong.
bug 480147 - JavaScript Test by Carsten Book, Jesse Ruderman.
bug 481800 - JavaScript Test by Gary Kwong.
bug 481989 - JavaScript Test by Gary Kwong.
bug 482263 - JavaScript Test by Gary Kwong.
bug 482421 - JavaScript Test by Gary Kwong.
Bug 482783, Bug 481793, Bug 476871, Bug 482349, Bug 482594 - merge js/src/trace-test.js, js/tests/js1_8_1/trace/trace-test.js.
bug 483438 - remove public failures from source control.
bug 483435 - remove windows wlock.lnk file after hg pull.
bug 483434 - Sisyphus - JavaScript Tests - add support for narcissus.
bug 483433 - comment bug number in spidermonkey-n-1.9.2.tests.


git-svn-id: svn://10.0.0.236/trunk@256540 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-14 22:48:28 +00:00
mrbkap%gmail.com
3aa0c5095c Bug 480096 - Don't leave the last argument lying around in case someone accidentally uses it. r=brendan a=dvedtiz
git-svn-id: svn://10.0.0.236/trunk@256508 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-11 00:16:22 +00:00
gavin%gavinsharp.com
fffeac8521 Bug 453955: fix assertion failure in JS_SetWatchPoint, patch by Brendan Eich <brendan@mozilla.org>, 1.9.0 backport by Gary Kwong <nth10sd@gmail.com>, r=mrbkap, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256476 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-07 00:17:32 +00:00
nboyd%atg.com
fd58fed9bf Autocompletion bug fixing, including fixing the case of autocompletion
following a dot.


git-svn-id: svn://10.0.0.236/trunk@256464 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 13:03:13 +00:00
nboyd%atg.com
966cea725f Only attempt to load JLine if we're in interactive mode.
git-svn-id: svn://10.0.0.236/trunk@256463 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 12:58:08 +00:00
bclary%bclary.com
415e32806d bug 481766 - update JavaScript Test failures. default tip
bug 473709 - JavaScript Test by Gary Kwong.
bug 457521 - JavaScript Test by Gary Kwong.
bug 472787 - JavaScript Test by Gary Kwong.
bug 477758, bug 478968, bug 480479, bug 480657, bug 481246 - JavaScript Tests - merge js/src/trace-test.js and js/tests/js1_8_1/trace/trace-test.js.
bug 346749 - JavaScript Test by Blake Kaplan.
bug 381963 - JavaScript Tests by Jesse Ruderman, Aiko.
bug 384758 - JavaScript Test by Jesse Ruderman.
bug 449657 - JavaScript Tests by Christopher Lenz, ash_mozilla.
bug 449666 - JavaScript Test by Robert Sayre.
bug 451673 - JavaScript Test by Boris Zbarsky.
bug 464092 - JavaScript Tests by Jesse Ruderman.
bug 464096 - JavaScript Test by Jesse Ruderman.
bug 465567 - JavaScript Tests by Jesse Ruderman.
bug 467495 - JavaScript Tests by Gary Kwong, Brendan Eich, Igor Bukanov.
bug 468711 - JavaScript Test by Jesse Ruderman.
bug 469234 - JavaScript Test by Jesse Ruderman.
bug 469239 - JavaScript Tests by Jesse Ruderman.
bug 469625 - JavaScript Tests by Gary Kwong, Jesse Ruderman and Jason Orendorff.
bug 469761 - JavaScript Test by Jesse Ruderman.
bug 472450 - JavaScript Tests by Gary Kwong.
bug 472508 - JavaScript Test by Gary Kwong, Jesse Ruderman.
bug 474771 - JavaScript Test by Jesse Ruderman.
bug 475144 - JavaScript Test by Gary Kwong.
bug 475469 - JavaScript Test by Jesse Ruderman.
bug 479353 - JavaScript Test by Gary Kwong.
bug 300079 - Test is for clone and not for js1.8 features. Modify to use functions and move to js1_5/extensions/.
bug 380237 - remove test created Object.prototype.copy.


git-svn-id: svn://10.0.0.236/trunk@256461 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 01:39:01 +00:00
szegedia%freemail.hu
29eca5903a Make sure we can lazily load our standard objects even when invoked from code that wouldn't have privilege to access those classes
git-svn-id: svn://10.0.0.236/trunk@256443 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-04 14:58:47 +00:00
nboyd%atg.com
d1c486dd5c Fix
Bug 460283 - Use "nicer" names for generated classes
Bug 460726 - Use "nicer" names for generated methods
patch contributed by Marc Guillemot.


git-svn-id: svn://10.0.0.236/trunk@256436 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 21:27:38 +00:00
nboyd%atg.com
331ac00363 Add missing copyright notice.
git-svn-id: svn://10.0.0.236/trunk@256429 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 16:07:39 +00:00
nboyd%atg.com
781ddd9e6f Disable tests as needed to get all tests passing, and leave TODOs for
broken/missing parser functionality.


git-svn-id: svn://10.0.0.236/trunk@256428 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 16:02:11 +00:00
mrbkap%gmail.com
efc072e676 Bug 475334 - Don't trigger debugger hooks until frame initialization is complete. r=mrbkap a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256422 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 01:53:11 +00:00
nboyd%atg.com
e8a93a1f65 Regexp for split was not working appropriately on Windows, with /r/n at end of line.
git-svn-id: svn://10.0.0.236/trunk@256395 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-02 18:33:51 +00:00
nboyd%atg.com
bf5b40f09a New regression test.
git-svn-id: svn://10.0.0.236/trunk@256394 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-02 18:31:54 +00:00
igor%mir2.org
d1a83520ee bug 476049 r=brendan a1908=dveditz
git-svn-id: svn://10.0.0.236/trunk@256343 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-27 13:25:22 +00:00
bclary%bclary.com
ce7cb9b973 bug 480016 - JavaScript Test - add expectExitCode(6) to flag passing condition, patch by jorendorff, r=bclary
git-svn-id: svn://10.0.0.236/trunk@256319 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-25 19:35:35 +00:00
bclary%bclary.com
ba75f2ce57 bug 401300 - include jsutil.h to the export list in Makefile.ref, patch by jorendorff, r=brendan, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256316 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-25 13:24:29 +00:00
bclary%bclary.com
162c242bcd SpiderMonkey 1.8.0 pre release 1 - update version, r=jorendorff, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256315 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-25 13:11:19 +00:00
bclary%bclary.com
004ba4e176 bug 479538 - Sishyphus - JavaScript tests - patterns maintenance. default tip
bug 475834 - JavaScript Test by Brendan Eich.
bug 479202 - correct bug numbers in tests.
bug 476869 - JavaScript Test by Gary Kwong.
bug 476940 - JavaScript Test by T. Rosenau.
bug 477048 - JavaScript Test by Gary Kwong.
bug 477053 - JavaScript Test by Gary Kwong.
bug 477158 - JavaScript Test by Gary Kwong.
bug 477187 - JavaScript Test by Andreas Gal.
bug 477234 - JavaScript Test by Gary Kwong.
bug 477581 - JavaScript Test by Jason Orendorff.
bug 477758 - JavaScript Test by David Greenspan.
bug 478205 - JavaScript Test by Gary Kwong.
bug 478314 - JavaScript Test by Gary Kwong.
bug 383269 - modify test to handle uncaught exception.
bug 328897 - modify test to handle uncaught exception.
bug 372331 - modify test to handle uncaught exception.
bug 354998 - modify test to handle uncaught exception.
bug 451974 - in order to exclude randam passes on platforms that do not support jit, require jit time to be less than 1/2 non jit time in order to pass.
bug 470739 - in order to exclude randam passes on platforms that do not support jit, require jit time to be less than 1/2 non jit time in order to pass.
bug 469927 - in order to exclude randam passes on platforms that do not support jit, require jit time to be less than 1/2 non jit time in order to pass.
bug 478047 - JavaScript Test by Norris Boyd and modify tests to handle new TypeError setting a property with only a getter.
bug 476414 - JavaScript Tests by Gary Kwong, Jesse Ruderman.
bug 476427 - JavaScript Test by Gary Kwong.
JavaScript Tests - merge js/src/trace-test.js into js/tests/js1_8_1/trace/trace-test.js - bug 462027, bug 463243, bug 465915, bug 468782, bug 469044, bug 472533, bug 473075, bug 474769, bug 474771, bug 475761, bug 476873, bug 477158, bug 477581
bug 470187 - JavaScript Test by Jesse Ruderman.
bug 474771 - JavaScript Test by Jesse Ruderman.
bug 470310 - JavaScript Test by Jesse Ruderman.
bug 469397 - JavaScript Test by Adam L. Peller.
bug 469044 - JavaScript Test by Jesse Ruderman.
bug 453955 - JavaScript Test by Gary Kwong.
bug 455464 - remove extraneous statements in test.
bug 477257 - force hg update -C to work around failures to merge nsprpub/configure.
bug 476447 - JavaScript Test by simonzack.
bug 476458 - fix bisect.sh to handle local changes in the source tree during hg bisect.
bug 466787 - JavaScript Test by Jesse Ruderman.
bug 465454 - JavaScript Test by Jesse Ruderman.
bug 462459 - JavaScript Test.
bug 475645 - JavaScript Test by Carsten Book.
bug 466905 - JavaScript Tests by Jesse Ruderman and Jeff Walden.


git-svn-id: svn://10.0.0.236/trunk@256274 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-21 01:30:54 +00:00
nboyd%atg.com
6c0e05102e Come up to current draft behavior for attempting to set a property that has
a getter but not a setter: throw a TypeError.


git-svn-id: svn://10.0.0.236/trunk@256178 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-10 21:32:31 +00:00
nboyd%atg.com
95dbe8c9ae Add test for access to a method with the same name as a field with
Context.FEATURE_ENHANCED_JAVA_ACCESS enabled.


git-svn-id: svn://10.0.0.236/trunk@256162 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 18:40:02 +00:00
nboyd%atg.com
7a278331cf Fix propagated from 1.7R2 release branch.
git-svn-id: svn://10.0.0.236/trunk@256161 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 16:33:30 +00:00