Commit Graph

68359 Commits

Author SHA1 Message Date
Chris Jones
a61c26e2c0 Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke 2011-04-28 17:48:52 -05:00
Chris Jones
6fd4cbff2d Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Chris Jones
0adf6af157 Bug 642381, part 1: Remove js::Conditionally. r=luke 2011-04-28 17:48:51 -05:00
Jeff Walden
76a4343e93 Bug 652215 - Add a js::StringObject subtype of JSObject. r=njn
--HG--
extra : rebase_source : 7cdfe72d0932b51408b9ec5dc38219605e1925ce
2011-04-20 16:33:05 -04:00
Jeff Walden
a6c5ef2297 Bug 643537 - Properly interpret String and Number objects provided as the space argument to JSON.stringify(value, replacer, space). r=pbiggar
--HG--
extra : rebase_source : 0d7e32f5ce57be2a1e341db7888df41033bbd2be
2011-03-18 18:20:15 -07:00
Jeff Walden
234a32b92a Bug 648471 - If JSON.stringify's replacer is an array, only get the list of property names to use from it once (i.e. invoke getters on the array only once), and get them in order from 0 to the array's initial length. Also use non-enumerable array index properties in addition to enumerable array index properties. r=pbiggar
--HG--
extra : rebase_source : 874e2502e5b5223feb19b457debc8cc8dc51e6cb
2011-04-11 01:46:12 -07:00
Rob Arnold
1fa00902b6 Bug 651510 - "Signature for JS_StructuredClone differs in jsapi.h and jsapi.cpp" [r=jorendorff] 2011-04-20 08:28:00 -07:00
Paul Biggar
2bcf2bd5aa Merge backout of bug 651864. 2011-04-28 09:02:57 -07:00
Paul Biggar
ec3b6da446 Backed out changeset 00313f95d106 (bug 651864). 2011-04-28 09:02:13 -07:00
Paul Biggar
0a4b3c92dd Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Paul Biggar
4011ba8b50 Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again. 2011-04-28 07:46:33 -07:00
Paul Biggar
a987ff3fd1 Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb) 2011-04-28 06:45:18 -07:00
Christian Holler
faf48eb1e7 Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm). 2011-04-27 16:09:00 -07:00
Paul Biggar
e4d6748cc4 Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett)
In SM, classes are lazily resolved. If we detect that a class about to be used
has not yet been resolved, then we resolve it. However, the way that we decided
that they were resolved was broken. If the global object had a String property,
then it had been resolved. So what happened when we deleted the String
property? Well, it got resolved again.

