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

10394 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com ba9631903a Make enumeration over SJOWs walk the prototype chain. Also make SJOWs unwrap same-origin XOWs. bug 410090, r+sr=jst 2007-12-29 23:40:50 +00:00
mrbkap%gmail.com a035c8f964 Allow chrome to use SJOWs. bug 409889, r+sr=jst 2007-12-29 23:38:36 +00:00
szegedia%freemail.hu 86b92f5f85 Committing Hannes Wallnoefer's patch for 403604 2007-12-28 05:57:59 +00:00
sayrer%gmail.com 4ec52c9743 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 21:34:07 +00:00
bclary%bclary.com 78817d184a JavaScript Tests - regression tests for bug 407727, by Igor Bukanov, not part of the build 2007-12-27 20:23:00 +00:00
bclary%bclary.com e652e5249f JavaScript Tests - record additional fixes from bug 390949 in known failure list, not part of the build 2007-12-27 15:03:09 +00:00
jruderman%hmc.edu f63eb3c160 Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red 2007-12-26 19:19:18 +00:00
bclary%bclary.com 6b84963537 JavaScript Tests - record fixes from bug 390949 in known failure list, not part of the build 2007-12-26 14:36:33 +00:00
igor%mir2.org dab544911b Bug 409109: using operation counting API instead of the branch callback. r,sr=jst 2007-12-25 10:46:50 +00:00
igor%mir2.org 8cf908e009 Bug 364776: new operation callback API to replace branch callback. a,r=brendan 2007-12-25 10:12:26 +00:00
mrbkap%gmail.com 5002cf8e9e Do not propagate our toString function onto the wrapped objects. bug 390949, r+sr=jst 2007-12-24 20:17:16 +00:00
mrbkap%gmail.com fdb16df57d Add mochitests for bug 409298 and bug 403005 r=bzbarsky 2007-12-24 19:28:21 +00:00
jruderman%hmc.edu 69e6c496e8 Add crashtest 2007-12-24 01:25:00 +00:00
jruderman%hmc.edu 5d5bf843a6 Add crashtest 2007-12-24 00:45:48 +00:00
timeless%mozdev.org 06d80e3e4f Bug 336991 Useless null check of jsdscript in _destroyJSDScript
r=gijs sr=bz a=dsicore
2007-12-23 23:47:36 +00:00
jwalden%mit.edu ac40cc2dfd Kick the stupid Windows tinderbox. 2007-12-22 16:36:21 +00:00
bclary%bclary.com b532cec204 JavaScript Test - add additional tests for Function constructor, bug 408271, not part of the build 2007-12-22 01:58:43 +00:00
sayrer%gmail.com b1569df91f Bug 409324. js_DoubleToECMA(u)Int32 should return jsdouble, not a useless always-true JSBool. r/a=brendan 2007-12-21 22:06:37 +00:00
igor%mir2.org ee1c868754 Bug 408271: check for missing return when parsing a function body in one place. r,a=brendan 2007-12-21 19:11:46 +00:00
mrbkap%gmail.com 66efd4f5d1 Don't resolve things on SJOW's prototype and make toString on it work again. bug 409298, r+sr=jst a=beltzner 2007-12-21 19:05:05 +00:00
mrbkap%gmail.com 661614290b Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles; this was supposed to land before. bug 397855, r=brendan sr=dveditz 2007-12-21 09:11:02 +00:00
nboyd%atg.com 01fef66d9d Print script stack traces for uncaught exceptions. 2007-12-21 02:56:33 +00:00
sayrer%gmail.com 1f3b1ad87d Bug 409302. js_DoubleToECMA(u)Int32 has an unused cx param. r/a=brendan 2007-12-21 01:43:50 +00:00
bclary%bclary.com a1316a8470 JavaScript Tests - update list of known failures, no bug, not part of the build 2007-12-21 00:07:00 +00:00
bclary%bclary.com 15de574395 JavaScript Tests - update tests to reflect changed behavior due to bug 409252 2007-12-21 00:02:15 +00:00
mrbkap%gmail.com 48b8e3a80d Fix this test to deal with the new error that's being thrown. 2007-12-20 23:46:08 +00:00
brendan%mozilla.org 1be3ff4475 Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap). 2007-12-20 23:29:32 +00:00
mrbkap%gmail.com baabcdd0ee Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles. bug 397855, r=brendan sr=dveditz 2007-12-20 22:59:44 +00:00
mrbkap%gmail.com c0266545b9 Use two flags for filenames: "system" and "want native wrappers". bug 408859, r=jst sr+a=brendan 2007-12-20 03:11:03 +00:00
igor%mir2.org 79d0d34df6 Bug 398219: avoid storing references to the global scope in the compiled scripts. r,a=brendan 2007-12-19 13:20:45 +00:00
mrbkap%gmail.com c36137df93 Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB) 2007-12-19 01:15:41 +00:00
crowder%fiverocks.com 25a7640b31 Bug 407600 - Compile Spidermonkey with -Os on Mac, r=bsmedberg, no approval needed, NPOTB 2007-12-19 01:05:48 +00:00
mrbkap%gmail.com 9310ed90cb missing last character when using readline() on files. bug 407844, r=crowder a=brendan 2007-12-19 00:44:21 +00:00
mrbkap%gmail.com 8679ac2027 Sync XPCSafeJSObjectWrapper with similar fixes that we took for XPCNativeWrapper. bug 399299, r+sr=jst 2007-12-18 23:33:14 +00:00
mrbkap%gmail.com 951caf0fe5 Make |foo instanceof XOW| work as expected. bug 396849, r+sr=jst 2007-12-18 21:06:44 +00:00
mrbkap%gmail.com b474272e73 Work around weird behavior from JS_NewObject when we pass it a parent. bug 407289, r=jst sr=brendan 2007-12-18 19:40:46 +00:00
jst%mozilla.org 1ad055a48e Fixing orange. 2007-12-18 01:57:19 +00:00
jst%mozilla.org 7991cb3d9c Fixing bustage. 2007-12-18 00:49:21 +00:00
jst%mozilla.org 9109315490 Fixing bug 408139. Make XPConnect string argument handling code use stack space for string wrappers rather than to heap allocate them for each string argument. r+sr=bzbarsky@mit.edu 2007-12-18 00:39:28 +00:00
bclary%bclary.com 393d855038 JavaScript Tests - handle 'race' in some Date tests, not part of the build 2007-12-17 11:59:28 +00:00
bclary%bclary.com 7ab528f5fd JavaScript Tests - relax randomness check for bug 211590 to prevent spurious failures 2007-12-16 16:01:48 +00:00
brendan%mozilla.org 440250ff29 Remove DUMP_CALL_TABLE (preliminary patch for 365851, r=igor). 2007-12-14 21:36:03 +00:00
crowder%fiverocks.com 60d4c27edd Bug 408368 - Suboptimal code in array_sort implementation, code by Igor Bukanov, r=crowder 2007-12-14 17:30:20 +00:00
bclary%bclary.com 90efc41ccd JavaScript Tests - regression test for bug 367589 must call jsTestDriverEnd() after reportCompare(), not part of the build 2007-12-14 16:37:02 +00:00
bclary%bclary.com 9b86e0d67f JavaScript Tests - regression test for bug 369404 must call jsTestDriverEnd() after reportCompare(), not part of the build 2007-12-14 16:35:17 +00:00
reed%reedloden.com f94441974b Bug 408065 - "JSAPI should assert if embedding omits JS_ClearContextThread" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2007-12-14 07:43:54 +00:00
sayrer%gmail.com 9ecb5d2ad2 Bug 407794. Nightlies should not override module-specific build settings. r=ted.mielczarek. 2007-12-14 03:27:45 +00:00
jst%mozilla.org ac1941c5a7 Fixing bug 408143. Make the JSObject for XPConnect wrappers that have classinfo share maps with their prototypes. r+sr+a=brendan@mozilla.org 2007-12-14 01:39:28 +00:00
bclary%bclary.com 25b562b63b JavaScript Tests - update known failures, no bug, not part of the build 2007-12-13 23:19:09 +00:00
bclary%bclary.com 3b5c24b5ea JavaScript Tests - regression tests for bug 407957, not part of the build 2007-12-13 23:17:42 +00:00
bclary%bclary.com 40b92cc00a JavaScript Tests - regression tests for bug 407501, by Igor Bukanov, not part of the build 2007-12-13 23:15:05 +00:00
bclary%bclary.com 7c50652963 JavaScript Tests - regression tests for bug 407323, not part of the build 2007-12-13 23:13:31 +00:00
bclary%bclary.com e89a23d16c JavaScript Tests - regression test for bug 406477, by Igor Bukanov, not part of the build 2007-12-13 23:11:38 +00:00
bclary%bclary.com 671d576bc4 JavaScript Tests - regression test for bug 406769, by Gavin Sharp, not part of the build 2007-12-13 23:10:07 +00:00
brendan%mozilla.org 25db1536e1 Fix warning introduced by patch for bug 408009, r=jst. 2007-12-13 20:59:44 +00:00
crowder%fiverocks.com 4b5676323d Bug 403977 - Huge Speed Drop in Array.prototype.sort, patch by Igor Bukanov <igor@mir2.org>, r=crowder, approval1.9 by beltzner 2007-12-13 19:55:21 +00:00
brendan%mozilla.org 898a54b151 Back out last rev due to orange tboxen. 2007-12-13 06:40:27 +00:00
jst%mozilla.org 12c21c746e Fixing bug 408143. Make JSObjects share their prototypes scope (map) even if their ops differ, as long as their newObjectMap hooks are the same. r+a=brendan@mozilla.org 2007-12-13 05:42:04 +00:00
pavlov%pavlov.net 59cffdfe0b bug 408124. increase size of regexp arena to avoid unnecessary additional allocations. r=crowder 2007-12-13 00:12:30 +00:00
jst%mozilla.org d05eccb938 Fixing bug 408009. Make doGetObjectPrincipal() faster. r+sr=bzbarsky@mit.edu, r+a=brendan@mozilla.org 2007-12-12 23:02:26 +00:00
bclary%bclary.com 66604660df JavaScript Tests - remove DST start/end ambiguity, r=igor, bug 408080, not part of the build 2007-12-12 21:17:12 +00:00
igor%mir2.org 98a7447843 Bug 398219: backing out the check in due to regression failures. 2007-12-12 20:08:24 +00:00
igor%mir2.org 5aedc825c9 Bug 398219: avoid storing references to the global scope in the compiled scripts. r,a=brendan 2007-12-12 18:47:56 +00:00
bclary%bclary.com f5d6861f13 JavaScript Tests - remove fixes from known failures due to bug 396584 2007-12-12 18:09:32 +00:00
brendan%mozilla.org 476082062e Reflecting arguments in Call must happen irrespective of JSRESOLVE_ASSIGNING (396584, r=igor). 2007-12-11 21:40:51 +00:00
brendan%mozilla.org c1c543db4e Don't give Iterator a fixed global binding (407957, r=jwalden). 2007-12-11 21:37:04 +00:00
crowder%fiverocks.com 9272a03474 Bug 403977 -- Backed out due to mochitest failures -- crowder 2007-12-11 21:07:47 +00:00
crowder%fiverocks.com b8884b0e7e Bug 403977 - Huge Speed Drop in Array.prototype.sort, patch by Igor Bukanoc <igor@mir2.org, r=crowder 2007-12-11 20:17:41 +00:00
crowder%fiverocks.com cf3e6e344e Bug 375876 - "Assertion failure: (c2 <= cs->length) && (c1 <= c2)" with /[\[-h]/i, r=mrbkap, a=blocking1.9 2007-12-11 20:13:42 +00:00
igor%mir2.org cea85473ff Bug 406477: eval with function statements adds the function to the proper var object. r,a=brendan 2007-12-11 10:43:56 +00:00
reed%reedloden.com 7761fd19d0 Bug 407000 - "Tearing down rt->unitStrings too early leads to incorrect free later" [p=jorendorff@mozilla.com (Jason Orendorff) r=igor a1.9=brendan a=blocking1.9+] 2007-12-11 10:40:29 +00:00
igor%mir2.org 70af3ad7d9 Bug 407720: optimizing the constructor lookup, r,a=brendan 2007-12-11 10:09:59 +00:00
igor%mir2.org 1c19587b2c Bug 397215: Runtime option to switch to UTF-8 encoding in byte <-> jschar conversiions. Patch from Sam Ruby with some changes by me. r,a=brendan 2007-12-11 10:09:58 +00:00
pavlov%pavlov.net 80ea2912f9 bug 407824. XPCJSContextStack::Push doesn't need to allocate as much as it does. use an nsAutoTArray<> instead. r/sr=jst 2007-12-11 08:40:57 +00:00
pavlov%pavlov.net 36d7c1065d bug 407428. stack allocate small strings in js_XDRStringAtom instead of instead of using the tempPool arena to allocate them. r=brendan,igor 2007-12-11 08:36:29 +00:00
reed%reedloden.com 8400923b32 Bug 407815 - Speed up GetSecurityManager() in our XOW code [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=sicking a=blocking1.9+] 2007-12-11 08:27:41 +00:00
reed%reedloden.com 8d4c2f89b0 Bug 407819 - Speed up GetScopeOfObject() [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=sicking a=blocking1.9+] 2007-12-11 08:24:17 +00:00
sayrer%gmail.com 83c5b070e8 backout bug 407815 due to test failures 2007-12-11 05:11:30 +00:00
reed%reedloden.com dc4a8023c5 Back out jst's patch from bug 407819 to see if it fixes qm-centos5-01's mochitest failures. 2007-12-11 03:48:02 +00:00
jst%mozilla.org a8afd79f9b Fixing bug 407819. Speed up GetScopeOfObject(). r+sr=jonas@sicking.cc 2007-12-11 02:00:40 +00:00
jst%mozilla.org 76fc70460c Fixing bug 407819. Speed up GetScopeOfObject(). r+sr=jonas@sicking.cc 2007-12-11 01:42:19 +00:00
jst%mozilla.org bea18d40af Fixing bug 407815. Speed up GetSecurityManager() in our XOW code. r+sr=jonas@sicking.cc 2007-12-11 01:21:37 +00:00
bclary%bclary.com 4542ad6927 JavaScript Test - update regression test for bug 342359 due to changes in bug 376957, not part of the build 2007-12-10 21:51:53 +00:00
nboyd%atg.com cca8d63f47 Fix bug 407374 - Destructuring assignment isn't threadsafe
Patch from Christophe Grand.
2007-12-10 18:00:53 +00:00
bclary%bclary.com 43ffb0e84c Sisyphus - cause test run to fail immediately if Spider fails to install properly, bug 407430, not part of the build 2007-12-10 17:19:18 +00:00
gavin%gavinsharp.com a388eb5955 Bug 376957 followup fix: make Error readonly/permanent, patch by Brendan Eich <brendan@mozilla.org>, r=jwalden, a=schrep for M10 landing 2007-12-10 16:15:01 +00:00
bclary%bclary.com 5be13a2d1b JavaScript Tests - regression tests for bug 368516, 371636, by Brendan Eich, Igor Bukanov, not part of the build 2007-12-10 15:28:00 +00:00
gavin%gavinsharp.com c3cff5f136 Bug 406769: simple code now causes a slow script warning dialog to appear when it didn't before (fix bad regression in the global variable optimizer), patch by Igor Bukanov <igor@mir2.org>, r=brendan, a=schrep for M10 landing 2007-12-09 22:37:27 +00:00
reed%reedloden.com 5a7c4810b2 Bug 407501 - "JSOP_NEWINIT lacks SAVE_SP_AND_PC" [p=igor@mir2.org (Igor Bukanov) r+a1.9=brendan aM10=damons] 2007-12-09 07:14:06 +00:00
brendan%mozilla.org e5a3d46875 JSCLASS_FIXED_BINDING only on Namespace, for better backward and forward compat (407323, r=jwalden). 2007-12-09 06:14:26 +00:00
bclary%bclary.com 3a14e105e2 JavaScript Tests - regression test for bug 353116, by Jesse Ruderman, Rich Dougherty, not part of the build 2007-12-09 00:28:59 +00:00
bclary%bclary.com 0cf615101a JavaScript Tests - test regression from bug 398609, by Igor Bukanov, not part of the build 2007-12-08 20:12:09 +00:00
bclary%bclary.com 7302da65af JavaScript Tests - regression test for bug 404755, by Franck, Igor Bukanov, not part of the build 2007-12-08 19:41:50 +00:00
bclary%bclary.com d05af143e8 JavaScript Tests - regression test for bug 407024, by Igor Bukanov, not part of the build 2007-12-08 19:29:22 +00:00
crowder%fiverocks.com 5d8367d874 Bug 407024 - Fatal JS_Assert "JSVAL_IS_NUMBER(pn3->pn_val) || JSVAL_IS_STRING(pn3->pn_val) || JSVAL_IS_BOOLEAN(pn3->pn_val)", patch by Igor Bukanov <igor@mir2.org>, r=brendan, approvalM10=schrep 2007-12-07 21:36:58 +00:00
bclary%bclary.com 9f9ca1cc84 Sisyphus - JavaScript Tests - update kernel identification and known failures, bug 407347, not part of the build 2007-12-07 15:25:22 +00:00
bclary%bclary.com fe4fd89f5b JavaScript Test - add missing test for bug 396969, by Brendan Eich, not part of the build 2007-12-07 08:55:03 +00:00
igor%mir2.org 527f9289a4 Bug 406079: dtrace can compile again. Patch from Alfred Peng, r=myself, a1.9,aM10=beltzner. 2007-12-06 20:17:43 +00:00
bclary%bclary.com 7074b03a17 JavaScript Tests - update regression test for bug 274152 due to bug 368516, not part of the build 2007-12-06 19:23:03 +00:00
igor%mir2.org 94904b36d0 Bug 406765: quelling GCC unitialized overwarning. r,a=brendan aM10=dsicore 2007-12-06 08:52:03 +00:00
crowder%fiverocks.com d28040e1c2 Bug 368516: UTF-8 encoded scripts that contain a BOM result in an "illegal character" error, r=mrbkap, r=brendan, a=schrep 2007-12-06 05:09:38 +00:00
mrbkap%gmail.com b8a20add37 Backing this out to fix mochitest failures. 2007-12-05 00:52:02 +00:00
mrbkap%gmail.com 61881e0b17 Preserve more important attributes. bug 393269, r+sr=jst a=beltzner 2007-12-05 00:17:06 +00:00
mrbkap%gmail.com f466306d6a Complete the checkin for bug 399298. r+sr=jst 2007-12-05 00:13:49 +00:00
nboyd%atg.com 32bd5b8b3c Skip new tests that fail. 2007-12-04 20:43:26 +00:00
mrbkap%gmail.com 1d2b73a2f7 Set XOWs' prototypes to null to avoid confusion. bug 405726, r+sr=jst a=beltzner 2007-12-04 19:07:08 +00:00
igor%mir2.org 925aab620c Bug 406736: fixing the test to report the success with read-only Array. r=Bob Clary, not part of the build 2007-12-04 18:16:43 +00:00
igor%mir2.org b3ca82103f Bug 406555: The decompiler output no longer depend on JS_C_STRINGS_ARE_UTF8 for uniformity. a,r=brendan 2007-12-04 09:30:23 +00:00
igor%mir2.org a5ebbd40db Bug 405962: extra patch to move the switch case for CALL_PROP to a beter place in the source. r,a=brendan 2007-12-04 09:26:23 +00:00
igor%mir2.org 83104dc229 Bug 405962: making sure that we can compile with !JS_HAS_XML_SUPPORT. a,r=brendan 2007-12-04 09:08:13 +00:00
bclary%bclary.com c1fb3a96a6 JavaScript Tests - update known failure list, bug 406726, not part of the build 2007-12-04 08:30:49 +00:00
jwalden%mit.edu 4d7b409642 Kick the stupid Windows test box. 2007-12-04 03:40:06 +00:00
jwalden%mit.edu eea5bcade3 Bug 376957 - Prevent data leaks from cross-site JSON loads (JavaScript literals), by making the global name bindings ReadOnly/DontDelete and making [] and {} use the global bindings. Still more that can be done here, but this covers a lot of the fix. r+a=brendan 2007-12-04 03:05:24 +00:00
reed%reedloden.com 347d9b8563 Bug 406608 - "Cast needed in jsfun.c (C++ compatibility)" [p=jorendorff@mozilla.com (Jason Orendorff) r=igor a1.9=damons] 2007-12-03 22:21:17 +00:00
nboyd%atg.com a7405dcd99 Refactor to pull code out of interpretLoop. This fixes a big performance
problem where interpretLoop was no longer being JITted, resulting in
substantially lower performance for interpreted mode.
2007-12-03 13:50:48 +00:00
jag%tty.nl 9e1d6a5fa9 Bug 382034: support optional arguments in idl; follow-up patch to address reading absent optional arguments from argv. r=enndeakin, sr=jst, a=mtschrep 2007-12-03 04:20:13 +00:00
szegedia%freemail.hu 7cf0564bb3 Bug 405654: make sure call() and apply() execute correctly when invoked as a tail call 2007-12-01 09:27:01 +00:00
reed%reedloden.com 8237044b60 Bug 398579 - "Allow using chrome:// URLs in Components.utils.import()" [p=ajvincent@gmail.com (Alex Vincent) r=sayrer sr=bsmedberg a1.9=damons] 2007-12-01 06:45:04 +00:00
reed%reedloden.com d2a330da14 Back out WeirdAl's patch from bug 398579 to see if it caused the perf regression on Linux. 2007-12-01 01:23:11 +00:00
reed%reedloden.com e59c50b336 Bug 398579 - "Allow using chrome:// URLs in Components.utils.import()" [p=ajvincent@gmail.com (Alex Vincent) r=sayrer sr=bsmedberg a1.9=damons] 2007-11-30 20:03:38 +00:00
bclary%bclary.com ce655a94be Sisyphus - JavaScript Tests - additional kernel pattern for CentOS5 VM 2007-11-29 17:12:26 +00:00
igor%mir2.org 986697da4d Bug 404935: No compiler pseudo-frames when compiling functions. r,a=brendan 2007-11-29 14:49:43 +00:00
szegedia%freemail.hu 060cb99f1a Bug 404817: reinstantiate ContextFactory.exit() 2007-11-29 12:32:15 +00:00
reed%reedloden.com a017f150d8 Bug 371636 - "IE Array sort on numbers using default string comparator is 5x faster" [p=igor@mir2.org (Igor Bukanov) r+a1.9=brendan a=blocking1.9+] 2007-11-29 07:09:21 +00:00
reed%reedloden.com 11eb63afef Bug 404755 - fixing memory leak resulted from bug 363603 [p=igor@mir2.org (Igor Bukanov) r+a1.9=brendan] 2007-11-29 06:00:10 +00:00
reed%reedloden.com 6b2eb55653 Back out Igor's patch from bug 404755 to see if it fixes the orange. 2007-11-29 04:12:08 +00:00
crowder%fiverocks.com b7d2fc7c70 Bug 405882 - js.c has an unmatched fopen() resource leak, r=igor (not part of the build) 2007-11-29 01:00:33 +00:00
igor%mir2.org dfba2a1f67 Bug 404755: fixing memory leak resulted from bug 363603. a,r=brendan 2007-11-28 22:22:40 +00:00
bclary%bclary.com f58d63ef81 Sisyphus/JavaScript Tests - cleanup log summary and TinderboxPrint output for Buildbot/Tinderbox, bug 397923, not part of the build, r=rcampbell 2007-11-28 18:17:28 +00:00
szegedia%freemail.hu 6e095edc1f Fix for Bug 405654 � Execution exits interpreter on Function.apply and Function.call 2007-11-28 10:15:06 +00:00
mrbkap%gmail.com 71009ed114 Make XOW's toString consistent over all cases. bug 398109, r=jst sr=bzbarsky a=beltzner 2007-11-28 01:09:31 +00:00
mrbkap%gmail.com e0f37b4a66 Don't use a prototype to do any work, just do it ourselves. bug 399298, r=jst sr=brendan a=blocking-1.9 2007-11-28 01:03:41 +00:00
mrbkap%gmail.com b71c1118a1 Actually throw if the thrown thing was not an nsresult. bug 401735, r+sr+a=jst 2007-11-28 00:49:08 +00:00
jst%mozilla.org 7b2b86a10d Landing fix for bug 393267. Fixing problem with setting __proto__ on objects with XOW's on its prototype chain. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2007-11-27 23:45:20 +00:00
bclary%bclary.com 30d2f92446 Sisyphus/JavaScript Tests - add option -S to runtests.sh to provide simpler output for Buildbot/Tinderbox, bug 397923, r=rcampbell 2007-11-27 22:53:24 +00:00
bclary%bclary.com 6d480ac634 JavaScript Tests - update test for bug 394941 to use regexps to match 1.8 and 1.9.0 behaviors, not part of the build 2007-11-27 17:42:04 +00:00
nboyd%atg.com ff13b344f5 Fix javadoc typo. 2007-11-27 12:45:49 +00:00
igor%mir2.org 0f42ccf08d Bug 399544: using custom storage for function argument and variable names. r,a=brendan 2007-11-27 08:38:47 +00:00
szegedia%freemail.hu ca99d19b0c A bit of a cleanup since we're now compiling primarily for Java 5: clone() returns objects of called type, so no casting is necessary anymore 2007-11-27 06:57:01 +00:00
szegedia%freemail.hu 52a363ec10 Fix for Bug 404817 � ContextFactory.enter results in new contexts that don't have their factory slot set 2007-11-27 06:55:36 +00:00
nboyd%atg.com 24d5451b0a Fix bug 402331: In a compiled iterator "this" points to an instance of
RuntimeGeneratorState.
Had to save and restore the JavaScript "this" object across generator
resumptions.
2007-11-26 19:58:05 +00:00
nboyd%atg.com b15fda9ef5 Clean up javadoc. 2007-11-26 18:08:41 +00:00
jwalden%mit.edu 24a7386f86 Bug 405372 - jsshell tracing() appears to work in JS_THREADED_INTERP builds but doesn't. r+a=brendan 2007-11-26 18:06:53 +00:00
igor%mir2.org 81f50389dc Bug 404803: patch from Jason Orendorff to restore C++ compatibility. r=myself a=brendan 2007-11-26 17:41:45 +00:00
igor%mir2.org 09c2b6df4e Bug 347927: consistently using JS_ARRAY_LENGTH macro. r,a=brendan 2007-11-26 15:18:43 +00:00
bclary%bclary.com b22c85c04c JavaScript Tests - update known failures due to bug 394941, not part of the build 2007-11-26 08:48:48 +00:00
bclary%bclary.com 19621d82b0 JavaScript Tests - regression test for bug 394941 by Jesse Ruderman, update regression tests due to bug 394941, not part of the build 2007-11-26 08:42:54 +00:00
nboyd%atg.com 579550a2ed Fix Bug 404484 - destructuring assignment does not work for constants 2007-11-24 15:08:22 +00:00
nboyd%atg.com 48a1a30037 Fix problem reported on newsgroup by Christophe Grand:
I noticed that the java array backing the "arguments" variable is reused
    in Array iterative methods. For example:

    var f = function() { return arguments };
    var a = [1, 2].map(f);
    a[0][0] === a[1][0]

  returns true. (Spidermonkey returns false.)

  There's an easy fix: in NativeArray.iterativeMethod move
  Object[] innerArgs = new Object[3];
  inside the for loop.

  (I ran into this issue while calling asynchronous functions e.g.
  msgs.forEach(process))... which ended processing n times the same data!)

