Commit Graph

7465 Commits

Author SHA1 Message Date
mrbkap%gmail.com
b694b9110c bug 321522: The sandbox object needs to come from a new context, not the old
context. r=shaver sr=brendan
2006-01-06 22:28:18 +00:00
brendan%mozilla.org
de21c01432 Better GC_MARK_DEBUG code (315783, NPOTB but r=bz). 2006-01-06 06:32:11 +00:00
shaver%mozilla.org
739ee70523 bug 315783: fix GC_MARK_DEBUG crash when marking E4X text nodes, r=mrbkap 2006-01-06 05:28:19 +00:00
brendan%mozilla.org
37762e3c1d Remove e4x singleton entrainment hazards and hide naked * as value (322499, r=mrbkap). 2006-01-06 02:08:35 +00:00
brendan%mozilla.org
4630140dc0 Avoid stupid GCC warning introduced by last checkin. 2006-01-05 20:32:05 +00:00
brendan%mozilla.org
6012ecfa36 Fix up disassembly of 24-bit-immediate formats (DEBUG-only 316862, r=shaver). 2006-01-04 05:53:16 +00:00
brendan%mozilla.org
c925fdd1d4 Fix bindname/setname extension to 24-bit immediate atom index (321971, r=shaver). 2006-01-04 05:42:21 +00:00
bob%bclary.com
136e8d8253 Update template boilerplate for 2006, no bug, not part of the build 2006-01-03 04:16:14 +00:00
bob%bclary.com
c9e314a303 Regression testw fo rbug 322135, by Joaquin Cuenca Abela, Martin Honnen 2006-01-03 03:40:42 +00:00
brendan%mozilla.org
dcde3a8d3b Fix from Igor Bukanov <igor.bukanov@gmail.com> to reorder allocations to avoid pigeon-hole problem (322045, r=me). 2006-01-03 01:41:46 +00:00
gerv%gerv.net
1dca58927a Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 12:14:46 +00:00
bob%bclary.com
ef4a583e95 Regression test for bug 319683, by Jan-Klaas Kollhof 2005-12-30 22:26:16 +00:00
bob%bclary.com
92511be465 Regression test for bug 321757, by Joaquin Cuenca Abela, Brendan Eich 2005-12-30 21:58:27 +00:00
joshmoz%gmail.com
9444c564c2 ECMA and C99 specs do not agree on all results for pow(). When using libm for JavaScript math functions, we need to convert libm's differing C99 results to ECMA-compliant results. This change might be all we need to get our libm implementation ECMA compliant, so we can examine moving js math functions over to OS libraries on all platforms. b=320770 r=mento sr=brendan 2005-12-29 20:19:54 +00:00
bob%bclary.com
25181e996b Regression test for bug 253150 2005-12-28 22:09:13 +00:00
bob%bclary.com
5813f8ba72 Correct Regression test for bug 164697, See bug 321669 2005-12-28 06:34:58 +00:00
brendan%mozilla.org
48c8a3daba Fix lvalue=>rvalue handling todo with parenthesization and assignment (320032, r=mrbkap). 2005-12-28 05:36:29 +00:00
bob%bclary.com
d65fad2850 Regression test for bug 188211, by Phil Schwartau 2005-12-28 02:39:35 +00:00
bob%bclary.com
17f05b1ad0 Regression test for bug 176125, by Phil Schwartau 2005-12-28 02:06:20 +00:00
bob%bclary.com
1d8591f027 Regression test for bug 164697 2005-12-28 01:21:09 +00:00
bob%bclary.com
15e5ed7051 Regression test for bug 127243, by Giscard Girard, Brendan Eich 2005-12-27 23:08:06 +00:00
bob%bclary.com
acf3157c3c Regression test for bug 106244, by neil@parkwaycc.co.uk 2005-12-27 22:24:45 +00:00
brendan%mozilla.org
ac177f0bb6 Assertion tweaks to find dropped exceptions (NPOB, 321446). 2005-12-27 06:35:18 +00:00
bob%bclary.com
fdee8e29fc Regression test for bug 315147, by Michael Daumling 2005-12-27 05:10:17 +00:00
brendan%mozilla.org
bdd0cf228c Fix failure to propagate failure in regexp_exec_sub (321446, r=mrbkap). 2005-12-27 02:53:04 +00:00
bob%bclary.com
68de9cc18c Regression test for bug 321549, by Biju 2005-12-27 00:54:42 +00:00
bob%bclary.com
ef4809fb70 Regression test for bug 319391, by gwatmuff, Jesse Ruderman 2005-12-26 21:45:04 +00:00
brendan%mozilla.org
ce850ec47c Fix XML name scanner to allow { after : (321549, r=mrbkap). 2005-12-26 21:21:50 +00:00
bob%bclary.com
c7b2a4e04b Regression test for bug 317714, by Andrew Schultz 2005-12-26 21:05:38 +00:00
bob%bclary.com
7b70e3b99e Regression test for bug 317533, by shutdown 2005-12-26 20:40:17 +00:00
brendan%mozilla.org
15ecc97688 Nit-pick a doubled blank line. 2005-12-24 07:34:16 +00:00
brendan%mozilla.org
f17aecb8ad Respect the sacred 80th column. 2005-12-24 07:03:26 +00:00
bob%bclary.com
a22c7856b7 Regression test for bug 315990, by Jesse Ruderman 2005-12-24 06:49:58 +00:00
bob%bclary.com
6a2f7969e9 Regression test for bug 315436, by Michael Daumling 2005-12-24 06:37:51 +00:00
bob%bclary.com
5b75289252 Regression test for bug 294302, by Alex Russell 2005-12-24 03:26:25 +00:00
shaver%mozilla.org
4b841da7b9 Bug 319490: return in finally should clear pending exceptions. r=mrbkap,
sr=brendan.
2005-12-24 01:09:19 +00:00
bob%bclary.com
b9a9953584 Regression test for regression caused by bug 285219, bug 320172, by shutdown 2005-12-24 01:03:44 +00:00
bob%bclary.com
98c737bbd9 Regression test for bug 320008, by simon 2005-12-23 09:41:59 +00:00
bob%bclary.com
c44877a5bc Regression test for bug 320032, by Brendan Eich 2005-12-23 09:30:45 +00:00
bob%bclary.com
9b98edb552 Regression test for bug 320887, by Blake Kaplan 2005-12-23 09:23:26 +00:00
timeless%mozdev.org
87ecd7816a Bug 301341 make building narcissus w/ Makefile.ref easier
r=mrbkap sr=brendan
2005-12-22 00:12:29 +00:00
brendan%mozilla.org
f608dee739 Fix shared permanent optimization in hasOwnProperty to be confined to a single class of objects (320854, r/sr=mrbkap/shaver). 2005-12-19 21:14:31 +00:00
bob%bclary.com
5b0d3052c6 Regression test for bug 320854, by Brendan Eich, not part of the build 2005-12-19 20:49:02 +00:00
bob%bclary.com
c6d79334bd Regression test for bug 319384, attempt to catch conversion error 2005-12-19 09:18:19 +00:00
mrbkap%gmail.com
cd4f6d4a38 bug 320008: Double-quotes in attributes in constructs parsed by the XML constructor get double-escaped, turning into &amp;quot; r=brendan 2005-12-16 23:02:22 +00:00
brendan%mozilla.org
5dc8159c05 Fix typo pointed out by Gavin. 2005-12-16 22:08:11 +00:00
brendan%mozilla.org
f548d87078 Tricky fix to allow non-ECMA Function.prototype extensions to be readonly except when delegated to from other classes (320119, r/sr=mrbkap/shaver). 2005-12-16 19:32:44 +00:00
mrbkap%gmail.com
3e57ee0c74 Bustage fix from bug 319296. 2005-12-16 02:03:49 +00:00
jst%mozilla.jstenback.com
f80210c06e Fixing bug 319296. This fixes a problem where we could end up in a situation where a nsIXPCScriptable helper would be used for a class info object when the helper is obviously written only for the class described by the class info. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-12-16 00:32:15 +00:00
mrbkap%gmail.com
f143012f3e bug 320172: Functions that call eval need to be heavyweight functions so that var declarations in their eval'd string have a varobj to call home. r=brendan 2005-12-15 02:30:16 +00:00
mrbkap%gmail.com
6e2a3be5dd bug 319872: Test for integer overflow while escaping stuff. r=brendan 2005-12-13 23:18:03 +00:00
bsmedberg%covad.net
75f0b3fd3c Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732) 2005-12-13 17:55:43 +00:00
gerv%gerv.net
adbec5dbff Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
bsmedberg%covad.net
718ca7a4a6 Bug 315090 - convert xpconnect utils/tests to use frozen linkage, r=shaver 2005-12-12 15:08:16 +00:00
mrbkap%gmail.com
6246fb009e Fix comment nit from bug 319264. 2005-12-11 06:49:02 +00:00
mrbkap%gmail.com
d3eee0b215 bug 319264: Fix double-free reporting strict warnings about assigning to read-only properties. r=brendan 2005-12-11 06:44:29 +00:00
brendan%mozilla.org
f20ad4a946 Fix delegation to function object for length and other properties (313570, r/sr=mrbkap/shaver). 2005-12-10 18:46:37 +00:00
brendan%mozilla.org
903070e2a9 Revert to pre-E4X handling of eval(s) = x to avoid compile-time error reporting (319391, r=mrbkap). 2005-12-09 20:23:38 +00:00
mrbkap%gmail.com
de8bf51b19 bug 318489: It's impossible to use one of the constructors from an XPCNativeWrapped object. Add an IDL interface for these constructors and fix XPCNativeWrapper to forward Construct requests onto its wrapped native. r=jst sr=brendan 2005-12-09 19:08:45 +00:00
mrbkap%gmail.com
dadb1cbbfa bug 319172: Innerize the global object for subscript loading so that functions are compiled with the right parent (leading to the inner window, not the outer window). r=shaver sr=brendan 2005-12-09 18:58:23 +00:00
bob%bclary.com
47d43c752e Regression test for bug 314890, by Jeff Thompson, not part of the build 2005-12-08 20:47:46 +00:00
bob%bclary.com
bd4d91f4d4 Regression test for bug 318922, by Biju, not part of the build 2005-12-08 19:56:08 +00:00
bob%bclary.com
188d53f190 Regression test for bug 319384, by Boris Zbarsky, not part of the build 2005-12-08 19:08:37 +00:00
brendan%mozilla.org
0e628dfa78 Comment typos fixed. 2005-12-08 17:59:45 +00:00
brendan%mozilla.org
5473753429 Fix uninitialized variable use in an assertion (311583, r=igor). 2005-12-07 22:42:06 +00:00
mrbkap%gmail.com
c1c671891e bug 319384: Don't use unsigned objects for signed values. Also give the "can't convert to integer" error an exception type so that it can be caught. r=daumling@adobe.com sr=brendan 2005-12-07 20:49:52 +00:00
brendan%mozilla.org
47984fd9cc Add missing TOK_XMLSPACE case (one-line fix to 318922, r=mrbkap). 2005-12-06 23:40:36 +00:00
bzbarsky%mit.edu
709973dd99 Make sure to keep memberval alive while we use it. Bug 318969, r=mrbkap, sr=jst 2005-12-06 04:48:19 +00:00
brendan%mozilla.org
1385a88fa8 Fix some style nits. 2005-12-05 23:41:30 +00:00
brendan%mozilla.org
0b0e90d50c Patch from Michael Daumling <daumling@adobe.com> to let the OOM message be localized (318767, r=me). 2005-12-05 21:35:15 +00:00
brendan%mozilla.org
2f2cb5e85a Fix XML folding to skip name nodes with list arity due to embedded {expr} terms (318922, r=mrbkap). 2005-12-05 05:26:50 +00:00
bsmedberg%covad.net
d54d3d7b09 Reverting bug 316416 due to Ts regression and mysterious monkey orange :-( 2005-12-03 15:27:17 +00:00
dbaron%dbaron.org
f2a37733b9 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
f95e73dac7 Fixing bug 318873. Crash in js_GetLocalizedErrorMessage(). Patch by tor@acm.org, r+sr=jst@mozilla.org 2005-12-03 07:32:07 +00:00
brendan%mozilla.org
a9762daf5d Michael Daumling <daumling@adobe.com> patch to allow user-defined errors, finally (thanks to Michael for doing this; 215173, r=mrbkap/me). 2005-12-03 02:31:21 +00:00
bsmedberg%covad.net
18d1271404 Bustage fix, bug 316416, nested classes are not automatically friendly. 2005-12-02 17:09:19 +00:00
bsmedberg%covad.net
28e3019754 Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin 2005-12-02 16:34:42 +00:00
brendan%mozilla.org
d0fdbe647b Followup to maximize error-reporting code sharing (315436, r=daumling). 2005-12-01 21:05:12 +00:00
brendan%mozilla.org
16b5d0988a Fix from Michael Daumling <daumling@adobe.com> to make read-only assignment a strict warning (315436, r/sr=mrbkap/brendan). 2005-12-01 02:26:35 +00:00
dougt%meer.net
0b8260d91c Allowing js to be statically linked, if desired. r=bsmedberg. b=236617 2005-11-30 17:38:49 +00:00
mrbkap%gmail.com
4e4b58e6fa bug 307526: Add a -i option to the two shells to force interactive mode so that it's possible to use xpcshell from Emacs (where isatty returns bad results). r=dmose sr=brendan 2005-11-29 23:52:28 +00:00
dougt%meer.net
a6e31396b5 PR_MemMap is busted on WINCE. Until it is fixed, disable memory map access in js loader. b=318077. r=dougt. WINCE only. 2005-11-29 05:44:40 +00:00
mrbkap%gmail.com
3a77b12867 bug 317476: The error thrown by JS_ReportError is not catchable. r=brendan 2005-11-28 20:42:30 +00:00
mrbkap%gmail.com
b51cc879fb bug 317533: Don't get confused by final if statements when determining if a function always returns a value. r=brendan 2005-11-28 20:35:13 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
brendan%mozilla.org
9d0de76443 Fix bad regression in fix for 316885 (317714, r=shaver). 2005-11-25 07:49:05 +00:00
bob%bclary.com
7c234773e0 Improve BigO reporting, no bug, not part of the build 2005-11-24 04:54:52 +00:00
bob%bclary.com
b756f93fe2 Test for version() function's existence so that test does not fail in the browser, no bug, not part of the build 2005-11-24 04:51:38 +00:00
bob%bclary.com
9990df994c Correct erroneous tests, no bug, not part of the build 2005-11-24 04:49:48 +00:00
bob%bclary.com
0c69c8767b Fix test by constructing valid date from toDateString() and toLocaleTimeString(), no bug, not part of the build 2005-11-24 04:46:08 +00:00
bob%bclary.com
562ff36e70 Remove @ native from global toString in debug builds, no bug, not part of the build 2005-11-24 04:43:16 +00:00
bob%bclary.com
002d82bd70 Add JavaScript language version to mime attribute of js1_x browser tests, no bug, not part of the build 2005-11-24 04:40:43 +00:00
bob%bclary.com
1bdaa6408a Remove jsbrowser, e4xbrowser from browser target, no bug, not part of the build 2005-11-24 04:39:15 +00:00
bob%bclary.com
2f785718f4 Add call to test() to display status messages, no bug, not part of the build 2005-11-24 04:01:38 +00:00
bob%bclary.com
b30d745874 BUGNUMBER is not a URL, no bug, not part of the build 2005-11-24 03:51:58 +00:00
bob%bclary.com
85cb04ad3b Change GLOBAL string to be calculated from global this.toString() to eliminate erroneous errors in debug builds, no bug, not part of the build 2005-11-24 03:41:37 +00:00
bob%bclary.com
0c224a23a1 Improve BigO calculations, no bug, not part of the build 2005-11-24 03:25:06 +00:00
bob%bclary.com
e961da4da3 Rename regress-234389.js to regress-234389-n.js since successful test throws an exception, no bug, not part of the build 2005-11-24 03:07:55 +00:00
jag%tty.nl
4a7d85ba3e Sorry, no tabs allowed here. (whitespace-only change, r=jack, sr=lumpy) 2005-11-23 07:09:37 +00:00
brendan%mozilla.org
fc8c3998b8 No switch for threaded interpreter (121414, r=igor). 2005-11-22 04:47:42 +00:00
brendan%mozilla.org
21b200f08b Root me harder (316885 r/sr=igor/shaver). 2005-11-22 00:47:05 +00:00
dougt%meer.net
d2a7417e56 Fixing build bustage on minimo linux. Shell doesn't compile when building against minimo. 2005-11-22 00:12:49 +00:00
igor%mir2.org
df24c9296d Fixing bug 316879:
I hope this time the implementation of optimization for int-only operations
is the right one. review=brendan
2005-11-22 00:03:04 +00:00
mrbkap%gmail.com
1631ef2f9d bug 316990: Allow hasOwnProperty to work, even with split windows, by checking that the returned object is actually the inner object of |this|. r=brendan 2005-11-21 19:40:55 +00:00
bob%bclary.com
2b90ed855c Regression test for bug 96526, behavior has changed due to bug 311583, holes are no longer represented by undefined in array.toSource() 2005-11-21 07:25:33 +00:00
timeless%mozdev.org
98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bryner%brianryner.com
9aa84f551d Only issue a warning if we failed to map a file, not an assertion. This doesn't violate any built-in assumptions. Bug 317205, r=shaver. 2005-11-21 03:27:32 +00:00
brendan%mozilla.org
1d59dac7f6 Fix bogus assertion. 2005-11-20 21:37:14 +00:00
igor%mir2.org
922e2e894c Removal of the previous commit: my patch brought bogus assert in JSOP_NEG:
the result of -rval can fit jsint even if rval is not int in cases like when
rval is "1" string.
2005-11-20 19:25:47 +00:00
igor%mir2.org
6b6b0f28b6 Fixing bug 316879:
Special treatment of int values in numeric operations for faster and smaller
code. r=brendan
2005-11-20 18:14:21 +00:00
bob%bclary.com
8619eb83da Regression test for bug 232182, by Michael Daumling 2005-11-20 06:47:15 +00:00
bob%bclary.com
03e59d0c06 Obsolete ecma_3/Statements/regress-121744.js, no bug, not part of the build. 2005-11-20 06:15:10 +00:00
bob%bclary.com
e9c41dcab9 Test for shell only constructs to prevent false negatives when running tests in the browser, no bug, not part of the build 2005-11-20 06:10:46 +00:00
bob%bclary.com
88e1c12a5e Modify test to handle script error path when running in the browser, no bug, not part of the build 2005-11-20 06:08:42 +00:00
bob%bclary.com
eb0dcad057 Handle negative results tests in browser based tests, no bug, not part of the build 2005-11-20 06:06:54 +00:00
bob%bclary.com
6c7a3b0acc Change default mode from Quirks to Standards in browser based tests, no bug, not part of the build 2005-11-20 06:01:39 +00:00
bob%bclary.com
7bf0c1bd09 Remove obsolete JS test automation scripts, no bug, not part of the build 2005-11-20 05:59:09 +00:00
bob%bclary.com
c17f87551f Modify JS test automation to be driven by external text files containing lists of urls, no bug, not part of the build. 2005-11-20 05:56:58 +00:00
igor%mir2.org
765babd101 Fix for bug 311583:
Not uneval(array) uses elision, not undefined, to represent array holes.
r=brendan
2005-11-20 01:12:58 +00:00
igor%mir2.org
d1471187a3 Fixing bug 316993 +jump generation cleanup 2005-11-19 22:57:49 +00:00
brendan%mozilla.org
d190f94f8e Threaded interpreter, first step toward more aggressive optimizations (121414, r=shaver). 2005-11-19 03:20:17 +00:00
brendan%mozilla.org
6af9912379 Toasted Windows, not able to debug till tomorrow, backing out. 2005-11-18 06:19:46 +00:00
brendan%mozilla.org
86ccad8608 Threaded interpreter, first step toward more aggressive optimizations (121414, r=shaver). 2005-11-18 04:22:25 +00:00
igor%mir2.org
cbf3b32676 Fix for bug 302849: js shell calls setlocal, r=shaver 2005-11-17 17:32:00 +00:00
igor%mir2.org
2f5e6f0d10 Fix for bug 312138:
js_HeapSort terminates as soon as sort function indicates so. r=brendan
2005-11-16 10:02:57 +00:00
bzbarsky%mit.edu
f02076fb6f Get principals for XPConnect wrapped natives off their scope instead of walking
their parent chain.  Add some asserts to check that this actually does give the
same result, which it should with splitwindow.  Bug 289655, r=dbradley, sr=jst
2005-11-16 02:12:21 +00:00
bzbarsky%mit.edu
b4e353549f Keep reading from the sync stream till we're done. Bug 303376, r=darin, sr=jst 2005-11-16 02:04:10 +00:00
bob%bclary.com
6c8cc6658d Regression test for bug 315509, by moz_bug_r_a4 2005-11-14 19:25:22 +00:00
brendan%mozilla.org
e22351e864 Fix old logic bug in useless expression eliminator (315990, r=mrbkap). 2005-11-11 20:20:19 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
24c101cf4c bug 315925: Fix some nits in TestUtf8 including better bad-argument handling and general JS style nits. r=brendan 2005-11-10 22:19:22 +00:00
pkw%us.ibm.com
9c71c9931d AIX bustage fix after checkin of Bug 315288 enabled UTF-8 strings in JS. Changed C++ style comment to C style comment. No bug.
r=shaver@mozilla.org
2005-11-10 21:03:28 +00:00
bsmedberg%covad.net
caee95c028 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
mrbkap%gmail.com
ee19e5b458 bug 315797: The label goes after the variables that were never set. r=brendan 2005-11-10 07:09:22 +00:00
mrbkap%gmail.com
e5b2badc4d bug 315509: array_unshift doesn't deal with holes in the array correctly. Patch from moz_bug_r_a4@yahoo.com. r=mrbkap 2005-11-08 20:58:28 +00:00
dougt%meer.net
57e921b9c8 WindowsCE doesn't really have a console per se. displaying the xpc shell as it isn't build on windows ce. WINCE only. 2005-11-07 20:58:30 +00:00
bob%bclary.com
22347fd8e9 JavaScript Test Library - test size of string operands, not number of iterations of concat 2005-11-07 07:26:33 +00:00
bob%bclary.com
cef24765d4 JavaScript Test Library - automation, proper handling of exit codes for timed executions 2005-11-07 07:10:59 +00:00
bob%bclary.com
bfe41df825 JavaScript Test Library - add test path to ecma_3/Date/shell.js 2005-11-07 07:03:15 +00:00
mrbkap%gmail.com
030dd22ead bug 315147: Error JSMSG_UNDEFINED_PROP should be JSEXN_REFERENCEERR (pointed out by Michael Daumling). r=brendan 2005-11-05 02:01:17 +00:00
mrbkap%gmail.com
809abae6c7 bug 232182: Allow SpiderMonkey to deal with UTF-8 strings (controlled by a define). Patch from Michael Daumling <daumling@adobe.com>. r=shaver 2005-11-05 01:06:30 +00:00
szegedia%freemail.hu
6260d33506 Added enter() and exit() methods to ContextFactory - behave identically to enter() and exit() in Context, except that the context factory on which the methods are invoked is used instead of the ContextFactory.global 2005-11-04 13:37:45 +00:00
szegedia%freemail.hu
6074b83bc6 Bugzilla #312702: Feature for limiting call stack depth in interpeter 2005-11-04 13:10:56 +00:00
bob%bclary.com
dd021cc4ed Regression test for bug 314887 2005-11-04 07:32:54 +00:00
mrbkap%gmail.com
cfd7dbec0a bug 314890: Add in a fast early-out pointer comparison for quick string compares. r=brendan 2005-11-03 22:01:09 +00:00
brendan%mozilla.org
db4481ee41 Don't store non-GC-things in local roots (3148887, r=mrbkap). 2005-11-03 17:50:04 +00:00
brendan%mozilla.org
fa44e6b5aa Augh. 2005-11-03 02:23:59 +00:00
brendan%mozilla.org
0f10624173 Oops. 2005-11-03 01:56:52 +00:00
brendan%mozilla.org
999f42157c Whitespace policing. 2005-11-03 01:45:06 +00:00
brendan%mozilla.org
da295763b5 Better AMD64 detection, courtesy wtchang, in bug 226094. 2005-11-03 01:39:39 +00:00
brendan%mozilla.org
1dba545634 MSVC on AMD64 LLP64 type model support (226094, r=me on patch from Michael Moy <mmoy@yahoo.com>). 2005-11-03 01:22:09 +00:00
mrbkap%gmail.com
f014b5fc1f bug 294302: Map JSMSG_CANT_OPEN to a real exception type so that shell scripts can catch failed loads. r=brendan 2005-11-03 00:16:14 +00:00
mrbkap%gmail.com
9bd744a01e bug 313220: Push the sandbox's context onto the context stack so that functions that need to use the current fp can find it. r=brendan sr=shaver 2005-11-02 22:07:15 +00:00
bsmedberg%covad.net
5a3dee9942 Bug 307168 - Add configure test for GCC bug that prevent the pragma-visibility stuff from working properly on some configurations, and also clean up usages of HAVE_VISIBILITY_PRAGMA which should really be HAVE_VISIBILITY_ATTRIBUTE r=roc+wolfiR, previous revisions reviewed by bryner 2005-11-02 14:14:18 +00:00
timeless%mozdev.org
d72cc699d0 Bug 276979 Unrooted JSObject in nsXPCWrappedJSClass::DelegatedQueryInterface crashes [@ js_LookupPropertyWithFlags ]
r=mrbkap sr=bz
2005-11-02 04:07:55 +00:00
bob%bclary.com
dd7fc0840a Regression test for bug 313592, by Seno Aiko 2005-11-01 19:00:33 +00:00
brendan%mozilla.org
46a92c27aa Use explicit local roots in native methods (313763, r/sr=igor/shaver). 2005-11-01 01:13:36 +00:00
mrbkap%gmail.com
a94fa7d326 bug 314401: Handle a null scopeobj (don't crash, report an error instead). This is my version of a patch from moz_bug_r_a4@yahoo.com. r=brendan 2005-10-31 19:50:49 +00:00
mrbkap%gmail.com
317210d2b9 bug 314456: Handle the empty string better. r/sr=brendan/dveditz 2005-10-31 19:31:55 +00:00
bob%bclary.com
e7f6c4ecd9 Regression test for bug 313929, use XML to defer error to runtime 2005-10-29 11:26:23 +00:00
bob%bclary.com
ce28095302 Regression test for bug 313929, by Seno Aiko 2005-10-29 06:32:23 +00:00
mrbkap%gmail.com
be646f33a3 bug 313375: Oops, we're locking the wrong object! r=brendan sr=jst 2005-10-28 22:45:12 +00:00
brendan%mozilla.org
ab5e44bb8d Fix script_thaw to set its local root. 2005-10-28 18:14:44 +00:00
brendan%mozilla.org
ba3f8cafc4 Internal invocation result GC protection, after a patch from Igor (313952, r/sr=mrbkap/shaver). 2005-10-28 18:07:42 +00:00
igor%mir2.org
f2b2996f42 Fixing bug 313938: better handling of GC strings 2005-10-28 09:50:12 +00:00
bob%bclary.com
106bc6a487 Trap possible exceptions to sure JavaScript Options are reset 2005-10-28 08:17:28 +00:00
bob%bclary.com
5cf264ab62 Be sure to reset JavaScript options before test ends. 2005-10-28 08:16:10 +00:00
bob%bclary.com
e33676be8c JavaScript Test Library - trap exceptions when getting non-existent options in JavaScriptOptions() 2005-10-28 08:13:36 +00:00
mrbkap%gmail.com
16971355eb bug 314059: Make sure to untag the jsval when we use it. r=brendan 2005-10-28 01:10:49 +00:00
brendan%mozilla.org
0fb916cac2 Fix xml_child to include leaf types (attributes, PIs, etc.) in its result (313799, r=mrbkap). 2005-10-27 21:48:20 +00:00
mrbkap%gmail.com
6a2996e793 Some random fixes on top of a patch from Johan Bevemyr <jb@bevemyr.com>. 2005-10-27 21:12:13 +00:00
bob%bclary.com
35e96efb0c JavaScriptTest Library - convert printStatus message argument to a string before processing, Not part of the build 2005-10-27 06:50:02 +00:00
bob%bclary.com
1bb25b3ccc Regression test for bug 281487, add status messages making it clear the test is DEBUG only and only fails if it crashes. Not part of the build 2005-10-27 06:46:37 +00:00
bob%bclary.com
401cfd8900 JavaScript Test Library - Add js1_6 to the automated tests, not part of the build. 2005-10-27 06:43:50 +00:00
brendan%mozilla.org
8c662582d4 E4X ISO/ECMA-Edition-2 change to XML.prototype.child, plus common subroutining (313949, r=mrbkap). 2005-10-27 02:55:51 +00:00
brendan%mozilla.org
7b0ebc0259 Fix CDATA end sequence scanning (313929, r=mrbkap). 2005-10-26 20:54:22 +00:00
bob%bclary.com
2cc427d996 Regression test for bug 304828 2005-10-26 12:28:50 +00:00
bob%bclary.com
ab87b51f6c Regression test for bug 313799, fix typo. Thanks to Seno Aiko for the catch 2005-10-26 10:29:55 +00:00
bob%bclary.com
03444f36e3 Regression test fo rbug 313567, by Igor Bukanov 2005-10-26 10:16:43 +00:00
bob%bclary.com
052cbefcb5 Regression test for bug 313570, by Yuh-Ruey Chen 2005-10-26 10:08:56 +00:00
brendan%mozilla.org
036a925773 mrbkap's fix for 313799, r=me. 2005-10-26 08:34:13 +00:00
bob%bclary.com
944fa95a6f Regression test for bug 313799, by Seno Aiko 2005-10-26 08:00:06 +00:00
bob%bclary.com
c6efb002d7 Regression test for bug 313803, by Colin Blake 2005-10-26 07:40:56 +00:00
timeless%mozdev.org
19ece1aaf1 Bug 313803 uneval() on func with embedded object with getter or setter has unmatched parenthesis
patch by colin@theblakes.com r=mrbkap sr=brendan
2005-10-26 05:23:50 +00:00
jst%mozilla.jstenback.com
baa0bf293f Followup fix for bug 313373. Make sure call methods on the right object when dealing with double wrapped JS objects. r=shaver@mozilla.org, sr=brendan@mozilla.org 2005-10-26 02:25:05 +00:00
mrbkap%gmail.com
d46c7859d9 Clean up a compile error from my last checkin. Take a suggestion from John Bevemyr <jb@bevemyr.com> so that readln returns null, and not false on EOF to make distinguishing between an empty line and EOF trivial. NPOTB 2005-10-25 20:48:16 +00:00
brendan%mozilla.org
66d36e5359 Fix string.length to be specific for String objects, generic for others for backward compat; and simplify resolve/enumerate accordingly (313567, r/sr=igor/shaver). 2005-10-25 15:58:33 +00:00
bob%bclary.com
57680965b1 Regression test for bug 304897, match shell behavior 2005-10-25 11:50:43 +00:00
bob%bclary.com
909c3c70b5 Regression test for Date.prototype.toLocaleFormat, remove test for %x 2005-10-25 10:38:41 +00:00
bob%bclary.com
bbeaf64202 Regression test for bug 304376, restore String constructor 2005-10-25 10:00:31 +00:00
bob%bclary.com
c7cdb9da47 JavaScript Test Library - explicitly convert printStatus argument to string in e4x/shell.js, ecma_3/shell.js, no bug 2005-10-25 09:58:37 +00:00
brendan%mozilla.org
f96f8cbb8f Close a loophole Jesse pointed out. 2005-10-25 08:51:38 +00:00
brendan%mozilla.org
32c0127066 Consolidate and check fun->object access (313685, r=mrbkap). 2005-10-25 08:00:30 +00:00
bob%bclary.com
5a0a09ce73 Regression test for bug 313153, fix to compare string types, not part of the build 2005-10-25 07:15:07 +00:00
jst%mozilla.jstenback.com
44614095f4 Fixing bug 313373. Pass *vp through untouched to the checkAccess hook when checking for write access. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-10-25 00:29:28 +00:00
brendan%mozilla.org
3081b361ad Easy local rooting fix (313630, r/sr=igor/shaver). 2005-10-24 23:44:04 +00:00
mrbkap%gmail.com
30a07cf51e bug 305628: Fix iloop on Windows and a couple of memory leaks. Still more work to be done, but this gets closer and closer. Lots of style nitpicks cleaned up too. rs=shaver 2005-10-24 21:35:57 +00:00
bryner%brianryner.com
c47a7f8696 Fix uninitialized result code in JS component loader (bug 313612) regression from bug 279839. Thanks to Boris for helping track this down. 2005-10-24 21:01:27 +00:00
bob%bclary.com
7c40adc831 Regression test for e4x/XML/13.4.4.3-02.js, catch exceptions to prevent exit code 3 2005-10-24 08:37:17 +00:00