Commit Graph

15410 Commits

Author SHA1 Message Date
Jason Orendorff
1ceaa9d843 Merge from tracemonkey to jsdbg2. 2011-07-01 19:22:47 -05:00
Jason Orendorff
1f245d40df Merge from tracemonkey to jsdbg2. 2011-07-01 19:02:40 -05:00
Brian Hackett
dee99963bb Merge TM -> JM 2011-07-01 16:24:32 -07:00
Jason Orendorff
18a3fe661b Two changes: Try to make tests/debug/gc-06.js more reliable with conservative GC. And remove the new compartment assertions from jsdbgapi.h, to avoid disturbing jsdbgapi.h-using code other than JSD (such as the shell's trap() function). 2011-07-01 10:30:16 -05:00
Jason Orendorff
6520ac2269 Adjust compartment assertions in the new implementations of jsdbgapi.h Trap entry points. Some are tightened up, but JS_ClearScriptTraps no longer asserts, as that caused a test to fail in debug builds. 2011-06-29 10:16:55 -05:00
Jason Orendorff
ada69f18d9 Fix test jit-test/tests/debug/Debug-ctor-03.js: only expect new Debug(parent) to fail if parent really cannot be put into debug mode. 2011-06-28 18:08:49 -05:00
Jason Orendorff
be6339e5c2 Add breakpoints.
This adds a new per-compartment implementation of breakpoints and
reimplements the jsdbgapi.h "trap" entry points on top of it. Most
jsdbgapi.h-using code will still work, but there is no longer a single
runtime-wide trapList protected by a lock. Embeddings must follow the
compartment rules for thread safety.

JS_ClearAllTraps was removed, replaced by the per-compartment API
JS_ClearAllTrapsForCompartment.

The new implementation asserts that the PC passed to JS_SetTrap is
actually an offset of an instruction, not just a random number. This
caused quite a few tests to fail; fixes are included.

Added Debug.Script.prototype.setBreakpoint, getBreakpoints,
clearBreakpoint, and clearAllBreakpoints; and
Debug.prototype.clearAllBreakpoints.

In addition to tests targeting the new functionality, this changeset
includes some tests for Debug.Script.prototype.getLineOffsets, which is
hard to test without breakpoints.
2011-06-28 16:06:34 -05:00
Jason Orendorff
4230b2f588 Revise comments on js::Debug::mark. Also inline Debug::sweepCompartment into Debug::sweepAll. 2011-06-28 14:48:22 -05:00
Jason Orendorff
8d25455a7a Add Script.prototype.getAllOffsets and getLineOffsets. 2011-06-28 14:46:00 -05:00
Jason Orendorff
5287606d54 Quick follow-up for thinko in bug 667925: lists can be empty. r=orange. 2011-06-28 12:28:02 -05:00
Jason Orendorff
8b9d92f2ef Bug 667925 - Line number is bogus on JSOP_TRACE opcodes. r=brendan. 2011-06-28 12:15:32 -05:00
Jeff Walden
0dfbe6d91b Bug 657298 - Various bugs in setting the length of an array. r=dmandelin
--HG--
extra : rebase_source : f27bd4d0141df46d7ef054c91c2601d3b50d9690
2011-06-28 10:05:53 -07:00
Jeff Walden
d2d6ef6dd4 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
309bac37f9 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
052a90e97b Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
9a3fd541fa Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
4b185d0ef0 Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
e9d975ff6a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Jason Orendorff
f87c801c95 Add Script.prototype.getOffsetLine. 2011-06-25 20:58:17 -05:00
Jason Orendorff
1c0e0f089a Add Frame.prototype.offset. 2011-06-25 19:13:19 -05:00
Steve Fink
67a675cdaa Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Jim Blandy
8659cd535a Test that we get the same Debug.Script instance for different closures made from the same 'function' expression/declaration/statement. 2011-06-24 14:10:26 -07:00
Jim Blandy
6176d9b411 Fix 'if' in DebugObject_trace: the scope of a declaration includes its initializer. 2011-06-24 14:02:23 -07:00
Steve Fink
29117f5284 Bug 667076 - Add a CHECK_EQUAL for testing whether non-jsval types are equal and report expected and observed values on failure (r=luke)
--HG--
extra : rebase_source : fb98cbdcaa63abbfe718d3dfc5b3ac1b0d3a64da
2011-06-24 13:11:28 -07:00
Jason Orendorff
cebed13303 Support disabling debug mode in a compartment with scripts on the stack. Dump the debug-mode JIT code during a later GC. 2011-06-23 12:25:48 -05:00
Shu-yu Guo
c34a1db790 [INFER] Fix colorized spew bug with ANSI reset codes. r=mrbkap 2011-06-22 17:28:19 -07:00
Jason Orendorff
29b34b6b75 Change js::Debug::heldScripts to have pointers to debuggee-compartment objects as keys, rather than wrappers.
--HG--
rename : js/src/jit-test/tests/debug/Script-gc.js => js/src/jit-test/tests/debug/Script-gc-01.js
2011-06-20 18:30:36 -05:00
Jason Orendorff
4370701afc Change js::Debug::objects to have referents as keys, rather than cross-compartment wrappers of referents.
This adds support for cross-compartment WeakMaps and changes js::Debug::objects to be one. It eliminates the vexing JSMSG_DEBUG_STREAMS_CROSSED error messsage.

The GC interaction between jsgc and jsdbg is a little more complex now; like the cross-compartment wrapper maps, Debug::objects must be marked (just once) during per-compartment GC. In other ways this is a simplification.
2011-06-20 18:26:05 -05:00
Jason Orendorff
7b711756ef Fix Debug-ctor-03.js (regression: the exception is being thrown in the wrong compartment since rev e05d3da5866a) and make removeDebuggee throw if it would disable debug mode in a compartment with scripts on the stack. 2011-06-20 15:33:53 -05:00
Jason Orendorff
9945b3dbb5 GlobalObject::getOrCreateDebuggers must be called in the global object's compartment, since it may create an object. 2011-06-20 14:06:42 -05:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Josh Matthews
ee206f1e3a Bug 661927 - Add Cu.schedulePreciseGC to allow for a GC to run with no JS code running. r=mrbkap 2011-07-01 02:08:48 -04:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Nicholas Nethercote
3d7ea7b395 Bug 661474 - Add per-compartment memory reporters. r=wmccloskey, dolske. 2011-06-30 15:44:17 +10:00
Kyle Huey
056c645035 Bug 667652: Add a JS_FRIEND_API to get at the current offset in a structured clone buffer. r=jorendorff. 2011-06-29 12:09:15 -07:00
Ted Mielczarek
cc36c6b004 merge mozilla-central and build-system 2011-06-29 09:42:11 -04:00
Ted Mielczarek
fe1a94b3cf bug 664197 - bustage fix, sync js/src/config 2011-06-28 08:32:29 -04:00
Kyle Huey
6306507768 Bug 515492: Make jemalloc work on VS 2010. r=ted,pbiggar 2011-06-27 12:44:51 -07:00
Kyle Huey
ecb9c8319d Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Ehsan Akhgari
b485786497 Merge mozilla-central into mozilla-inbound 2011-06-24 21:17:16 -04:00
Kyle Huey
cc6d5e1c20 Bug 665969: Make C4553 fatal. r=ted 2011-06-24 07:22:35 -07:00
Kyle Huey
2abb32fe43 Backed out changeset dd46aab5d8aa 2011-06-24 10:14:24 -07:00
Joey Armstrong
c1df99116b Bug 661885: Followup to placate check-sync-dirs.py. r=khuey 2011-06-24 09:23:15 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
ab0723ab13 Bug 665969: Make C4553 fatal. r=ted 2011-06-24 07:22:35 -07:00
David Anderson
56ac2a8214 Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jonas Sicking
6c4113f213 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ehsan Akhgari
f742585a1f Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Jason Orendorff
d90314e09c Initial support for Debug.Script instances. r=jorendorff, push=jorendorff. 2011-06-17 16:28:32 -05:00
Jason Orendorff
38ba6a702a Merge. 2011-06-17 11:12:33 -05:00
Matheus Kerschbaum
8a21fc0886 Bug 662000 part 2: Remove XPC_IDISPATCH_SUPPORT from the build-system and XPConnect. r=mrbkap
--HG--
extra : rebase_source : c456802fe36eef1e49381be996dbbdf820781206
2011-06-22 11:56:47 -04:00
Matheus Kerschbaum
8ce2e316c8 Bug 662000 part 1: Remove interfaces and tests. r=mrbkap
--HG--
extra : rebase_source : bb144170f64b1a46fc1e39dc97221b3e1734ae7a
2011-06-22 11:56:04 -04:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Jason Orendorff
a212e74aed Fix MSVC-only errors and a warning. 2011-06-16 10:25:10 -05:00
Brian Hackett
2a2f80872d [INFER] Add missing fixDoubleTypes for JSOP_IFEQ, JSOP_IFNE, bug 662082. 2011-06-16 06:38:11 -07:00
Luke Wagner
3f185cc410 Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
--HG--
rename : js/src/perfect.js => js/src/tests/js1_1/regress/perfect.js
2011-06-21 10:26:22 -07:00
Ehsan Akhgari
73e4f8616d Backout changeset 5fe20ec0229c (bug 15529) because it breaks jsreftests 2011-06-21 18:52:32 -04:00
Luke Wagner
0e59a6d626 Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
--HG--
rename : js/src/perfect.js => js/src/tests/perfect.js
2011-06-21 10:26:22 -07:00
Chris Leary
7922cf2289 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Gregor Wagner
08eca5db6e Bug 656120 - Change MaybeGC trigger. r=igor 2011-06-20 14:44:26 -07:00
Ehsan Akhgari
38dc29243c Merge the last green changeset on mozilla-inbound to mozilla-central 2011-06-20 16:06:04 -04:00
Jesse Ruderman
93544312de Add crashtest from bug 603146 2011-06-20 11:42:05 -07:00
Jesse Ruderman
35e087a1de Add crashtest from bug 601284 2011-06-20 11:42:05 -07:00
Jesse Ruderman
7f7c03f6d7 Add crashtest from bug 616930 2011-06-20 11:42:05 -07:00
Landry Breuil
4b1dcd4660 Bug 665040: "-not" is not a POSIX-compliant argument to find. Use "!" (r=khuey) 2011-06-17 15:48:00 -07:00
Rafael Avila de Espindola
ddc2ddc4ac Bug 641232 - Make HAS_XCODE_2_1 detection compatible with Xcode 4 - Remove unused configure bits. r=khuey 2011-06-20 10:40:58 +01:00
Paul Biggar
9fbd2b1e02 Bug 649939: Prevent crash from too much recursion in Iterator.prototype.next() (r=jwalden) 2011-06-16 17:00:31 -07:00
Luke Wagner
de6d0e2330 Bug 665189 - hoist JSString and family into vm/String{.h, -inl.h, .cpp} (r=njn) 2011-06-20 11:44:20 -07:00
Ehsan Akhgari
0b938f2384 Bug 662969 - Silence the clang warnings issued because of alignment requirements increase when compiling jsparse.h; r=Waldo
--HG--
extra : rebase_source : 8286bd6fd8a82d855c95d8a1ded01b54d73ba5a1
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
8e90994c37 Bug 662964 - Silence the clang warnings issued because of alignment requirements increase when compiling jscntxt.h; r=Waldo
--HG--
extra : rebase_source : ec398625623f3cafd7c4373a85b099024ba05183
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
4669405867 Bug 662962 - Silence the clang warnings issued because of alignment requirements increase when compiling jsscript.h; r=Waldo
--HG--
extra : rebase_source : 0aa530499bf3961b372a24a1a98d949a81ee2065
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
940b078fd2 Bug 662961 - Silence the clang warnings issued because of alignment requirements increase when compiling jsstr.cpp; r=Waldo
--HG--
extra : rebase_source : 984f986f3de6c92cdb45cadeff40bc84b36406ca
2011-06-19 17:04:48 -04:00
Nicholas Nethercote
4cc5c61803 Bug 664647 - Work around MSVC 2005 PGO bug in GetJSObjectSlotsCallback and friends. r=khuey. 2011-06-20 09:01:37 +10:00
Igor Bukanov
b64bc1fb04 bug 601075 - followup to fix MSVC warings and adjust the testStringBufferMallocAccounting.js test to overwrite all conservative GC roots. 2011-06-19 19:41:46 +02:00
Shu-yu Guo
359e560eb5 [INFER] Colorize spew for constraints and typesets, bug 664583. r=bhackett 2011-06-15 19:22:27 -07:00
Jim Blandy
b9b63b7f8e Define new macro, THIS_DEBUGOBJECT_OWNER_REFERENT, which also provides the owning Debug. r=jorendorff, push=jorendorff. 2011-06-15 18:02:02 -05:00
Jim Blandy
088562e69d Comment fixes, assertions, and cleanups to Debug GC-related code. r=jorendorff, push=jorendorff. 2011-06-15 18:00:06 -05:00
Jim Blandy
f79cb0d6c7 Use WeakMap for the Debug::objects, the mapping from referents to Debug.Objects. r=jorendorff, push=jorendorff. 2011-06-15 17:53:26 -05:00
Jason Orendorff
fcfd80cfc5 Merge from TM. Huge merge. Stack changes from bug 656462. 2011-06-15 16:14:09 -05:00
Brian Hackett
60d958b4f4 [INFER] Don't mark or use return value in frames which are throwing, bug 664422. 2011-06-15 13:01:39 -07:00
Brian Hackett
f6d4a9c326 [INFER] Add missing monitor() call in stubs::Eval, bug 663910. 2011-06-15 12:20:13 -07:00
Brian Hackett
9f8045748c [INFER] Cleanup type info tracking object classes, track which type objects are definitely typed arrays, bug 663485. 2011-06-15 11:26:12 -07:00
Andrew McCreight
3f1b66195e Backout bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Andrew McCreight
9ad333dda5 backing out patch for bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Ehsan Akhgari
d6b4429b37 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Joe Drew
770bb721ef Merge m-c to m-i 2011-06-28 12:21:04 -04:00
Joe Drew
952b32c999 Merge last green changeset from mozilla-inbound to mozilla-central. 2011-06-28 12:11:31 -04:00
Kyle Huey
a5cab656de Merge b-s to m-c. 2011-06-28 08:54:26 -07:00
Chris Leary
31076ac1d6 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Igor Bukanov
ba5e71d38e bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
55a71f2ebf Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
a71d61104b Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
0780a149be Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
0e43edd30e Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
822bc8b69e Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
4c436c89cd Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
4fa36afd9e Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Jeff Walden
40bdc4ec2b Bug 671091 - Add DefinePropertiesAndBrand to abstract out most explicit branding. NOT REVIEWED YET
--HG--
extra : rebase_source : 9a48fc83a876c95e90c807eb0b007d35211eb41c
2011-06-15 10:15:37 -07:00
Brian Hackett
eb3dc76aac [INFER] Reenable typed array ICs when inference is disabled, bug 643842. 2011-06-15 08:29:33 -07:00
Brendan Eich
b2a9eace38 Inherited non-configurable accessor properties mis-reported as own properties (637994, r=jwalden). 2011-06-14 23:48:59 -07:00
Brendan Eich
a2fa4d23af No else after return. 2011-06-14 19:32:33 -07:00
Jim Blandy
a282ee62d3 Bug 660039: Provide a WeakMap usable from C++. r=jorendorff
Remove WeakMap class; implement the JavaScript object using functions static to jsweakmap.cpp.

Define a new WeakMap class template, parameterized by Key and Value types,
and accepting a MarkPolicy argument saying how to mark them.

Add assertions to check that we check and set the right mark bits, and
tests that trip them in the presence of mistakes in earlier revisions of
this patch.
2011-06-14 19:21:47 -07:00
Jim Blandy
7cdc628e2a Bug 661567: Use RuntimeAllocPolicy in JS WeakMap objects, not ContextAllocPolicy. r=jorendorff 2011-06-14 19:21:47 -07:00
Jim Blandy
900b1f6059 Bug 661567: Implement RuntimeAllocPolicy, providing proper memory accounting in GC'd objects that live longer than a JSContext. r=luke 2011-06-14 19:21:47 -07:00
Jim Blandy
fe837eb8a0 Bug 661567: Use ObjectValueMap typedef name where appropriate. r=gal 2011-06-14 19:21:47 -07:00
Luke Wagner
70b6adcc95 Bug 664159 - Fix eval-in-frame crash (r=waldo) 2011-06-14 17:35:19 -07:00
Nikhil Marathe
566af7c712 Bug 656519 - Add an interpreter fast-path for getting length from a typed array. r=mrbkap
--HG--
extra : rebase_source : b2d583778e14877cb0e01f0739d08cd31dc9c757
2011-06-14 15:35:54 -04:00
Nikhil Marathe
f96aadd8f3 Bug 656519 - Do a small size optimization for arraybuffer objects, possibly avoiding a second malloc entirely for small array buffers. r=mrbkap
--HG--
extra : rebase_source : 2dcaee6b42f47dafcfbb866a45ed2452f029a253
2011-06-14 15:34:06 -04:00
Nikhil Marathe
acda759fc1 Bug 656519 - Avoid a malloc (and a finalizer) by storing the malloc'd array in our slots instead of in a separate malloc'd structure in our private field. r=mrbkap
--HG--
extra : rebase_source : 791ede2d8db96f56e4ef8478d491aec413d3e392
2011-06-14 15:33:11 -04:00
Chris Leary
cb10121547 Avoid copy construction for paren info vector. (rs=dmandelin)
--HG--
extra : rebase_source : 659e9e5aa1946b2693645664584f98dfe068d19f
2011-06-14 11:53:14 -07:00
Jeff Walden
d967e5e20f Bug 671143 - Rename ValueToNumber to ToNumber, to be more like the spec nomenclature. r=cdleary
--HG--
extra : rebase_source : e85fbadd77adc048f5e443cd9ed96b0035954674
2011-06-13 21:49:59 -07:00
Igor Bukanov
2d1c8c12b5 bug 667507 - r=gal 2011-07-14 21:47:36 +02:00
Chris Leary
ac29c887f8 Bug 670772 - JSCodeGenerator::upvarMap should use exactly as much space as it needs. (r=njn)
--HG--
extra : rebase_source : 40b9a070023da205817e275e936e8a1acbe38c2b
2011-07-13 16:05:41 -07:00
Chris Leary
8a4ed626f6 Bug 669786: JSCodeGenerator::upvarMap should be a js::Vector. (r=njn)
--HG--
extra : rebase_source : 63d3fe85a1937c74f45e104ab066bc1159c36e00
2011-07-06 18:00:17 -07:00
Bill McCloskey
a47ecc892e Bug 671080 - Assert on unexpected cross-compartment pointers in opt builds (r=mrbkap) 2011-07-14 12:12:30 -07:00
Hannes Verschore
a687644705 Bug 670784 - Add src note to break statements of switches, r=dvander 2011-07-13 16:12:05 -07:00
Jason Orendorff
fef77e1e35 Bug 646968 - Fix name lookups in let scopes. r=brendan. 2011-07-14 08:54:17 -05:00
Kyle Huey
d3e7553ab9 Mass revert m-i to the last known good state 2011-07-13 18:22:33 -07:00
David Mandelin
1fdf7dccd7 Bug 605290: Check for null cx->globalObject, r=luke 2011-07-13 16:47:10 -07:00
Chris Leary
43bb065e0f Bug 670772 - JSCodeGenerator::upvarMap should use exactly as much space as it needs. (r=njn)
--HG--
extra : rebase_source : 00184fc11f3cccd4080e3e8e2f347ab9fa724fce
2011-07-13 16:05:41 -07:00
Chris Leary
de37b6f051 Bug 669786: JSCodeGenerator::upvarMap should be a js::Vector. (r=njn)
--HG--
extra : rebase_source : 5270282d89d15e00739428e5f12de7d4f508bef4
2011-07-06 18:00:17 -07:00
Hannes Verschore
a65ac12536 Bug 670784 - Add src note to break statements of switches, r=dvander 2011-07-13 16:12:05 -07:00
Jeff Walden
253ed289c7 Bug 670759 - Add GlobalObject::createBlankPrototype to abstract creation of prototype objects other than Object.prototype. r=bhackett 2011-06-13 11:52:45 -07:00
Masahiro Yamada
6a432fe065 Bug 660612 - Utf8ToOneUcs4Char passes invalid UTF-8 octets '%ED%A0%80', so decodeURIComponent('%ED%A0%80') doesn't throw. r=jwalden 2011-07-05 09:38:35 -07:00
Mounir Lamouri
4c0a532e43 Merge mozilla-inbound into mozilla-central. 2011-07-11 16:18:03 +02:00
Mike Hommey
962f3c6d46 Bug 654664 - Optimize JSDOUBLE_IS_NEGZERO after bug 640494. r=jimb 2011-07-11 07:57:35 +02:00
Joel Maher
7bdc8ec066 Bug 668431 - move test_bug361111.xul to mochitest-chrome. r=Jesse, a=test-only 2011-07-09 08:35:40 -04:00
Joel Maher
1bb480875e Bug 668594 - while running reftest style tests, we seem to have a memory leak and fennec hangs. r=bc, a=test-only 2011-07-08 11:00:41 -04:00
Marco Bonardo
94da8809f7 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Michael Wu
29f0731f59 Bug 648125 - Allow caching JS loaded with loadSubScript, r=jst 2011-07-09 20:21:16 -07:00
Jeff Walden
fd3234af67 Bug 671082 - Add GlobalObject::createConstructor to abstract creation of constructors, after basic primordials are installed in the global. r=bhackett
--HG--
extra : rebase_source : 7d912d659f18bd4a24cb9e285dc71cbb0eac9858
2011-06-13 11:52:45 -07:00
Jeff Walden
0e6a014f34 Bug 670779 - Add LinkConstructorAndPrototype to encapsulate adding ctor.prototype and ctor.prototype.constructor. r=bhackett
--HG--
extra : rebase_source : 1216c2c096b866c94205c3f53fe0dd70225523c4
2011-06-15 10:15:37 -07:00
Jacek Caban
4c56a972be Bug 670905 - Update mingw cofigure checks to current version (r=khuey) 2011-07-13 17:57:59 +02:00
Ehsan Akhgari
c2c6bac9e3 Merge mozilla-central and mozilla-inbound 2011-07-13 11:51:33 -04:00
Ehsan Akhgari
096131f2a7 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Jason Orendorff
e4e749adc2 Bug 620316 - Remove WrapEscapingClosure. r=brendan. 2011-07-13 07:15:59 -05:00
Robin Ehrlich
c994023e82 Bug 670958 - "Javascript 1.8.5 js_GetScriptLineExtent does not always return the correct value" (r=sfink)
--HG--
extra : rebase_source : b7f93037a828843749f83dc8b5b2f8fec404276d
2011-07-12 12:03:00 -07:00
Dave Yeo
705efe6018 Bug 670003: Fix yarr on OS/2. r=dmandelin 2011-07-12 12:57:08 -07:00
Cyril Roelandt
72a1be074a Bug 670487 - Fix prototype to eliminate a compiler warning in js/src/editline. r=brendan. 2011-07-12 13:14:37 -05:00
Jason Orendorff
5f0afdfaa2 Backed out changeset 2d5bc18fdf9c because the commit message lacks a bug number.
--HG--
extra : rebase_source : b9e34ce4beca44b44b75d84551c67279b49c2130
2011-07-12 14:49:59 -05:00
Cyril Roelandt
b0e41de502 Fix prototype to eliminate a compiler warning in js/src/editline. r=brendan.
--HG--
extra : rebase_source : bdde5a2c76f03309c92f864dc30aa320a8f38044
2011-07-12 13:14:37 -05:00
Ehsan Akhgari
2ee50e2446 Backout changeset 7c1a923bea13 (bug 649537) because of mochitest-3 and mochitest-oth oranges 2011-07-12 14:25:53 -04:00
Ben Turner
86f8bb179c Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-12 12:32:14 -04:00
Brian Hackett
8e275e6ef7 [INFER] Monitor scripted call results when returning into the interpoline, bug 663690. 2011-06-13 08:42:05 -07:00
Kyle Huey
09b3660cb3 Remove obnoxious xpcshell gc spew. No bug. rs=bent 2011-07-11 13:00:31 -07:00
Brian Hackett
6dea4378d4 [INFER] Always use type barriers at NAME opcodes, tweak USES_BEFORE_COMPILE and CONTRIBUTION_LIMIT, bug 662383. 2011-06-11 09:46:48 -07:00
Brian Hackett
fa41f89faf [INFER] Read barriers for call results, bug 663381. 2011-06-10 19:03:57 -07:00
Bill McCloskey
2a3d5215a6 Bug 662646 - GC topcrash diagnostics [needs backout before Aurora merge!] (r=dmandelin) 2011-07-07 17:31:24 -07:00