Commit Graph

13955 Commits

Author SHA1 Message Date
Jason Orendorff
75d202fe67 Add Debug.Frame.prototype.live. 2011-04-28 18:44:28 -05:00
Jason Orendorff
27da170dc0 Very rudimentary support for creating Debug.Frame objects, passing them to hooks, and cleaning them up afterwards. 2011-04-27 18:22:28 -05:00
Jason Orendorff
4fcb55d0aa New rule: a Debug object cannot be attached to a compartment that is not in debug mode. Includes a jsapi-test to check that we do not crash if you turn debug mode off while a Debug object is already attached. (This changeset moves all the Debug object tests under jit-tests because the jit-test runner lets tests ask for debug mode.)
--HG--
rename : js/src/tests/js1_8_5/extensions/debug-object-01.js => js/src/jit-test/tests/debug/debug-object-01.js
rename : js/src/tests/js1_8_5/extensions/debug-object-02.js => js/src/jit-test/tests/debug/debug-object-02.js
rename : js/src/tests/js1_8_5/extensions/debug-object-03.js => js/src/jit-test/tests/debug/debug-object-03.js
rename : js/src/tests/js1_8_5/extensions/debug-object-04.js => js/src/jit-test/tests/debug/debug-object-04.js
rename : js/src/tests/js1_8_5/extensions/debug-object-05.js => js/src/jit-test/tests/debug/debug-object-05.js
rename : js/src/tests/js1_8_5/extensions/debug-object-06.js => js/src/jit-test/tests/debug/debug-object-06.js
rename : js/src/tests/js1_8_5/extensions/debug-object-07.js => js/src/jit-test/tests/debug/debug-object-07.js
rename : js/src/tests/js1_8_5/extensions/debug-object-08.js => js/src/jit-test/tests/debug/debug-object-08.js
rename : js/src/tests/js1_8_5/extensions/debug-object-09.js => js/src/jit-test/tests/debug/debug-object-09.js
rename : js/src/tests/js1_8_5/extensions/debug-object-10.js => js/src/jit-test/tests/debug/debug-object-10.js
rename : js/src/tests/js1_8_5/extensions/debug-object-11.js => js/src/jit-test/tests/debug/debug-object-11.js
rename : js/src/tests/js1_8_5/extensions/debug-object-12.js => js/src/jit-test/tests/debug/debug-object-12.js
rename : js/src/tests/js1_8_5/extensions/debug-object-13.js => js/src/jit-test/tests/debug/debug-object-13.js
rename : js/src/tests/js1_8_5/extensions/debug-object-14.js => js/src/jit-test/tests/debug/debug-object-14.js
rename : js/src/tests/js1_8_5/extensions/debug-object-15.js => js/src/jit-test/tests/debug/debug-object-15.js
rename : js/src/tests/js1_8_5/extensions/debug-object-16.js => js/src/jit-test/tests/debug/debug-object-16.js
rename : js/src/tests/js1_8_5/extensions/debug-object-17.js => js/src/jit-test/tests/debug/debug-object-17.js
rename : js/src/tests/js1_8_5/extensions/debug-object-18.js => js/src/jit-test/tests/debug/debug-object-18.js
rename : js/src/tests/js1_8_5/extensions/debug-object-19.js => js/src/jit-test/tests/debug/debug-object-19.js
rename : js/src/tests/js1_8_5/extensions/debug-object-20.js => js/src/jit-test/tests/debug/debug-object-20.js
rename : js/src/tests/js1_8_5/extensions/debug-object-21.js => js/src/jit-test/tests/debug/debug-object-21.js
2011-04-27 17:37:14 -05:00
Jason Orendorff
a39d2d024a Fix behavior of debugger statement in methodjit. This was causing most of the debug-object- tests to fail under --args="-m -a", with or without -d. 2011-04-27 11:54:32 -05:00
Jason Orendorff
782cb92948 Merge from tracemonkey to jsdbg2. 2011-04-26 14:45:06 -05:00
Chris Leary
71c7cfdc1f Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Tom Schuster
7d405787a7 Fix style nit request in Bug 651973 r=jorendorff via irc 2011-04-26 16:23:01 +02:00
Olli Pettay
46d7b33a70 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Jan de Mooij
e7219c101f Bug 646938 - Fix NaN-check in jsop_stricteq. r=dvander 2011-04-26 10:29:00 +02:00
Ryan VanderMuelen
40d8f2f5d2 Bug 646312: Enable methodjit by default for chrome JavaScript, r=dmandelin 2011-04-25 18:17:32 -07:00
Tom Schuster
de983504ce Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff 2011-04-26 00:28:30 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Michael Wu
b81c4d653e Bug 651973 - Release RegExp on error, r=cdleary 2011-04-25 13:20:14 -07:00
Michael Wu
8fb6fc73ed Bug 605707 - r=igor 2011-04-25 13:20:14 -07:00
Ed Morley
b17a6e7f83 Bug 648865 - Remove WINCE code from js/src/assembler/* ; r=dmandelin 2011-04-25 15:06:47 -04:00
Luke Wagner
c7e18b4a7b Bug 652438 - Add back OOM checks in JSString::getChars (r=waldo) 2011-04-25 11:53:50 -07:00
Paul Biggar
f52bbc7614 Disable jstests on all platforms again (r=orange) 2011-04-23 12:47:23 -07:00
Igor Bukanov
c8e26ae567 bug 652185 - r=luke 2011-04-23 00:12:05 +02:00
Jan de Mooij
035e5c1537 Bug 652060 - Fix double check in JSVAL_SAME_TYPE_IMPL on 64-bit. r=luke 2011-04-23 09:49:59 +02:00
Tom Schuster
13b9f917f0 Bug 649575 - Date.prototype.toISOString must throw a RangeError for non-finite dates. r=jwalden 2011-04-22 22:46:59 -04:00
Jason Orendorff
3f893bb284 Fix silly stack overflow due to a botched method renaming in the previous check-in. 2011-04-22 14:28:23 -05:00
Jason Orendorff
d48b27e096 Rearrange some stuff. This way more js::Debug methods can be private, without making anything new public; all the event dispatch code is in one place; and we avoid having JSCompartment methods in jsdbg.cpp. 2011-04-21 14:44:53 -05:00
Jason Orendorff
9583e05f3c Change Debug.prototype.uncaughtExceptionHook to require a function or null, and pass the Debug object to uncaughtExceptionHook as the this-value. 2011-04-20 14:45:14 -05:00
Jason Orendorff
49262897d7 Add initial support for Debug.prototype.uncaughtExceptionHook. 2011-04-19 22:19:38 -05:00
Jason Orendorff
f98bcedaf3 Add Debug.prototype.enabled. This implementation is not ideal, since we want clearing .enabled to remove the debugger from every place where it might cause overhead. For now it just sets a flag. 2011-04-18 23:52:17 -05:00
Jason Orendorff
5e2c73b316 Add rudimentary support for Debug.prototype.hooks.debuggerHandler. Note: A new constant JSPROP_NATIVE_ACCESSOR is added in jsapi.h, so that js_InitClass can create proper accessor properties. 2011-04-18 17:42:07 -05:00
Jeff Walden
a8a0234d77 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Paul Biggar
da590e6e27 Turn off jstests during |make check| on configs which turned tinderbox orange (no bug, r=jimb,orange) CLOSED TREE
The bad configs are:
   - windows with either --disable-tracejit or --disable-methodjit
   - mac with --enable-dtrace
2011-04-22 12:00:35 -07:00
David Anderson
cfba96780a merge backout CLOSED TREE CLOSED TREE CLOSED TREE CLOSED TREE CLOSED TREE 2011-04-22 11:48:57 -07:00
David Anderson
cfa95c8cf3 Backed out changeset d851d44ad77a 2011-04-22 11:40:55 -07:00
Paul Biggar
d4ed94cf34 Minor usage-string typo fix. No bug, no review. 2011-04-22 07:29:59 -07:00
Paul Biggar
6a750a4341 Bug 647482 (followup): Re-enable jstests in |make check| (r=dmandelin) 2011-04-22 07:29:22 -07:00
Rafael Ávila de Espíndola
8f5366a4c0 Bug 631928 - Check for libffi_cv_as_x86_pcrel should not look for just "warning". r=ted 2011-04-22 01:23:35 +02:00
Gregor Wagner
45c6d1befe Bug 651915 - Fix MarkStack size. r=billm 2011-04-21 13:44:29 -07:00
Jeff Walden
77e6fd7646 Backed out changeset c8ba5bd72b0c, we have too many test harnesses and I forgot to run one. r=tree-decorator 2011-04-21 16:29:54 -04:00
David Anderson
43e7e71dd5 Refactor Call ICs (bug 638680, r=luke). 2011-04-21 11:14:49 -07:00
Luke Wagner
5b206e05b6 Loosen test from 905a35f3a76b to account for conservative GC rooting fuzziness (r=orange) 2011-04-20 21:06:01 -07:00
Luke Wagner
b02663aef4 Fix typo in --enable-threadsafe builds (r=burning) 2011-04-20 19:29:11 -07:00
Luke Wagner
6e9ef90124 Bug 651041 - add API to store private data to an external string (r=njn) 2011-04-20 18:34:49 -07:00
Chris Jones
ea1f5e599c Bug 647011: Sprinkle some DebugOnly in js/src. r=luke 2011-04-20 18:27:30 -05:00
Jason Orendorff
b72daf3760 Merge backout. 2011-04-20 16:11:48 -05:00
Jason Orendorff
7c1bcbce33 Backed out changeset e02df4a05968 due to orange. 2011-04-20 16:10:38 -05:00
Tom Schuster
479dc912bc Bug 202019 - Built-in functions should not be constructors. r=jorendorff.
--HG--
extra : rebase_source : 2f845218384004c09a60c59ae03704729f1d91dc
2011-04-20 13:22:57 -05:00
Jeff Walden
f7e9104cd4 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Jim Blandy
f629983808 merge tm 2011-04-18 09:18:20 -07:00
Gary Kwong
6ce5a9d22e Bug 650621 - Fix boundary failure in string object length assertion. rs=Waldo 2011-04-18 12:03:12 +08:00
Nicholas Nethercote
66672b2c61 Update nanojit-import-rev stamp. 2011-04-17 17:21:14 -07:00
Bill McCloskey
b0ccb806b6 Fix off-by-one error in Containers.cpp:BitSet::grow(). r=nnethercote.
--HG--
extra : convert_revision : 74e1b2344f722020fb10e11d7b115373c43c37b6
2011-04-17 17:07:51 -07:00
Nicholas Nethercote
3d26d4379e Remove debugging printf left behind by patch for bug 643969 that was causing test failures.
--HG--
extra : convert_revision : 8202c5872474e0e87717082d5167b35c52d55236
2011-04-17 17:02:27 -07:00
Josh Matthews
5bac8b067d Bug 600677 - Add fix hook to proxies. r=gal 2011-04-16 17:14:10 -04:00