Commit Graph

360 Commits

Author SHA1 Message Date
sayrer@gmail.com
c1cab1cba0 Bug 238324. Tweak generateFactory to call new, and add unit tests for module loading. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bsmedberg 2007-05-20 15:45:14 -07:00
bclary@bclary.com
5b48e543ca JavaScript Tests - factor common code into top level shell.js|browser.js, bug 379779, r=igor, sr=brendan 2007-05-19 13:05:05 -07:00
mrbkap@gmail.com
9d84deb323 If the scanner returned TOK_ERROR, it already reported an error. bug 380371, r=brendan 2007-05-18 19:09:23 -07:00
mrbkap@gmail.com
ba5270e7a6 Correctly parse regular expressions with the 'm' and 'y' flags. bug 378486, r=brendan 2007-05-18 18:57:30 -07:00
crowder@fiverocks.com
72e24acedb Bug 381211: fixing off-by-one caused by patch from bug 367629, r=mrbkap 2007-05-18 17:04:41 -07:00
crowder@fiverocks.com
6d4cb224c0 Bug 367629: better obj_toSource for native functions and a few other cases, r=mrbkap 2007-05-18 16:12:56 -07:00
brendan@mozilla.org
6c15c9194a Restrict for([k,v] in o) special case to JS1.7 (366941, r=mrbkap). 2007-05-18 13:55:06 -07:00
brendan@mozilla.org
31ef926445 Support generator expressions for JS1.8 (380237, r=mrbkap). 2007-05-17 18:41:17 -07:00
brendan@mozilla.org
4b4d408b14 Fix getter/setter decompilation to depend on generating op, not prefix string (381101, r=mrbkap). 2007-05-17 17:48:18 -07:00
mrbkap@gmail.com
ee83dcb164 Skip over exception cookies, since we require JSOP_POP to pop them. bug 380016, r=brendan 2007-05-17 16:56:17 -07:00
nboyd@atg.com
c8ef432a8b Updated skip list. 2007-05-16 17:30:27 -07:00
igor@mir2.org
832ef9cf07 Bug 380833: AllocSlot now insists on the new slot being already set to void. r=brendan 2007-05-16 15:41:50 -07:00
igor@mir2.org
57a947de4b Bug 380889: fixing the disassembler, r=brendan 2007-05-16 12:00:47 -07:00
igor@mir2.org
39051a9389 Bug 379885: JS_GetGCMarkingTracer is removed. r=brendan 2007-05-15 18:13:28 -07:00
sayrer@gmail.com
90faa81713 JS code-sharing module system. Patch by Alex Fritze <alex@croczilla.com> and Robert Sayre <sayrer@gmail.com>. r=shaver/brendan, sr=brendan 2007-05-15 16:27:40 -07:00
crowder@fiverocks.com
c66619c8af Bug 308429: make tooMuchGC dynamic (runtime gczeal option), r=brendan 2007-05-15 16:27:20 -07:00
crowder@fiverocks.com
2d005fe23d Bug 358594: sharp variables should deserialize using old getter/setter syntax. 2007-05-15 15:41:24 -07:00
igor@mir2.org
3a73a27eb4 Bug 379566: keywords are no special with get/set getters. r=brendan 2007-05-15 08:17:14 -07:00
igor@mir2.org
0b07474b6a Bug 340212: All XPC GC tracing now happens in the runtime trace callback. 2007-05-15 02:01:34 -07:00
bclary@bclary.com
aa1abb87a6 JavaScript Tests - add automation helper scripts, no bug, not part of the build 2007-05-10 21:11:39 -07:00
bclary@bclary.com
2dbe01ed7b JavaScript Test - regression test for bug 354998, revert Object.prototype to prevent side effects 2007-05-09 23:10:50 -07:00
bclary@bclary.com
f113ef84be JavaScript Tests - remove extraneous debugger statement, no bug, not part of the build 2007-05-09 16:01:32 -07:00
igor@mir2.org
8d62745af4 Bug 380197: fixing regression from bug 380197. r=brendan 2007-05-09 14:40:36 -07:00
brendan@mozilla.org
c7afea2db0 Fiddle cosmetics. 2007-05-09 13:19:26 -07:00
crowder@fiverocks.com
eaadb88c3f Bug 379482: Crash decompiling float setter, r=brendan, r=igor 2007-05-09 08:21:32 -07:00
igor@mir2.org
369accf1bd Bug 379727: Using tracing instead of explicit root management. r=alfred.peng sr=brendan 2007-05-09 04:11:53 -07:00
crowder@fiverocks.com
3c0f6e2457 woops, backing out due to closed tree 2007-05-08 22:45:57 -07:00
crowder@fiverocks.com
e7bf5857dd Bug 379482: Crash decompiling float setter, r=brendan, r=igor 2007-05-08 22:45:09 -07:00
brendan@mozilla.org
fe0d6dba47 Fixes left in wake of JSOP_POPN (379925, r=igor). 2007-05-08 12:04:13 -07:00
bclary@bclary.com
f7f790b29c JavaScript Test - update test to match 1.8.1 and later serialization, bug 297025 2007-05-08 10:10:11 -07:00
bclary@bclary.com
ed62dc8f16 JavaScript Test - regression test for bug 352459, by Jesse Ruderman 2007-05-07 12:20:39 -07:00
bclary@bclary.com
058fc3154f JavaScript Test - regression test for bug 352732, by Jesse Ruderman 2007-05-07 12:07:36 -07:00
bclary@bclary.com
86f671d1aa JavaScript Test - regression test for bug 361566, by Jesse Ruderman 2007-05-07 12:00:19 -07:00
bclary@bclary.com
f951f81d4f JavaScript Tests - regression tests for bug 373827, by Jesse Ruderman 2007-05-07 11:53:05 -07:00
bclary@bclary.com
72909ce794 JavaScript Tests - regression test for bug 375695, by Jesse Ruderman 2007-05-07 11:45:39 -07:00
brendan@mozilla.org
a5b846723e Stop overloading JSOP_SETSP for both exception handling and group assignment bulk popping (375695, r=igor). 2007-05-06 23:40:10 -07:00
bclary@bclary.com
1e03308fee JavaScript Test - test automation, add js1_8, no bug, not part of the build 2007-05-06 22:38:03 -07:00
bclary@bclary.com
84fdad2cbc JavaScript Tests - disable window.onerror handler to prevent false failure, bug 340804 2007-05-06 22:18:27 -07:00
bclary@bclary.com
0dfea3d059 JavaScript Test - remove non-standard use of unescape, bug 370585 2007-05-06 21:52:07 -07:00
bclary@bclary.com
01a878d6bd JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 21:17:53 -07:00
bclary@bclary.com
76a592b790 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 21:13:01 -07:00
bclary@bclary.com
a082499f24 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 21:10:01 -07:00
bclary@bclary.com
da601fec0a JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 21:06:09 -07:00
bclary@bclary.com
6cbc9f4370 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:59:26 -07:00
bclary@bclary.com
1d80f21749 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:55:18 -07:00
bclary@bclary.com
3f47684b20 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:50:30 -07:00
bclary@bclary.com
6b12386917 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:47:30 -07:00
bclary@bclary.com
35af1f3acf JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:42:19 -07:00
bclary@bclary.com
bd9983728b JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:38:14 -07:00
bclary@bclary.com
91f13a00a3 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:33:33 -07:00
bclary@bclary.com
2469d57b23 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:28:43 -07:00
bclary@bclary.com
4f1e5a9ee4 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:21:05 -07:00
bclary@bclary.com
281b085b3f JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:15:45 -07:00
bclary@bclary.com
752834793d JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:10:58 -07:00
bclary@bclary.com
51209d4c55 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 20:03:09 -07:00
bclary@bclary.com
607b84e5da JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:59:43 -07:00
bclary@bclary.com
ab12304850 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:56:17 -07:00
bclary@bclary.com
57b5c1580c JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:50:50 -07:00
bclary@bclary.com
de824ca85b JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:47:41 -07:00
bclary@bclary.com
da93cdec55 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:44:30 -07:00
bclary@bclary.com
a00a268314 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:38:42 -07:00
bclary@bclary.com
8d302da73a JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:35:23 -07:00
bclary@bclary.com
c790ae0cfc JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:31:34 -07:00
bclary@bclary.com
faa716dd66 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:28:06 -07:00
bclary@bclary.com
36745083f1 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:24:47 -07:00
bclary@bclary.com
3f8e76ed3b JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:21:10 -07:00
bclary@bclary.com
050e0304ff JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:17:11 -07:00
bclary@bclary.com
4c952f1a80 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:13:50 -07:00
bclary@bclary.com
278a5b0214 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:07:43 -07:00
bclary@bclary.com
6b5aa51b1a JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:04:07 -07:00
bclary@bclary.com
12742b6497 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 19:01:01 -07:00
bclary@bclary.com
5ff2d1a6fc JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:55:06 -07:00
bclary@bclary.com
06651326d7 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:51:49 -07:00
bclary@bclary.com
4fa4cabea8 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:44:24 -07:00
bclary@bclary.com
77e5b4bf7a JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:35:28 -07:00
bclary@bclary.com
2d8d0b85d7 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:31:49 -07:00
bclary@bclary.com
32b8dca5f0 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:24:04 -07:00
bclary@bclary.com
ee77f1fbad JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:18:52 -07:00
bclary@bclary.com
06754e191e JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:15:41 -07:00
bclary@bclary.com
132d065ea2 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:12:09 -07:00
bclary@bclary.com
f42a8fa581 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:08:33 -07:00
bclary@bclary.com
24636a49f1 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 18:02:55 -07:00
bclary@bclary.com
d6994f76a0 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:59:31 -07:00
bclary@bclary.com
33d3fa8015 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:54:25 -07:00
bclary@bclary.com
0ba085c686 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:51:13 -07:00
bclary@bclary.com
3ca366c9b1 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:47:44 -07:00
bclary@bclary.com
8b3a621c0c JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:41:58 -07:00
bclary@bclary.com
de1ee5b410 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:36:28 -07:00
bclary@bclary.com
ad84c0a51a JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:33:09 -07:00
bclary@bclary.com
b39019cbf1 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:29:56 -07:00
bclary@bclary.com
541719b27f JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:26:34 -07:00
bclary@bclary.com
3044104a76 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:22:53 -07:00
bclary@bclary.com
75c70a3899 JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:19:07 -07:00
bclary@bclary.com
c5ecaaef0f JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:15:32 -07:00
bclary@bclary.com
3b9ead59e4 JavaScript Tests - segregate non-standard tests, add tests lists for extensions and gc test, bug 370585 2007-05-06 17:12:08 -07:00
bclary@bclary.com
b0babe51db JavaScript Tests - move decompilation tests to decompilation subsuites, bug 370585 2007-05-06 17:08:00 -07:00
bclary@bclary.com
a238c3e7e7 JavaScript Tests - setup js1_6 decompilation sub suite, bug 370585 2007-05-06 16:27:00 -07:00
igor@mir2.org
f8aa56f76d Bug 379855: js_CodeSpec.name/token are moved to separated arrays to shrink the code. r=brendan 2007-05-06 03:50:07 -07:00
brendan@mozilla.org
cc0e1192b6 Unhide a crucial pop from the decompiler (379860, r=igor). 2007-05-06 02:29:21 -07:00
igor@mir2.org
0cb1ac9ea5 Bug 379851: branch callback is accessed via cx->branchCallback for smaller code. r=brendan 2007-05-06 02:08:52 -07:00
bclary@bclary.com
8820ff279e JavaScript Test - regression test for bug 378492, by Jesse Ruderman 2007-05-06 01:46:32 -07:00
bclary@bclary.com
440dc7b7c0 JavaScript Test - regression test for bug 367120, by moz_bu_r_a4 2007-05-06 01:41:44 -07:00
bclary@bclary.com
b63cf55c46 JavaScript Test - regression test for bug 367119, by moz_bu_r_a4 2007-05-06 01:39:46 -07:00
bclary@bclary.com
1702ad9aed JavaScript Test - regression test for bug 367118, by moz_bu_r_a4 2007-05-06 01:37:14 -07:00
bclary@bclary.com
ee61544de1 JavaScript Test - regression test for bug 366123, by shutdown 2007-05-06 01:34:25 -07:00
bclary@bclary.com
ecdb303e3c JavaScript Test - regression test for bug 365527, by Igor Bukanov 2007-05-06 01:30:59 -07:00
bclary@bclary.com
49555c79e9 JavaScript Test - regression test for bug 361856, by shutdown 2007-05-06 01:11:00 -07:00
bclary@bclary.com
a8c9d7d525 JavaScript Tests - regression tests for bug 360681, by Igor Bukanov 2007-05-06 01:06:47 -07:00
bclary@bclary.com
d19085b5d9 JavaScript Test - regression test for bug 358508, by shutdown 2007-05-06 01:04:05 -07:00
bclary@bclary.com
3e4bd92db7 JavaScript Tests - regression test for bug 353078, by Jesse Ruderman 2007-05-06 01:01:46 -07:00
bclary@bclary.com
06803f2143 JavaScript Test - regression test for bug 311161, by Jesse Ruderman 2007-05-06 00:57:19 -07:00
bclary@bclary.com
58c01aa318 JavaScript Test - regression test for bug 346642, update decompilation changes. 2007-05-06 00:32:42 -07:00
bclary@bclary.com
784e56cba8 JavaScript Tests - update change in decompilation due to bug 356083 fix, bug 355736 2007-05-05 23:53:10 -07:00
brendan@mozilla.org
fdc7388265 Fix blunder in reworking of how SpiderMonkey detects a label statement (reported by Steve Yegge). 2007-05-05 21:34:24 -07:00
graydon@mozilla.com
df0899706b Back out patch for bug 368869, yet again. Seems to cause some obscure crashesin nightlies. 2007-05-05 20:46:06 -07:00
bclary@bclary.com
728d2951e0 JavaScript Test - regression test for bug 376052, by George Kangas 2007-05-05 00:28:04 -07:00
bclary@bclary.com
8a38da7dbd JavaScript Test - regression test for bug 379483, by Jesse Ruderman 2007-05-05 00:12:40 -07:00
bclary@bclary.com
4a80f4011d JavaScript Tests - do not use anonymous functions in statement contexts, bug 379509 2007-05-05 00:03:34 -07:00
bzbarsky@mit.edu
5a7814a82a When pushing on top of a JSContext on the XPConnect JSContext stack, save offthe JSStackFrame chain on that JSContext. When popping, restore the stackframe chain. Bug 371858, r=jst, sr=brendan 2007-05-04 22:55:47 -07:00
bclary@bclary.com
bada760dab JavaScript Tests - replace JavaScriptOptions, bug 379701 2007-05-04 11:49:29 -07:00
brendan@mozilla.org
8a85c90946 Fix some assertions to avoid re-evaluating macro args; tweak comments. 2007-05-04 11:34:56 -07:00
igor@mir2.org
6dca224ba8 Bug 379455: tracing API now let the tracer to know about the GC lock count. 2007-05-04 08:43:19 -07:00
peterv@propagandism.org
5415bac556 Fix for bug 379593 (Only create one XPCCallContext per cycle collection). r=jst, sr=brendan. 2007-05-04 01:55:08 -07:00
graydon@mozilla.com
5336c6731e Bug #368869, suspect all native wrappers as cycle roots (again).r=brendan, sr=jst 2007-05-03 15:53:00 -07:00
brendan@mozilla.org
56299f547f Balance the stack for destructuring catch heads (379483, r=igor). 2007-05-02 23:39:44 -07:00
igor@mir2.org
e5defb0763 Bug 377751: Switching JSClass.mark in XPConnect to the tracing semantics. r=jst, sr=brendan 2007-05-02 13:20:21 -07:00
crowder@fiverocks.com
a8da5788c4 fixing a compiler warning introduced by patch in bug 365083, r=brendan 2007-05-02 12:55:07 -07:00
bclary@bclary.com
250ed22ad4 JavaScript Test - regression test for bug 356083, by Jesse Ruderman 2007-05-02 10:38:53 -07:00
bclary@bclary.com
499d58eb30 JavaScript Test - regression test for bug 356248, by Jesse Ruderman 2007-05-02 10:31:22 -07:00
bclary@bclary.com
12d40447d3 JavaScript Test - regression test for bug 368224, by Jesse Ruderman 2007-05-02 10:26:16 -07:00
bclary@bclary.com
88fc6113db JavaScript Test - regression test for bug 375642, by Jesse Ruderman 2007-05-02 10:21:50 -07:00
bclary@bclary.com
181c675321 JavaScript Test - regression test for bug 375794, by Jesse Ruderman 2007-05-02 10:14:39 -07:00
bclary@bclary.com
79a841c3ab JavaScript Test - regression test for bug 378738, by Igor Tandetnik, Martin Honnen 2007-05-02 09:53:43 -07:00
bclary@bclary.com
d88dd76c7f JavaScript Tests - regression test for bug 378789, by Igor Bukanov 2007-05-02 09:45:47 -07:00
bclary@bclary.com
279d4cf3f8 JavaScript Tests - add js1_8 suite for features not shipping on the 1.8.1 branch, no bug, not part of the build 2007-05-02 09:43:32 -07:00
bclary@bclary.com
e6f06e4e85 JavaScript Test - regression test for bug 379442, by Jesse Ruderman 2007-05-02 09:21:55 -07:00
brendan@mozilla.org
ad7d71a5c9 Followup fix to dumb bug in last checkin (379442, r=me). 2007-05-02 01:12:38 -07:00
brendan@mozilla.org
5262f72772 Skip #n= at front of initialiser on right of destructuring assignment forms (368224, r=igor). 2007-05-02 00:24:20 -07:00
brendan@mozilla.org
8a89a97cc4 Fix model stack management for catch guards in the decompiler; eliminate related SRC_HIDDEN abusage (375794, r=igor). 2007-05-02 00:09:27 -07:00
igor@mir2.org
1160f3bc2d Bug 377751: removal of the commit. 2007-05-01 14:54:29 -07:00
igor@mir2.org
4626b2a66f Bug 377751: More build fixes. 2007-05-01 14:44:15 -07:00
igor@mir2.org
1b2ef20671 Bug 377751: Fixing windows compilation problem. 2007-05-01 14:33:00 -07:00
igor@mir2.org
1ce0c4d485 Bug 377751: JSClass instances in xpconnect use the tracing API. r=brendan, sr=jst 2007-05-01 14:06:07 -07:00
crowder@fiverocks.com
3f29c14a5a Bug 356083: incorrect decompilation for ({this setter: function () {} }) and others, r=igor, r=brendan 2007-05-01 11:07:44 -07:00
crowder@fiverocks.com
13b4b6a1e1 Bug 375715: assertion on bogus character ranges in regexps, r=mrbkap 2007-05-01 10:51:34 -07:00
peterv@propagandism.org
378d89744e Part of bug 377606 (Switch cycle collector to more efficient hashtables - only keep hashtable around while collecting). r=graydon, sr=dbaron. 2007-05-01 05:51:39 -07:00
igor@mir2.org
7f6e92e7d2 Bug 379146: New API to register application-specific GC roots. r=brendan 2007-05-01 03:09:46 -07:00
bclary@bclary.com
dd4af99877 JavaScript Tests - add missing mode lines, no bug, not part of the build 2007-04-30 13:11:28 -07:00
bclary@bclary.com
0397e3963a JavaScript Tests - update automation scripts, no bug, not part of the build 2007-04-30 13:03:56 -07:00
bclary@bclary.com
10a98ba7b7 JavaScript Tests - update slow-n.tests, remove e4x/Regress/regress-350531.js, add js1_5/GC/regress-319980-01.js, js1_5/GC/regress-338653.js, no bug, not part of the build 2007-04-30 12:59:55 -07:00