Instead of using the String property of the global object, we now use the
contructor slot on the global object. This works fine for String, but some
classes don't have a constructor, like Math and JSON. For those classes, we set
the constructor slot to True. In either case, we can now tell that a class is
resolved if the constructor slot in not Undefined.
2011-04-27 04:13:56 -07:00
Matthew Draper
3eb02c1b43 Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor) 2011-04-22 04:38:24 +09:30
Jeff Walden
af6649155f Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary 2011-04-02 11:33:20 -07:00
Jeff Walden
a0446bf092 Bug 512266 - JSON.stringify for various special characters should produce the corresponding one-character escapes. r=pbiggar
--HG--
extra : rebase_source : a76fb038143bd053ee9e30ae29e99d3c2e91c528
2011-03-18 17:57:18 -07:00
Jeff Walden
faf5216de3 Bug 635389 - Check for overrecursion in functions that might need it. r=jorendorff
--HG--
extra : rebase_source : 72d6f2c915a4aa19e9820ea4f66039f75421c32d
2011-04-18 16:50:46 -04:00
Jeff Walden
573931e488 Bug 650574 - No recursion checks converting a cyclic object to source, if the object's toSource hooks are built-in functions. r=luke
--HG--
extra : rebase_source : 1d94c30c3a7335b1124e19020b8244a1de32aab3
2011-04-26 16:05:58 -04:00
Chris Leary
a362878568 Passing bug 646184 crashtest assertion. (r=dbaron) 2011-04-26 12:11:11 -07:00
Luke Wagner
8492c1e5ed Fix linker error. I fixed this in the patch I pushed to try but seem to have lost it in the meantime (r=burning-windows) 2011-04-26 14:34:09 -07:00
Luke Wagner
4fec8aa043 Fix --disable-methodjit bustage (r=red) 2011-04-26 13:39:59 -07:00
Luke Wagner
05d2002b66 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
71c7cfdc1f Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Masatoshi Kimura
07ab33fd8d bug 643460 pt 3 - remove gfx.downloadable_fonts.sanitize.preserve_otl_tables preference, no longer needed with new OTS version. r=jfkthame 2011-04-26 16:29:43 +01:00
Masatoshi Kimura
8c7a95115c bug 643460 pt 2 - apply patches to OTS for local build/platform issues. r=jfkthame 2011-04-26 16:29:39 +01:00
Masatoshi Kimura
53b6da83b9 bug 643460 pt 1 - import OTS r.62 from http://code.google.com/p/ots/. r=jfkthame 2011-04-26 16:29:36 +01: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
c9e2181c9f Bug 651984 - Add ability to detect if a page has registered touch event listeners, r=jst 2011-04-26 15:31:21 +03: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
Dão Gottwald
8a0572e422 Backed out changeset e0110ab48587 2011-04-26 12:14:38 +02:00
Buu-Minh Ta
b49d0a96a4 Bug 615728 - When selecting an empty tab, autofocus on the location bar. r=dao 2011-04-26 10:48:58 +02:00
Jan de Mooij
e7219c101f Bug 646938 - Fix NaN-check in jsop_stricteq. r=dvander 2011-04-26 10:29:00 +02:00
Mike Hommey
1ef24167d8 Bug 652306 - Move some parts of aboutDialog.css into branding. r=gavin 2011-04-26 08:49:51 +02:00
Cameron McCormack
a6e786942e Bug 652501 - Part 2: Make existing plugin crash reftests clean up after themselves. r=roc 2011-04-26 15:02:38 +12:00
Cameron McCormack
b9c6da9e02 Bug 652501 - Part 1: Allow reftests to clean up plugin and IPC process crash dumps. r=roc 2011-04-26 15:02:38 +12:00
Ryan VanderMuelen
40d8f2f5d2 Bug 646312: Enable methodjit by default for chrome JavaScript, r=dmandelin 2011-04-25 18:17:32 -07:00
Chris Pearce
036c423acb Bug 645773 - Typo fix in nsOggReader::GetSeekRanges(). r=roc 2011-04-26 11:32:08 +12:00
Tom Schuster
de983504ce Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff 2011-04-26 00:28:30 +02:00
Cameron McCormack
656947cd7b Bug 645268 - Dump failing console message to see where browser_webconsole_bug_595934_message_categories.js is going orange. r=jwatt
--HG--
extra : rebase_source : 41eac2b8f017468c5ef9cd480f8f8261775e4d5f
2011-04-26 09:12:06 +12:00
Dave Townsend
195514f276 Bug 613294: Upgrading a restartless add-on to a non-restartless add-on doesn't call the uninstall method. r=robstrong 2011-04-25 14:08:43 -07: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
Boris Zbarsky
f42dda77b2 Bug 649997 followup. Don't return uninitialized rv. Caught by ms2ger 2011-04-25 15:15:28 -04:00
Walter Meinl
b17fdf21fa Bug 652361 - Revert accidental chmod of build/os2/test_os2.cmd in previous cset for this bug. DONTBUILD 2011-04-25 12:06:59 -07:00
Ed Morley
b17a6e7f83 Bug 648865 - Remove WINCE code from js/src/assembler/* ; r=dmandelin 2011-04-25 15:06:47 -04:00
Ehsan Akhgari
20183f6cc2 Bug 517579 - TEST-UNEXPECTED-FAIL | test_bug413909.html | Secure page did not load, adding exception failed?; r=ted 2011-04-25 15:02:54 -04:00
Luke Wagner
c7e18b4a7b Bug 652438 - Add back OOM checks in JSString::getChars (r=waldo) 2011-04-25 11:53:50 -07:00
Geoff Brown
72eebd3b43 Bug 649841: Raise low-memory-warning condition on android to 512MB. r=dougt 2011-04-25 10:59:10 -07:00