Also made some minor changes as long as I was in the file.
2007-11-24 02:07:44 +00:00
igor%mir2.org ab29d768dd Bug 394941: report exhausting of the script memory quota as ordinary runtime exceptions. r=brendan, a1.9=beltzner 2007-11-22 22:21:19 +00:00
igor%mir2.org 505d606800 Bug 404499: fixing the regression in the decompiler from landing of bug 398609. r,a=brendan 2007-11-22 08:06:00 +00:00
szegedia%freemail.hu d22fedc5b7 Add retrotranslator 2007-11-21 16:43:09 +00:00
reed%reedloden.com 638e8a40a4 Bug 403878 - Replacing js_InternalCall with js_Invoke in Array.sort for arrays with scripted compator functions (save alloc/free on each compare) [p=crowder@fiverocks.com (Brian Crowder) r=igor a=blocking1.9+] 2007-11-21 05:51:46 +00:00
crowder%fiverocks.com d5c723e527 Bug 403878 - Backing out, potentially caused orange on test tinderbox 2007-11-20 20:52:14 +00:00
crowder%fiverocks.com 1fcdf09448 Bug 399199: jsfile.c fails to compile, patch by Jeff Watkins <jeff.watkins.spam@gmail.com>
r=crowder, a=not part of the build
2007-11-20 18:23:49 +00:00
crowder%fiverocks.com c2fcb93c3f Bug 403878 - Replacing js_InternalCall with js_Invoke in Array.sort for arrays with scripted compator functions -- save alloc/free on each compare
r=ibukanov, a=blocking1.9+
2007-11-20 18:07:13 +00:00
bclary%bclary.com a8cb2c395c JavaScript Tests - jsDriver.pl -k|-K fail to report test failures, bug 404539, r=igor, not part of the build 2007-11-20 16:28:29 +00:00
nboyd%atg.com c48334d311 Extension: The E4X XML constructor can now create XML directly from a Java
DOM node. Previously the implementation would have converted to a String
and attempted to reparse.
2007-11-20 16:08:53 +00:00
bclary%bclary.com 1faf2d5b46 JavaScript Tests - update public-failures.txt, spidermonkey-extensions-n.tests, bug 404367 2007-11-19 18:52:59 +00:00
bclary%bclary.com 7e44673b51 Sisyphus - JavaScript Tests auto create known failure patterns, bug 404357 2007-11-19 17:30:44 +00:00
bclary%bclary.com 3a5aa9814f JavaScript Tests - update tests to reflect changing error messages, bug 404355 2007-11-19 17:23:06 +00:00
igor%mir2.org 4d68804824 Bug 398609: simpler handling of hidden properties, r,a=brendan 2007-11-19 17:15:45 +00:00
bclary%bclary.com 4f049b233f JavaScript Tests - handle race in some Date tests, bug 404351 2007-11-19 17:12:58 +00:00
peterv%propagandism.org c958de2756 Sync declaration of js_TraceFunction with definition. 2007-11-19 11:38:08 +00:00
igor%mir2.org cc66f5a25a Bug 403678: GC thing callback is removed. r,a=brendan 2007-11-19 10:57:04 +00:00
igor%mir2.org 44fe0fe94d Bug 398609: backing out due to test failures. 2007-11-19 00:58:46 +00:00
igor%mir2.org 24e70320c9 Bug 398609: cleanup of hidden properties support. r,a=brendan 2007-11-19 00:36:50 +00:00
peterv%propagandism.org 2752fca53f Fix for bug 375808 (Replacing GCX_PRIVATE by GCX_FUNCTION). r=igor, sr=jst, a=schrep. 2007-11-18 14:10:29 +00:00
szegedia%freemail.hu aade1d72a7 Fix for Bug 403604 � Continuation support missing in Rhino 1.7 (cvs HEAD) 2007-11-17 16:03:28 +00:00
reed%reedloden.com e3b23b311a Bug 395836 - "(new Date).toLocaleFormat("%D") crashes Minefield" [p=mats.palmgren@bredband.net (Mats Palmgren) r=crowder a=blocking1.9+] 2007-11-17 08:25:23 +00:00
reed%reedloden.com 60d129aa4d Bug 400393 - "mozilla-central: jsatom.cpp has bad casts in 64-bit OS" [p=benjamin@smedbergs.us (Benjamin Smedberg) r=igor a1.9=schrep] 2007-11-17 04:20:37 +00:00
reed%reedloden.com 4ae0315e58 Bug 402653 - "xpcshell core dump when shutdown" [p=solar@netease.com (Solar) r=igor a=blocking1.9+] 2007-11-15 09:01:17 +00:00
reed%reedloden.com 34fb4177de relanding bug 400687 since it doesn't look to be the source of the Ts regression 2007-11-15 04:16:36 +00:00
nboyd%atg.com b976a9b81c The JVM currently doesn't allow changing access on java.lang.Class
constructors, so don't try
2007-11-15 00:58:23 +00:00
nboyd%atg.com fabf3990be Fix bug: running
var x = [];
x[1] = 'foo';
x.map(function(e){return e?'yes':'no'}).join(',');
should result in ",foo".
2007-11-15 00:43:50 +00:00
gavin%gavinsharp.com becade2060 Back out the patch for bug 400687 to see whether it caused the Ts regression, a=sicking 2007-11-15 00:17:28 +00:00
bclary%bclary.com fb3cdf5265 JavaScript Tests - regression tests for bug 402386, semicolon insertion, not part of the build 2007-11-14 04:19:19 +00:00
brendan%mozilla.org 3f37139428 Propagate end position in all cases parsing a parenthesized expression (402386, r=mrbkap/a=schrep). 2007-11-14 02:07:28 +00:00
igor%mir2.org 831a5e44f6 Bug 396487: objects can be marked as system only during creation. r,a=brendan 2007-11-14 00:50:17 +00:00
igor%mir2.org 5b987caca8 bug 397289: removing JSParseNode.pn_ts. r,a=brendan 2007-11-13 22:18:17 +00:00
nboyd%atg.com 8835f1b6af Fix bug 368323: Global class's runCommand suffers from Bad file descriptor
IOExceptions on extra close() calls
2007-11-13 21:43:35 +00:00
igor%mir2.org 55dff80369 Bug 400687: removal of dependency of xpconnect on internal JS GC thing types. r,a=brendan 2007-11-13 21:23:07 +00:00
nboyd%atg.com 4f3364992a Optimization for '+' with one string literal operand. Worth about 30%
performance improvement.
2007-11-13 21:11:08 +00:00
bclary%bclary.com e7b49b710a JavaScript Tests - regression test for bug 398485, not part of the build 2007-11-13 18:53:16 +00:00
igor%mir2.org 93bf12f37b Bug 398609: Backing out due to mochi test failure. 2007-11-13 15:47:28 +00:00
igor%mir2.org a4a10de257 Bug 398609: cleanup of hidden properties. r,a=brendan 2007-11-13 14:56:18 +00:00
reed%reedloden.com 34fd3ed163 Bug 401188 - "Thread-unsafe updates to sub-atomic rt->gc{Poke,Zeal}" [p=crowder r=igor a1.9=brendan] 2007-11-13 10:44:08 +00:00
reed%reedloden.com 8261f3ddd5 Bug 327869 - "new Date (1899, 0).toLocaleString() causes abnormal program termination if compiled with VC 8" [p=mats.palmgren@bredband.net (Mats Palmgren) r=crowder a=blocking1.9+] 2007-11-13 08:35:42 +00:00
reed%reedloden.com 90c8e403a4 Bug 400793 - "Need JS_AlreadyHasOwnProperty (UCProperty, Element)" [p=crowder r+a1.9=brendan] 2007-11-13 08:28:47 +00:00
reed%reedloden.com 762e7a1f9c Bug 398177 - "ISO 8601 dates helper" [p=erwan@flock.com (Erwan Loisant) r=sayrer sr=mscott a1.9=damons] 2007-11-13 08:13:20 +00:00
reed%reedloden.com 761ef9baa8 Bug 398485 - "Date toLocaleString() clamps the year to -32767 .. 32767" [p=mats.palmgren@bredband.net (Mats Palmgren) r=crowder a1.9=schrep] 2007-11-13 06:39:16 +00:00
reed%reedloden.com 7ad5eb00cc Bug 353116 - ""has no properties" is misleading and should be replaced with "is null or undefined"" [p=rich@rd.gen.nz (Rich Dougherty) r=brendan r=crowder a1.9=damons] 2007-11-13 05:23:22 +00:00
nboyd%atg.com cc3829d5c6 Remove duplicate definition of 'msg.fn.redecl'. 2007-11-12 23:24:06 +00:00
peterv%propagandism.org 81418945ef Undoing accidental backout of the fix for bug 401254. 2007-11-12 14:45:08 +00:00
nboyd%atg.com df45e7423a Accepting patch for bug 391439: Exception on startup on JDK 1.4.
Patch from J�rg Lehni.
2007-11-08 13:12:05 +00:00
reed%reedloden.com 3c7c30c5a1 Bug 401298 - "Including jsapi.h generates many warnings with certain compiler configurations (e.g. gcc 3.4 -Wstrict-prototypes)" [p=wes@page.ca (Wesley W. Garland) r=mrbkap a1.9=brendan] 2007-11-07 09:17:35 +00:00
nboyd%atg.com 5ad0e51a5b Truly enable catching all Java exceptions when FEATURE_ENHANCED_JAVA_ACCESS
is enabled.
2007-11-06 22:57:12 +00:00
nboyd%atg.com 4451845056 When FEATURE_ENHANCED_JAVA_ACCESS gives us access to non-public members,
continue to prefer public methods in overloading.
2007-11-06 22:52:24 +00:00
nboyd%atg.com db3db9ad2f Treat Java final the same as JavaScript [[READONLY]]. Rhino previously
just threw a RuntimeException.
2007-11-06 22:50:47 +00:00
igor%mir2.org d6a154cb53 Bug 398085: better handling of long jumps in the bytecode. r,a=brendan,aM9=beltzner 2007-11-06 19:41:04 +00:00