Commit Graph

457 Commits

Author SHA1 Message Date
bclary@bclary.com
e5342d13d0 JavaScript Test - add strict warning tests for eval rename 2007-06-16 10:14:17 -07:00
brendan@mozilla.org
32fbc12486 Better entrainment avoidance for Call.arguments (383269, r=igor). 2007-06-15 17:29:21 -07:00
mrbkap@gmail.com
56aed6adf0 Restrict who can claim to implement nsISecurityCheckedComponent. bug 352882, r=jst sr=bzbarsky 2007-06-15 14:44:51 -07:00
mrbkap@gmail.com
aa1ee1385b Use a better filename when eval is used across scopes. bug 369211, r=brendan 2007-06-15 14:00:26 -07:00
bclary@bclary.com
0fe22432bb JavaScript Test - regression test for bug 380831, by Jesse Ruderman 2007-06-15 11:46:59 -07:00
bclary@bclary.com
689e0fcc43 JavaScript Tests - update test to ignore 1ms differences, bug 354998 2007-06-15 10:16:08 -07:00
bclary@bclary.com
0d4d6ed53c JavaScript Test - update test to reflect new uneval(undefined) on trunk, bug 356238 2007-06-15 10:00:46 -07:00
igor@mir2.org
bc0a21a243 Bug 378793: Patch from Mike Moening and me to implement per-context debug hooks. r=brendan 2007-06-14 23:44:18 -07:00
mrbkap@gmail.com
781e986b4b Allow C.u.Sandbox to take a principal or an nsIScriptObjectPrincipal. bug 353732, r+sr=jst 2007-06-14 16:50:28 -07:00
bclary@bclary.com
fd91b053bb JavaScript Test - regression test for bug 369666, by Brendan Eich 2007-06-14 15:43:09 -07:00
bclary@bclary.com
c22781e401 JavaScript Tests - regression tests for bug 351102, by Jesse Ruderman, Igor Bukanov 2007-06-14 15:39:03 -07:00
bclary@bclary.com
789a65e7e7 JavaScript Tests - regression test for bug 375183, by Igor Bukanov 2007-06-14 15:34:09 -07:00
bclary@bclary.com
e2f9779566 JavaScript Tests - regression test for bug 367630, by Jesse Ruderman 2007-06-14 15:31:17 -07:00
bclary@bclary.com
1ec2f11ae3 JavaScript Tests - regression test for bug 355655, by shutdown 2007-06-14 15:27:17 -07:00
bclary@bclary.com
2252dd809e JavaScript Test - regression tests for bug 351102, by Brendan Eich, Igor Bukanov 2007-06-14 15:23:38 -07:00
bclary@bclary.com
96560a22b3 JavaScript Tests - regression test for bug 367561, by Igor Bukanov 2007-06-14 15:19:51 -07:00
bclary@bclary.com
038732736e JavaScript Test - regression test for bug 366122, by Igor Bukanov 2007-06-14 15:15:49 -07:00
bclary@bclary.com
d443c7f811 JavaScript Test - regression test for bug 375715, by Jesse Ruderman 2007-06-14 15:09:45 -07:00
bclary@bclary.com
60d2a68541 JavaScript Test - regression test for bug 375711, by Jesse Ruderman 2007-06-14 15:04:18 -07:00
bclary@bclary.com
f23ca760ad JavaScript Test - regression test for bug 375801, by Jesse Ruderman 2007-06-14 14:50:12 -07:00
bclary@bclary.com
8ffea8f8fd JavaScript Test - regression test for bug 383721, by timeless 2007-06-14 14:32:09 -07:00
graydon@mozilla.com
ebd1fa3764 Amazingly, backing out 368869 again. 2007-06-14 13:40:17 -07:00
igor@mir2.org
ac5551e88a Bug 378793: removal of the previous commit. 2007-06-14 13:20:37 -07:00
igor@mir2.org
758bc9b1cf Bug 378793: Patch from Mike Moening to implement per-context debug hooks. r=me,brendan 2007-06-14 13:04:09 -07:00
graydon@mozilla.com
7e6c0bf09e Bug 368869, suspect all native wrappers for cycle collection. Nth attempt, slightly safer.r=brendan, sr=jst 2007-06-14 12:42:58 -07:00
brendan@mozilla.org
240b795fc5 Avoid entraining arguments in a Call prototype (383269, r=igor). 2007-06-14 00:26:19 -07:00
igor@mir2.org
1aa40de49d Bug 384151: refactoring boxing of primitive values, r=brendan 2007-06-14 00:07:01 -07:00
bclary@bclary.com
d48a46146f JavaScript Test - regression test for bug 383965, by Jesse Ruderman 2007-06-13 20:38:15 -07:00
bclary@bclary.com
d663b1c653 JavaScript Test - fix scope on map call, bug 382509 2007-06-13 13:51:06 -07:00
bclary@bclary.com
dd6c4e259f JavaScript Test - regression test for bug 369032, by Jesse Ruderman 2007-06-12 22:29:47 -07:00
bclary@bclary.com
0a885fc9ad JavaScript Test - regression test for bug 382509 2007-06-12 21:50:51 -07:00
bclary@bclary.com
96c6386afe JavaScript Test - regression test for bug 382532, by László Jánszky, Brendan Eich 2007-06-12 20:49:10 -07:00
bclary@bclary.com
c1aa612bdf JavaScript Test - regression test for bug 383255, by Jesse Ruderman 2007-06-12 20:34:39 -07:00
mrbkap@gmail.com
1e270ee66f Make Object.prototype.toSource deal with even more __proto__ hacking. bug 383965, r=crowder 2007-06-12 15:07:20 -07:00
bclary@bclary.com
dfc2f3ef6c JavaScript Test - regression test for bug 383674, by Jesse Ruderman 2007-06-12 13:58:09 -07:00
crowder@fiverocks.com
55c1df9820 Bug 375801: Using (void 0) instead of "undefined" in toSource and uneval(), r=mrbkap 2007-06-12 12:33:40 -07:00
crowder@fiverocks.com
40c1aa5660 Bug 383721: escape tabs on platforms with unusual isprint() routines, r=mrbkap 2007-06-12 12:30:57 -07:00
brendan@mozilla.org
3036f29b1f Fix CheckSideEffects over-aggressiveness (383674, r=mrbkap). 2007-06-12 01:26:26 -07:00
igor@mir2.org
b60c014c39 Bug 384104: Fixing ALE macros to quell GCC strict-aliasing warnings. r=brendan 2007-06-12 00:27:23 -07:00
jwalden@mit.edu
f51d74d1a6 Typo fixes 2007-06-10 15:08:17 -07:00
bzbarsky@mit.edu
33a8653e15 Change the URI argument to Components.utils.import to be a resource: URI. Bug380970, patch by Alex Vincent <ajvincent@gmail.com>, r=sayrer, sr=bsmedberg 2007-06-10 14:13:18 -07:00
graydon@mozilla.com
65eb1c1bf4 Backing out patch in bug 368869, again. Still randomly crashing (as in bug 383763). 2007-06-08 12:08:26 -07:00
gavin@gavinsharp.com
218738d375 Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan 2007-06-07 15:50:12 -07:00
asqueella@gmail.com
7cbb96fa68 Bug 381499 - Components.utils.import reports NS_ERROR_FAILURE when the file not existsswitch to NS_ERROR_FILE_NOT_FOUND and update testsr=sayrer, sr=brendan 2007-06-07 15:34:06 -07:00
jwalden@mit.edu
3ac5afd0f6 Bug 369032 - "Assertion failure: kid2->parent == xml || !kid2->parent" with E4X after appendChild; avoid incorrectly reparenting XML by deeply copying instead of mutating. r=mrbkap 2007-06-06 15:06:16 -07:00
jwalden@mit.edu
29b6ec0cff Fix syntax error. 2007-06-06 11:32:31 -07:00
crowder@fiverocks.com
0fe28fccb5 Bug 374681: 260 GC roots remain after destroying JSRuntime (not the complete fix, I think), r=brendan 2007-06-06 08:59:45 -07:00
graydon@mozilla.com
ad2d5719f0 Bug #368869, suspect all native wrappers as cycle roots (yet again, after Igor's change to js gc).r=brendan, sr=jst 2007-06-05 16:50:22 -07:00
mrbkap@gmail.com
c95c9cfd67 Remove vestigial initialization 2007-06-05 16:44:21 -07:00
mrbkap@gmail.com
69c8756e8a Be less strict about how you can call eval. In particular, allow callers to call it through other names, as long as the this object is a global object. bug 383381, r=brendan 2007-06-05 16:42:00 -07:00
crowder@fiverocks.com
c82cd955ac Bug 380831: incorrect uneval trying to output a getter function that is a sharp definition, r=igor 2007-06-05 13:20:07 -07:00
nboyd@atg.com
40714a5a6e Fix bug 383174: Add new reportMatch function in shell.jsr=bclary@bclary.com 2007-06-05 11:31:53 -07:00
mattwillis@gmail.com
6f6f76486f bug 382744 - Correct backwards assertion check in XPCNativeScriptableInfo. Patch by Manish Singh <manish@flock.com>, r=dbaron, sr=shaver 2007-06-05 08:59:44 -07:00
brendan@mozilla.org
d3056296e5 Fix JOF_TMPSLOT accounting (383255, r=igor). 2007-06-04 22:23:29 -07:00
igor@mir2.org
e606f64813 Bug 383188: using code spec flag to declare extra slot used for post ++/--. r=brndan 2007-06-04 20:07:38 -07:00
mrbkap@gmail.com
451fb0609a Fix overflow potential. bug 373931, r=crowder rs=brendan 2007-06-04 17:05:32 -07:00
mrbkap@gmail.com
93e990bf21 Remove indirect eval. bug 382509, r=brendan 2007-06-04 16:03:03 -07:00
mrbkap@gmail.com
bd829af388 Handle error returns from ftell. bug 373934, r=brendan 2007-06-04 16:01:41 -07:00
mrbkap@gmail.com
2a44a73281 Backing out to fix orange 2007-06-04 15:18:25 -07:00
mrbkap@gmail.com
1be4627a47 Fixing bustage, bug 382509 2007-06-04 14:47:13 -07:00
mrbkap@gmail.com
0f3c9fea93 Create XPCNativeWrapper function wrappers with the right parent. bug 370127, r=bzbarsky sr=brendan 2007-06-04 14:43:57 -07:00
mrbkap@gmail.com
3d9131d85e Remove indirect eval. bug 382509, r=brendan 2007-06-04 14:40:55 -07:00
mrbkap@gmail.com
7b221890b4 Whitespace police 2007-06-04 14:38:40 -07:00
igor@mir2.org
38a0fbd114 Bug 381973: new opcode flag top declare an extra temporary slot used by interpreter. r=brendan 2007-06-04 13:01:41 -07:00
brendan@mozilla.org
3d1e7f3d01 Fix fun_resolve to avoid resolving hidden properties (locals/params; 382532, r=mrbkap). 2007-06-04 12:50:30 -07:00
crowder@fiverocks.com
f88d5115d6 Bug 366355: perlconnect removal continues, r=mrbkap, patch by Patrick Welche <pw-fb@newn.cam.ac.uk> 2007-06-04 12:33:42 -07:00
nboyd@atg.com
e245bf0d3d Move skip lists to the testsrc directory. 2007-06-04 11:24:48 -07:00
nboyd@atg.com
6835e0ef94 Add skips for tests causing OutOfMemoryErrors. 2007-06-04 09:06:43 -07:00
peterv@propagandism.org
0aec607ac4 Fix for bug 382133 ("(function(){}).apply.ee = <foo/>;" causes shutdown crash [@ nsXPConnect::Unlink] during nsCycleCollector::CollectWhite). r/sr=jst. 2007-06-04 03:01:34 -07:00
igor@mir2.org
7d41735dbf Bug 379220: replacing JS_AddRoot calls via doubly-linked lists. r=jst sr=brendan 2007-06-02 08:11:52 -07:00
igor@mir2.org
c030410f7b Bug 382253: consistent termination of inline functions. r=brendan 2007-06-01 20:46:39 -07:00
crowder@fiverocks.com
f27ecbd250 backing out checkin on closed tree 2007-06-01 11:31:02 -07:00
crowder@fiverocks.com
d0c155d1f7 Bug 366355: more perlconnect removal goodness 2007-06-01 11:29:49 -07:00
bclary@bclary.com
2ef14cf331 JavaScript Test - fix broken test, bug 351515 2007-05-31 14:58:36 -07:00
bclary@bclary.com
b4fc832bb0 JavaScript Test - update test for bug 380237 2007-05-31 12:46:36 -07:00
bclary@bclary.com
ab6818db3a JavaScript Test - change eval tests to work around anonfunfix, bug 356247 2007-05-31 12:24:01 -07:00
bclary@bclary.com
966adf1e1a JavaScript Test - change native function to decodeURI since print is not native in the browser version 2007-05-31 12:00:11 -07:00
bclary@bclary.com
2f92518be4 JavaScript Tests - fix test to match new decompilation and to add missing brace in expected decompilation, bug 381205 2007-05-31 11:31:12 -07:00
bclary@bclary.com
cf155b2616 JavaScript Test - regression test for bug 356247, by Jesse Ruderman 2007-05-31 00:11:53 -07:00
bclary@bclary.com
0d228ab309 JavaScript Test - regression test for bug 381108, by Jesse Ruderman 2007-05-30 23:54:10 -07:00
bclary@bclary.com
d11db5ed2e JavaScript Test - regression test for bug 381301, by Jesse Ruderman 2007-05-30 23:45:06 -07:00
bclary@bclary.com
8f7f821500 JavaScript Test - regression test for bug 382335, by Igor Bukanov 2007-05-30 23:37:52 -07:00
timeless@mozdev.org
6506c492ee Bug 380886 Possible crashes/leaks in regexp handling in OOM conditionspatch by gavin@picsel.com r=crowder 2007-05-30 23:31:05 -07:00
brendan@mozilla.org
12de539ec7 Fix let-induced anti-bracing logic to cope with group assignment expression statements (356247, r=mrbkap). 2007-05-30 15:39:21 -07:00
nboyd@atg.com
e94921a77e Skip js1_5/Regress/regress-330352.js 2007-05-30 13:10:33 -07:00
crowder@fiverocks.com
237d01a1e4 Bug 381205: object uneval gets confused by special "getter functions", r=mrbkap 2007-05-30 13:05:31 -07:00
bclary@bclary.com
cf46c96b28 JavaScript Test - update expected value for decompilation, bug 367629 2007-05-30 11:42:40 -07:00
bclary@bclary.com
f43df015c6 JavaScript Test - move test to decompilation subsuite, bug 344120 2007-05-30 10:42:50 -07:00
nboyd@atg.com
eb7fd653f0 Use the prefix feature to avoid enumerating all skipped tests. 2007-05-30 10:11:24 -07:00
nboyd@atg.com
dbefc9eb00 After the recent move to consolidate shell.js code, this test broke due todifferent epsilon values used in different shell.js scripts. So this changejust makes the test values match exactly. 2007-05-30 05:55:17 -07:00
bclary@bclary.com
1b6db89f58 JavaScript Test - update sudoku demo test 2007-05-29 22:58:26 -07:00
bclary@bclary.com
7798f66122 Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan 2007-05-29 22:55:55 -07:00
nboyd@atg.com
3847014675 Clean up skip list for recent test changes. 2007-05-29 19:32:17 -07:00
igor@mir2.org
612731321f Bug 382335: proper cleanup after generator.close(). r=brendan 2007-05-29 19:29:09 -07:00
brendan@mozilla.org
54555ef979 Updated to track revised ES4-based grammar plus paren minimization changes to the decompiler (381113). 2007-05-29 18:52:57 -07:00
brendan@mozilla.org
e7de6b332a Implement ES4/JS2 expression closures (381113, r=mrbkap). 2007-05-29 18:49:42 -07:00
mrbkap@gmail.com
ec71466985 Add a space here for consistency. bug 381108, r=brendan 2007-05-29 18:23:24 -07:00
bclary@bclary.com
9d98080df4 JavaScript tests - fix incorrect TestCase signature, remove tests from slow-n.tests 2007-05-29 18:13:13 -07:00
brendan@mozilla.org
5dee41a384 Fix delete parser to fold constants in its operand to discern genexp error case (382355, r=mrbkap). 2007-05-29 17:49:53 -07:00
crowder@fiverocks.com
9adeac1889 Recent code checkin regressed testcase from 356085 2007-05-29 17:06:21 -07:00