Граф коммитов

7605 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com 0f54694d49 Make this file vim-friendly. 2006-01-19 01:00:49 +00:00
igor%mir2.org f3ed9ece6b Bug 323765: VarPrefix is thread-safe now. r=brendan 2006-01-18 11:17:21 +00:00
mrbkap%gmail.com 5ea1608db4 bug 319872: Don't free the sentinal value. r=brendan 2006-01-18 02:22:55 +00:00
shaver%mozilla.org 6b682d8476 Bug 321021: Add option to preserve exceptions thrown from outermost frames,
rather than convert to error reports.  r=mrbkap, sr=brendan.
2006-01-18 00:29:35 +00:00
igor%mir2.org 1dd2a80816 Bug 294499: GC directly calls malloc instead of using JSArena for paged
allocation to avoid overhead of arena headers that GC does not use. r=brendan
2006-01-17 01:26:35 +00:00
brendan%mozilla.org 76676f8d41 Remove bogus arena-pool alignment parameters (323529, r=igor). 2006-01-15 21:57:26 +00:00
brendan%mozilla.org 6b2687cd65 Fix uintN/size_t 64-bit hazards (323510, r=daumling). 2006-01-15 17:52:42 +00:00
brendan%mozilla.org 15e8ed8136 Update DUMP_CALL_TABLE (NPOTB) code to track 322001. 2006-01-14 17:49:58 +00:00
igor%mir2.org 9bb7bef927 Fixing bug 323267:
Sweep script's filenames after the main GC sweep loop so the filenames are
still available for a destroy script hook. r=brendan
2006-01-14 02:30:49 +00:00
brendan%mozilla.org 8def00c88a Add missing null check (323338, r=mrbkap). 2006-01-14 01:09:42 +00:00
brendan%mozilla.org 8ada639a87 Fix errors that were JSEXN_NONE to have a valid exception type, so that they can be thrown by default (e.g., strict warnings with the werror option set as well as strict; 323314, r=mrbkap). 2006-01-13 22:20:30 +00:00
bob%bclary.com ae5466f096 JS Test Library - handle global object toString containing address in debug builds 2006-01-13 19:50:49 +00:00
bob%bclary.com a5c6dd653b JS Test Library - whitespace fixes 2006-01-13 19:47:27 +00:00
bob%bclary.com aad9bef095 JS Test Library - add calls to collect garbage after test completed 2006-01-13 19:45:55 +00:00
bob%bclary.com 1115ebbc97 JS Test Library - update make file for tests, remove make macros 2006-01-13 19:44:20 +00:00
bob%bclary.com 83d0c13b75 JS Test Library - properly escape embedded tags in output to browser windows, add call to actual GC from the JSDebugger service 2006-01-13 19:26:59 +00:00
bob%bclary.com 93fce770be JS Test Library - move regression test for bug 309242 from js1_6 to js1_5 since it requires that e4x not be explicitly turned on, bug 309242 2006-01-13 19:20:34 +00:00
bob%bclary.com 98d595c8f1 JS Test Library - fix test suite counts in menu.html, no bug, not part of the build. 2006-01-13 16:40:00 +00:00
bob%bclary.com 6cf6cd7ec2 Regression test for bug 322430 2006-01-13 16:25:56 +00:00
bob%bclary.com e36b8a8e51 JS Test Library - make sure JavaScriptOptions has the appropriate permission, no bug, not part of the build 2006-01-13 16:23:39 +00:00
bob%bclary.com fd437cd2c7 Regression test for bug 322836 2006-01-13 14:32:01 +00:00
bob%bclary.com f51470f8d7 Regression test for bug 321547, by Biju 2006-01-13 11:14:34 +00:00
bob%bclary.com 2575a92058 Correct regression test for bug 321874 2006-01-12 20:52:44 +00:00
bob%bclary.com c6e8b2d257 Regression test for bug 321874, by Yuh-Ruey Chen, Brendan Eich 2006-01-12 19:58:56 +00:00
bob%bclary.com 7a33b91acf Regression test for bug 321971, by Brendan Eich 2006-01-12 18:35:41 +00:00
bob%bclary.com 951f819ce0 Regression test for bug 322177, by Jesse Ruderman 2006-01-12 18:27:08 +00:00
bob%bclary.com d3959aaebc Regression test for bug 322499, by Brendan Eich 2006-01-12 17:00:53 +00:00
bob%bclary.com b635faf7c5 Regression test for bug 322772 2006-01-12 16:47:16 +00:00
bob%bclary.com dbe0af71ef Regression test for bug 322957, by Igor Bukanov 2006-01-12 16:35:25 +00:00
bob%bclary.com 39c96a52c6 Regression test for bug 320119, by Jason Barnabe 2006-01-12 10:21:09 +00:00
timeless%mozdev.org 8397d43a6a Bug 106386 Correct misspellings in source code
patch by philippuryear@gmail.com r=timeless rs=brendan
2006-01-12 07:57:31 +00:00
timeless%mozdev.org afb80273e3 Bug 106386 Correct misspellings in source code
patch by ispiked@gmail.com r=timeless r=rginda
2006-01-12 06:32:57 +00:00
timeless%mozdev.org db6058784b Bug 320951 ASSERTION: file too large: 'Error', mozJSComponentLoader.cpp line 1084
r=dbradley sr=darin
2006-01-11 08:26:44 +00:00
brendan%mozilla.org c13b1fee49 80th column policing. 2006-01-11 05:23:29 +00:00
brendan%mozilla.org 920c7d93ed Fix typo in enum tag. 2006-01-11 05:18:30 +00:00
mrbkap%gmail.com aef4030125 bug 322971: Fix this botched return value. r+sr=shaver 2006-01-10 21:43:17 +00:00
mrbkap%gmail.com dccb9e4d1e bug 322836: negative lookahead assertions don't always work correctly (when the first op is simple). r=brendan 2006-01-10 18:28:56 +00:00
brendan%mozilla.org 09649658de Remove deprecated with statement usage strict warning (322430, r=shaver). 2006-01-09 20:53:06 +00:00
igor%mir2.org 6d3273e94c Implementing bug 322001:
JSFunction is shrinked via removal of nref field
and moving interreter-only or native-only fields into union. r=brendan
2006-01-09 08:26:26 +00:00
brendan%mozilla.org a6da68bcef Allow set-call, grouped, and e4x LHS in for-in loop (321874, r=mrbkap). 2006-01-09 05:14:52 +00:00
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
bob%bclary.com 1bd7abaf4c Regression test for bug 313080 - catch exceptions to prevent exit code 3 2005-10-24 08:35:25 +00:00
bob%bclary.com 351bc32f57 Regression test for bug 311580 - remove expected exit code 3 as change no longer causes Out of memory errors 2005-10-24 08:34:02 +00:00
bob%bclary.com 3c3e18ef06 Temporarily exclude ecma_3/RegExp/regress-307456.js since it hangs the shell 2005-10-24 07:44:34 +00:00
brendan%mozilla.org 7c3560b7b5 Must convert obj to string in resolve and enumerate, Firefox depends on this (313565, r/a=me). 2005-10-24 07:18:16 +00:00
bob%bclary.com 512d3f118f Add js1_5/Error 2005-10-24 02:47:28 +00:00
brendan%mozilla.org 70d7915de1 Better local GC rooting (312278, r/sr=igor/shaver). 2005-10-24 02:45:45 +00:00
bob%bclary.com a69558cbd1 Regression test for bug 311414, test function should return number, not array 2005-10-24 02:43:36 +00:00
bob%bclary.com 8924fa76b5 Regression test for bug 311580, slight performance improvement 2005-10-24 02:42:26 +00:00
bob%bclary.com 9422e9a70c Make sure to use :js: to identify talkback urls, not bug not part of the build 2005-10-24 02:40:55 +00:00
bob%bclary.com f8b486ff3d Use jsDriver option -k instead of lynx to get text only failure report, no bug, not part of the build. 2005-10-24 02:39:28 +00:00
bob%bclary.com 79c7ba71dd Regression test for bug 312196 - Remove extraneous alert 2005-10-24 02:33:22 +00:00
bob%bclary.com 975b47fe92 Regression test for bug 226078, replace print by printStatus 2005-10-24 02:28:18 +00:00
bob%bclary.com 524eff9922 Regression test for bug 289669, by 'Bug Tracker' 2005-10-24 02:25:21 +00:00
bob%bclary.com ec09b78273 Correct calculation of averages in BigO() 2005-10-24 02:22:35 +00:00
bob%bclary.com 900ee65ed5 Regression test for bug 286216, by Philipp Vogt 2005-10-23 23:56:19 +00:00
bob%bclary.com c84ac3ed1d Regression test for bug 285219, by Brendan Eich 2005-10-23 23:45:59 +00:00
bob%bclary.com 4552014830 Regression test for bug 281487, by Philipp Vogt 2005-10-23 23:27:10 +00:00
bob%bclary.com eeda5eb795 Regression test for bug 302531, by Blake Kaplan 2005-10-23 21:52:43 +00:00
brendan%mozilla.org 6ec00688d6 Fix class-prototype rooting to be bullet-proof (313500, r=igor). 2005-10-23 21:42:07 +00:00
brendan%mozilla.org a000bfe5e8 Reorder to avoid a GC hazard (313479, r=igor). 2005-10-23 21:23:00 +00:00
bob%bclary.com 6eb57f63ec Regression test for bug 304376, by Blake Kaplan 2005-10-23 13:28:37 +00:00
bob%bclary.com 304f41302c Fix my errors in writing the testcases for bug 312692 2005-10-23 13:12:00 +00:00
bob%bclary.com e1e720c62e Regression test for bug 304897, by simon 2005-10-23 13:02:28 +00:00
bob%bclary.com 629b053932 Regression test for bug 305002, by Hans-Andreas Engel 2005-10-23 12:49:02 +00:00
bob%bclary.com caa6773171 Regression test for bug 305583, by shutdown 2005-10-23 12:40:52 +00:00
bob%bclary.com ed1852f363 reset javascript options before calling reportCompare, no bug, fix my goof. 2005-10-23 12:31:35 +00:00
bob%bclary.com 73d703ff67 Regression test for bug 306633, by Michael Daumling 2005-10-23 12:29:03 +00:00
bob%bclary.com 3a94a1273d Regression test for bug 306727, by Michael Daumling 2005-10-23 12:18:56 +00:00
bob%bclary.com 29b606c9a8 Regression test for bug 306738, by Liam Davis-Mead 2005-10-23 12:06:37 +00:00
bob%bclary.com 2c6f0fc981 Regression test for bug 307456, by Lupin.wp 2005-10-23 11:46:35 +00:00
bob%bclary.com 4e43375628 Regression test for bug 308566 2005-10-23 10:56:42 +00:00
bob%bclary.com 7efae41b33 Regression test for bug 310295, by Konstantin Mirny 2005-10-23 08:36:57 +00:00
bob%bclary.com 64d2b3908c Regression test for bug 310607, by Daniel Krieg 2005-10-23 08:09:22 +00:00
bob%bclary.com 4ee5baf495 Regression test for bug 311414, by timeless 2005-10-23 08:00:36 +00:00
bob%bclary.com feff0570a6 Regression test for bug 311583, by Igor Bukanov 2005-10-23 07:31:07 +00:00
bob%bclary.com 2436624f45 Regression test for bug 311583, by Igor Bukanov 2005-10-23 07:05:43 +00:00
bob%bclary.com 715b03602f Regression test for bug 312138, by Igor Bukanov 2005-10-23 06:56:32 +00:00
bob%bclary.com f32d2d8856 Regression test for bug 312354, by Seno Aiko 2005-10-23 06:44:53 +00:00
bob%bclary.com dd87704700 Regression test for bug 312692, by Seno Aiko 2005-10-23 06:26:15 +00:00
brendan%mozilla.org a41d3b7584 Oops. 2005-10-23 06:22:46 +00:00
brendan%mozilla.org a69f966840 Remove unused variable. 2005-10-23 05:18:29 +00:00
brendan%mozilla.org de6fbbd1cf Better local GC rooting (312278, r/sr=igor/shaver). 2005-10-23 04:59:50 +00:00
bryner%brianryner.com 8223f72812 Fix gcc 2.95 bustage as reported in bug 279839 by sergei_d@fi.tartu.ee. 2005-10-22 22:55:44 +00:00
mrbkap%gmail.com 71214f2f8d bug 313236: Consolidate some code. r=brendan 2005-10-22 01:03:06 +00:00
brendan%mozilla.org b2c5e73ff1 Check for cycles and throw an error (fix to ECMA-357 for Edition 2; 312692, r/sr=mrbkap/shaver). 2005-10-21 23:50:50 +00:00
bob%bclary.com b0711d7130 Regression test for bug 312196, test by Sean McMurray 2005-10-21 09:10:40 +00:00
bob%bclary.com cced1f80ef Regression test for bug 312260, test by Gavin Sharp 2005-10-21 08:36:48 +00:00
bob%bclary.com f9b47cd8dc Regression test for bug 313080, test by nanto_vi (TOYAMA Nao) 2005-10-21 08:15:36 +00:00
bob%bclary.com 114cddd996 Regression test for bug 313153, test by Brendan Eich 2005-10-21 08:04:05 +00:00
brendan%mozilla.org 96d5582cde Parenthesize to avoid warning. 2005-10-21 05:00:28 +00:00
mrbkap%gmail.com 68301eb842 bug 312278: Protect some objects from getting GC'd before we could root them. r=brendan 2005-10-21 00:26:56 +00:00
brendan%mozilla.org 8de05eef88 Must use js_CheckAccess if you use js_SetProtoOrParent (313080, r/sr=mrbkap/shaver). 2005-10-21 00:05:47 +00:00
brendan%mozilla.org 3a58bafb31 Followup fix to suppress function:: in decompiler output unless it was explicitly used in JS source (312196, r/sr=mrbkap/shaver). 2005-10-20 19:43:06 +00:00
brendan%mozilla.org 10de8e659f Fix generic native methods to work with extra args (313153, r/sr=mrbkap/shaver). 2005-10-20 19:30:44 +00:00
brendan%mozilla.org 3286eae123 Use local roots effectively (312278, r=igor). 2005-10-20 18:58:24 +00:00
bryner%brianryner.com e628680727 attempt to fix btek bustage. r=darin. 2005-10-20 17:51:15 +00:00
bryner%brianryner.com b4a806dc9d Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan. 2005-10-20 16:39:24 +00:00
mrbkap%gmail.com ebba4a190b bug 312278: Make sure to root things if they can be collected before their use. r=brendan 2005-10-19 23:32:37 +00:00
darin%meer.net 6763ec6040 fixes bug 312946 "javascript:Packages.prototype crashes browser if Java plugin is not found" r=brendan 2005-10-19 18:55:44 +00:00
mrbkap%gmail.com 42e86bc919 Fix a silly spelling mistake. 2005-10-18 17:17:12 +00:00