Commit Graph

18841 Commits

Author SHA1 Message Date
Jeff Walden
e6f318e4b5 Bug 739380 - Start to implement a [[HasProperty]] hook, per the proto-climbing refactoring, for elements. r=bhackett 2012-04-10 16:33:44 -07:00
Nicholas Nethercote
c33177f72e Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Boris Zbarsky
7c123acb64 Bug 748237. Only do the c++11 stuff for clang here, since otherwise we get scary warnings with gcc on android. r=luke 2012-04-26 00:43:00 -04:00
Boris Zbarsky
705298151f Bug 747815. Use const strings for arguments in DOM bindings. r=peterv 2012-04-26 00:42:03 -04:00
Ryan VanderMeulen
3f70ab0134 Backout a0b3af4ac9f5 (bug 735280) due to Android jsreftest orange. 2012-04-25 21:59:36 -04:00
Luke Wagner
ff78e58bc6 Bug 748212 - Tolerate n layers of wrapping around a RegExp (r=bholley)
--HG--
extra : rebase_source : 1f53df440672630bf309bef3af40b313fa8bf4f4
2012-04-25 18:18:46 -07:00
Gabor Krizsanits
8f2218a116 Bug 735280 - Part 3: Components object specific wrapper. r=bholley 2012-04-25 20:12:33 -04:00
Gabor Krizsanits
8be449330e Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley 2012-04-25 20:12:33 -04:00
Gabor Krizsanits
bf2e6d5a8a Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley 2012-04-25 20:12:33 -04:00
Steve Fink
74301a8848 Bug 748109 - realpath -> abspath. r=terrence
--HG--
extra : rebase_source : 72dffb16b58fec41babde5aba3160e8da67782d1
2012-04-25 15:02:23 -07:00
Jeff Walden
5bccccb194 Bug 739380 - Start to implement the [[SetP]] hook from the proto-climbing refactoring. r=bhackett 2012-04-09 16:03:23 -07:00
Jeff Walden
5d9de2e734 Bug 739380 - Start to implement the default [[GetP]] hook from the proto-climbing refactoring for the various element types. r=bhackett 2012-04-10 16:33:44 -07:00
Jeff Walden
22091d195f Bug 747197 - abs works on ints, fabs works on doubles, grasshopper. Smallest bugfix ever. r=terrence 2012-04-26 17:19:04 -07:00
Nicholas Nethercote
cced47210c Bug 745068 - Minor front-end cleanups. r=jorendorff.
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Brian Hackett
8d5d467e8a Stop precisely tracking arguments and locals beyond a 1000 variable threshold, bug 735974. r=dvander 2012-04-15 21:38:53 -07:00
Brian Hackett
1e885365ff Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke 2012-04-15 21:19:44 -07:00
Justin Lebar
fcfe8663d1 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 12:20:54 +10:00
Justin Lebar
3224a73351 Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me 2012-04-16 11:34:00 +10:00
Justin Lebar
53370f1873 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 11:17:26 +10:00
Bobby Holley
e5b3f77326 Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm 2012-04-15 17:54:03 -07:00
Bobby Holley
57c411f141 Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap 2012-04-15 17:51:37 -07:00
Bobby Holley
81d2fb5c67 Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
962fe6a512 Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
b94bf966aa Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00
Bobby Holley
5ad283e61f Bug 745422 - Factor fundamental traps into js::AbstractWrapper. r=gal 2012-04-15 16:43:14 -07:00
Ms2ger
35284f64bb Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley 2012-04-14 15:07:31 +02:00
Ms2ger
cd73c4ce46 Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley 2012-04-14 15:05:19 +02:00
Ms2ger
cdc1f73263 Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Alessandro Decina
1c7e653fdb Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Ehsan Akhgari
290887ede1 Merge the last green PGO changeset on mozilla-inbound into mozilla-central; a=me 2012-04-18 16:18:04 -04:00
Bill McCloskey
c6102f0325 Bug 731837 - Fix GC mark time regression from IGC (r=igor,a=tracking-firefox) 2012-04-17 12:40:30 -07:00
Jeff Walden
ab97535c2d Bug 736591 - Reduce the amount of string allocation attempted in ecma_5/RegExp/regress-617935.js to hopefully reduce intermittent orange. (The limit the test previously checked is no longer correct, so the allocation need not be repeated quite so many times as it was before this patch.) r=luke 2012-04-16 17:34:36 -07:00
Christian Holler
5f271feed7 Bug 734976 - Call js_ReportOutOfMemory in jsgcinlines when simulating OOM. Original patch by Brian Hackett. r=luke,bhackett,jdemooij 2012-04-14 11:37:32 -07:00
Nicolas Pierron
45d2abd5fe Bug 745360 - Native calls are not function frames. r=luke 2012-04-13 18:27:57 -07:00
Luke Wagner
4a777f5ace Fix warnings in js/src (no bug, rs=dvander) 2012-04-13 18:03:33 -07:00
Mark Capella
47e4a1599d Bug 723530 - double error reporting in ctype JS api implementation, r=bholley 2012-04-27 12:47:00 +02:00
Terrence Cole
d692e55baf Bug 748397 - Do not use non-standard format chars in gcStats; r=billm
It turns out that %F is not in the standard for SuSv2 which apparently covers
the printf family.  This does the float printing in a hackier, but portable, way.
2012-04-26 15:21:19 -07:00
David Mandelin
7474323301 Bug 746036 diagnostic: crash on compartment mismatch entering JS_ExecuteScript, r=billm
--HG--
extra : rebase_source : ca6212351aa4e40ab3038aa45bda3329ab367f0c
2012-04-26 16:09:53 -07:00
Joey Armstrong
1df281a102 Bug 746151 - re-add approved patch edits that were merged away - r=coop 2012-04-26 18:12:20 -04:00
Bobby Holley
afd0a6ab09 Bug 747749 - Remove call to JS_SetGlobalObject in mozJSComponentLoader. r=luke 2012-04-26 20:40:11 +02:00
Ms2ger
c2a16b9ef9 No bug - NULL isn't a boolean (JS_InitCTypesClass edition); rs=Waldo 2012-04-26 20:02:33 +02:00
Jeff Walden
f569b84d3f Bug 746262 - Augment PropDesc so that it can represent the absence of a property by adding an isUndefined() method and bit, and checking it in all the relevant accessors. r=jorendorff
--HG--
extra : rebase_source : 45b29d3f65a9e01119f01d9a30f574038abcaea1
2012-04-18 15:06:30 -07:00
Jeff Walden
21a80f218f Bug 745944 - Make PropDesc assert propriety of access in its accessors, and privatize all PropDesc fields. r=jorendorff
--HG--
extra : rebase_source : 4c39a5437f7940684c9bc3624ca6d6f06579576e
2012-04-10 11:08:28 -07:00
Jeff Walden
e6fe181c19 Bug 747197 - Rename TIMECLIP to TimeClip to match the spec spelling (also as it's no longer a macro). r=luke
--HG--
extra : rebase_source : f4a1b1dc841e01fbd8a5d444ae7b6d29882b09e6
2012-04-19 16:22:08 -07:00
Jeff Walden
082cbd9d07 Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
--HG--
extra : rebase_source : 9adeb7048427d501dddc4a13b735309f7b1207c6
2012-04-19 16:18:24 -07:00
Terrence Cole
6b8c3b1c5a Bug 746236 - Fix make -C builddir jstestbrowser; r=ted.mielczarek
Broken by Bug 735549.
2012-04-17 11:40:57 -07:00
Terrence Cole
5d86dbd378 Bug 746829 - Group jsreftest options by category; r=dmandelin
Should be a mild usability improvement.  Also reorganizes the code to make
future changes easier.
2012-04-19 18:12:41 -07:00
Terrence Cole
12a1ff7afb Bug 745322 - Make a relocatable version of HeapId; r=billm
We cannot put implicitly post-barriered items into memory managed outside the
GC.

--HG--
extra : rebase_source : 9d4c8db78d887642dd06e60788e9d514040e92e4
2012-04-16 13:05:47 -07:00
Brian Hackett
6182fbbd16 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Bill McCloskey
a397838fbe Bug 750416 - Fix error in restoreValueArray in JS GC (r=igor) 2012-04-30 16:00:10 -07:00
Bill McCloskey
f040098556 Bug 750476 - Fix comment in gc/Barrier.h (r=NPOTB) 2012-04-30 13:51:55 -07:00
Justin Lebar
8bae8c2aa9 Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Kyle Huey
87f0bc8fd4 Bug 750253: Reorder generation of quickstubs header/cpp to avoid unnecessary rebuilds. r=ted 2012-04-30 12:30:00 -04:00
Mike Hommey
d643aad293 Bug 750290 - Remove tools/leaky. r=dbaron 2012-04-30 18:17:46 +02:00
Christian Holler
c58a3a8696 Bug 749768 - Disable valgrind for jit-tests when running with AddressSanitizer, r=khuey 2012-04-30 10:23:12 -04:00
Joey Armstrong
320de12b9d bug 748130: Replace FORCE dependencies, repacks are a conditional force. r=ted 2012-04-27 17:00:00 -04:00
Terrence Cole
5ac24e9b9c Bug 735549 - Generate the JS reftest suite's manifests automatically; r=dmandelin
--HG--
extra : rebase_source : 910bca5b40e37a69427cb3ab1332f24c00a0b2e7
2012-03-22 18:52:12 -07:00
Bobby Holley
a496ec55ac Bug 745661 - Make TI assertion handle safe mode, too. r=khuey 2012-04-16 16:57:36 -07:00
David Anderson
3a7a15cbe2 Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson
f0a562ebba Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Ed Morley
b9555a71ef Backout 3e24a0ebd104 (bug 726949) for M-oth orange; a=backout 2012-04-19 12:28:43 -07:00
Boris Zbarsky
549135f239 Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Jason Orendorff
92468d9c4d Bug 738617 - Revert changeset 6d139ebc0f43 (bug 730139). Reserving let breaks some web sites. r=Waldo, a=mfinkle. 2012-04-18 15:07:11 -05:00
Steve Fink
62a5eb3725 Bug 747543 - Convert JIT registration API to use JITChunks nearly everywhere in place of JITScripts. r=bhackett
--HG--
extra : rebase_source : fd1ab3d4e24b8046b85421b29dfa96e1a74bf608
2012-01-30 16:13:24 -08:00
Steve Fink
f05afcc260 Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
c8e72b6a54 Bug 730208 - Root JSD's pet global so it can't participate in CC cycles. r=billm
--HG--
extra : rebase_source : 9211b881e0c0931bd7df16989bed492449b1c74f
2012-03-20 21:29:47 -07:00
Steve Fink
86212c400a Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
--HG--
extra : rebase_source : a1d56aa4dc9dcf1fe280c42667710494f2481a7c
2012-03-20 21:22:40 -07:00
Steve Fink
b4d3e4eef9 Bug 730208 - Implement js::IsIncrementalBarrierNeededOnScript. r=billm
--HG--
extra : rebase_source : 2f065e0dae6c2789b547b677eb0e8ebb466feec2
2012-04-24 16:29:03 -07:00
Ryan VanderMeulen
bbc1dda5da Bug 747243 - Fix MSVC warning with a little JS_FRIEND_API love. r=billm 2012-04-24 19:50:00 -04:00
David Rajchenbach-Teller
c212827e5a Bug 742384 - Have CDataFinalizer.dispose return a value. r=jorendorff 2012-04-13 23:56:03 +02:00
David Rajchenbach-Teller
9d261ccdca Bug 720771 - Implement finalization for CData values. r=jorendorff 2012-04-05 15:06:25 +02:00
Jeff Walden
27d927a159 Back out a9764c9ec124, d8aac2bd90db, d167f7fbb53e, and ca7b13e02cd5 for not-entirely-trivial build bustage. r=bustage 2012-04-24 16:47:28 -07:00
Jeff Walden
c9c6ded92f Add a NumberValue(uint64_t) overload, and remove the size_t overload, as it might be the case that size_t and uint32_t, say, are the same type. Followup to bug 747197, r=bustage 2012-04-24 16:29:42 -07:00
Jeff Walden
102e57eba9 Bug 739380 - Start to implement a [[HasProperty]] hook, per the proto-climbing refactoring, for elements. r=bhackett
--HG--
extra : rebase_source : a48f4fc318145fd1c089cfb5b4df05eb1ff4350c
2012-04-10 16:33:44 -07:00
Jeff Walden
19307f19ce Bug 739380 - Start to implement the [[SetP]] hook from the proto-climbing refactoring. r=bhackett
--HG--
extra : rebase_source : 80de606a7e0128b0e61b35af0f31b6b4876e6b6f
2012-04-09 16:03:23 -07:00
Jeff Walden
e07abf10ae Bug 739380 - Start to implement the default [[GetP]] hook from the proto-climbing refactoring for the various element types. r=bhackett
--HG--
extra : rebase_source : 0270610c88d3315023a4cc582abbaf62dcf8a1cc
2012-04-10 16:33:44 -07:00
Jeff Walden
3518781dd9 Bug 747197 - Rename TIMECLIP to TimeClip to match the spec spelling (also as it's no longer a macro). r=luke
--HG--
extra : rebase_source : 28083b4eeeee68c829b8804545d3ad6bb5660561
2012-04-19 16:22:08 -07:00
Jeff Walden
104f1b9521 Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
--HG--
extra : rebase_source : a564ba8f6a4350c1c49359f08e9de44670b89aeb
2012-04-19 16:18:24 -07:00
Jeff Walden
fe0c58dc72 Bug 746262 - Augment PropDesc so that it can represent the absence of a property by adding an isUndefined() method and bit, and checking it in all the relevant accessors. r=jorendorff
--HG--
extra : rebase_source : 50294d6b3abd9c6730d7e369220efc831f240c6a
2012-04-18 15:06:30 -07:00
Jeff Walden
67b7262ea0 Bug 745944 - Make PropDesc assert propriety of access in its accessors, and privatize all PropDesc fields. r=jorendorff
--HG--
extra : rebase_source : 56e51a95253f95442f09e441620b2fac3f758c53
2012-04-10 11:08:28 -07:00
Jeff Walden
b2e6b4ac1c Fix class/struct mismatch warnings for js::ArrayBufferObject. Followup to bug 741040, r=chucktesta
--HG--
extra : rebase_source : c5f0daa4261896c8c5013872b1aa9cf367adeebc
2012-04-24 15:39:21 -07:00
Terrence Cole
e7d82123c0 Bug 744880 - Make Relocatable HeapValue for use with manual post barriers; r=billm
We cannot have implicit post barriers run on any pointer that can be relocated
outside of the GC's control. This includes things like HashTables and Vectors.

--HG--
extra : rebase_source : 7bae3ab9e319be48c343be58d6858b43b743e581
2012-04-13 14:33:18 -07:00
Steve Fink
73e692d5bb Bug 741040 - Make an ArrayBufferObject subclass of JSOBject. r=Waldo
--HG--
extra : rebase_source : 63dd1cc69cfae37203c1f037d5a4b0b5c5651e7b
2012-03-28 14:43:01 -07:00
Steve Fink
ebafdfcab0 Bug 748109 - jstests.py cannot find any test cases. r=terrence
When I do:
  cd js/src/tests
  python jstests.py $js_bin js1_8_5/extensions

it is unable to find any tests to run because it's looking relative to the jstests.py script, but at least in this case that is a relative path (plain "jstests.py") so os.path.dirname(__file__) is the empty string and that doesn't seem to work very well.

--HG--
extra : rebase_source : 1cdc461680ceadba26fc512a50d9c7247a187744
2012-04-21 15:51:04 -07:00
Bill McCloskey
1c968f999d Bug 744727 - Fix methodjit register alloc bug (r=bhackett) 2012-04-24 13:36:20 -07:00
Jim Mathies
017f2d0691 Bug 737969 - Win8 Metro build config. r=ted 2012-04-24 14:28:19 -05:00
Terrence Cole
00a9f8fa63 Bug 748397 - Fix broken JSON when there is a ',' in LC_NUMERIC; r=billm
--HG--
extra : rebase_source : 5e086466273671dbecacb7d877990250d428db6e
2012-04-24 11:25:20 -07:00
Tom Schuster
9d15dfd22d Bug 735036 - Check for OOM in debug only method. r=luke 2012-04-24 20:03:48 +02:00
Steve Fink
2e2b881b4a Bug 747543 - Convert JIT registration API to use JITChunks nearly everywhere in place of JITScripts. r=bhackett
--HG--
extra : rebase_source : a2ccddb35663ee3365f1440133c59a69ba4babca
2012-01-30 16:13:24 -08:00
Steve Fink
a8815e8038 Bug 748915 - Implement JS_IsArrayBufferViewObject
Also includes some warnings fixes.

--HG--
extra : rebase_source : 79f95f42db10a7ee20971dac3abd7364c4ef91f5
2012-03-28 14:43:01 -07:00
Matt Brubeck
654badcd06 Merge mozilla-central to mozilla-inbound 2012-04-13 14:09:05 -07:00
Nicolas Pierron
687329b7b8 Bug 744670 - Port StackIter modification of IonMonkey. r=luke 2012-04-13 13:45:01 -07:00
Jim Blandy
08451a0dcb Bug 743351: Implement Debugger.Script.prototype.staticLevel. r=jorendorff 2012-04-13 13:17:18 -07:00
Matt Brubeck
3d87d59e95 Bug 745233 - Back out 33e485d0e23b, 26eb08593f89, ce72679ffb95, 10b783e85c1e (bug 720771, bug 742384) because of Linux64 PGO crashes 2012-04-13 10:40:27 -07:00
Matt Brubeck
3f73a423cd Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Jeff Walden
189a897f22 Attempt to fix OS X (gcc 4.2) build bustage. No bug, r=gcc-42-should-die 2012-04-12 18:32:25 -07:00
Jeff Walden
101e274a79 Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Luke Wagner
e7a6830156 Bug 744842 - don't include actual args in error.stack.toString (r=dmandelin)
--HG--
extra : rebase_source : 66a780c6abfc4fadc7cc08ed97224296af20ad61
2012-04-11 18:07:44 -07:00
Jeff Walden
df0882ce81 Bug 739380 - Convert the defineElement hooks to use an ECMAScript-style [[DefineOwnProperty]] interface, not the old-school SpiderMonkey defineProperty interface. r=bhackett
--HG--
extra : rebase_source : e43fcbfdb76c61b4ecd7a5f4b1d17aefa0d19f83
2012-04-09 15:15:46 -07:00
Joey Armstrong
b9be7579ea Bug 742835 - autotargets.mk: handle mkdir dot requests - r=ted 2012-04-13 14:44:24 -04:00
David Mandelin
eff411d536 Bug 736609: fix typo, r=sfink, a=akeybl
--HG--
extra : rebase_source : 4299196454f1a078ada48328a953d571efea9a4a
2012-04-12 11:54:47 -07:00
Bobby Holley
babe364f16 Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap 2012-04-12 11:21:12 -07:00
Bill McCloskey
e3c3dabac3 Bug 744489 - Fix incremental GC assertion in ValidateIncrementalMarking (r=igor) 2012-04-12 11:14:43 -07:00
Bill McCloskey
383ffc625c Bug 742843 - Clean up weakmap header (r=terrence) 2012-04-09 11:42:04 -07:00
Bill McCloskey
921ed46e70 Bug 740609 - Handle null filename (r=luke) 2012-04-12 11:03:45 -07:00
Bill McCloskey
e38548519d Bug 740509 - Trace through all type properties for non-GC tracers (r=bhackett) 2012-04-12 11:03:40 -07:00
Bill McCloskey
e8d0b233a3 Bug 744285 - Fix conservative stack scanning for non-GC tracers (r=igor) 2012-04-12 11:03:20 -07:00
Brian Hackett
bf3e148c0a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Nathan Froyd
ed45231365 Bug 614188 - Part 3: build double-conversion as a part of MFBT; r=Waldo 2012-04-09 12:05:11 -04:00
Terrence Cole
06c513557e Bug 744192 - Assert that Vectors do not contain implicitly postbarriered types; r=luke
Since vectors move their memory around outside the control of the GC, it is not
valid to store an implicitly post-barriered item in a Vector.

--HG--
extra : rebase_source : 2cef4d855cc4e926cea872cda18e5cf29230f0a7
2012-04-11 17:14:11 -07:00
Bas Schouten
88b755bca9 Bug 719776 - Part 2: Make MOZ_CRASH and MOZ_ASSERT expand inline. r=waldo 2012-04-12 02:03:07 +02:00
Brian Hackett
02a516051e Use right compartment iterator when profiling scripts, bug 744611. r=billm 2012-04-11 15:54:55 -07:00
Terrence Cole
59e9f32d2b Bug 743868 - Fix barriers in SupressDeletedProperties; r=billm
Right now, we simply stop tracing through deleted properties. This causes us to
delete things that are still in the write buffer. We need to, in addition, set
the reference to NULL to ensure that the write buffer doesn't dereference these
dead entries.

--HG--
extra : rebase_source : add220d5fb47e0e3ffd767c9b5ebd6172df07671
2012-04-09 16:52:50 -07:00
Masatoshi Kimura
d72b323902 Bug 743049 - Part 1: Add a friend API to get an error type name from a number. r=luke 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
0cd58c8a6f Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Terrence Cole
04d84ae8bf No bug - Warning fix for 91357:fa24b215d49e; r=luke
--HG--
extra : rebase_source : 9d48a4a09cb54d711a24da41576ffc24d44a3cb4
2012-04-11 10:32:50 -07:00
Terrence Cole
306f897d42 Bug 743896 - Fix failure misattribution in jstest runner; r=dmandelin
In the unix task runner, when we kill tasks, we should be checking and returning
bool if we kill so that we then run waitpid in timeout mode.  We weren't, so
tasks were never failing with timeout, only with failure.  It turns out that
this is not safe anyway: it will race against signal delivery.  We're better off
just removing this hack and letting the timeout cutoff be fuzzy.

--HG--
extra : rebase_source : cd44838e67cf541fd5741406e8c3f02ad7530f16
2012-04-11 10:02:33 -07:00
Nathan Froyd
301dbca285 Bug 743988 - unconditionally link PROGRAMS and SIMPLE_PROGRAMS with CXX; r=ted 2012-04-10 10:16:26 -04:00
Jan de Mooij
c172af7ba1 Bug 742393 - Don't inline array.concat if the array prototype has indexed properties. r=bhackett 2012-04-11 18:49:42 +02:00
Phil Ringnalda
dc765d4953 Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
8ecf21d31c Bug 719776 - Part 1 - Followup: Fix one more case of assuming ASSERT expands to an expression. r=bustage 2012-04-11 17:18:30 +02:00
Bas Schouten
4458bdfe56 Bug 719776 - Part 2: Inline MOZ_Assert and MOZ_Crash. r=waldo 2012-04-11 16:55:31 +02:00
David Rajchenbach-Teller
108eebc31e Bug 742384 - CDataFinalizer.dispose now returns a value. r=jorendorff 2012-04-11 10:46:19 +02:00
David Rajchenbach-Teller
1ff0a12dd6 Bug 720771 - Implementing finalization for CData values. r=jorendorff 2012-04-05 15:06:25 +02:00
Mike Hommey
451bafe5f3 Bug 644608 - Implement full dependencies for expandlibs. r=ted
* * *
Bug 644608 - Fixups
2012-03-31 09:24:39 +02:00
Nicholas Nethercote
31d7713366 Bug 739512: Patch 9: move JSScript::debug into a table. r=jorendorff. 2012-04-10 18:03:01 -07:00
Jeff Walden
3185f1f95e Attempt to fix OS X (gcc 4.2) build bustage. No bug, r=gcc-42-should-die 2012-04-12 18:32:25 -07:00
Jeff Walden
4d7d402134 Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Brian Hackett
49f87b254c Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Nicholas Nethercote
091eef05a5 Bug 739512 - Patch 8: move sourceMap into a table. r=jorendorff.
--HG--
extra : rebase_source : a986cf630b84c9b531e6179afce57b0e8c69d1ff
2012-04-09 19:56:04 -07:00
Andrew McCreight
c3b5a510a8 Bug 744272. disable test_watchpoints due to bogus failures. rs=billm 2012-04-10 18:43:22 -07:00
Nicholas Nethercote
70a553b78b Bug 739512 - Patch 7: move scriptCounts into a table (attempt 2). r=bhackett. 2012-04-10 18:41:42 -07:00
Nicholas Nethercote
8bdc9b2a07 Backed out changeset fdd10e0e6e5e (bug 739512) due to 32-bit bustage. 2012-04-10 18:36:08 -07:00
Nicholas Nethercote
12cb5ac08b Bug 739512 - Patch 7: move scriptCounts into a table. r=bhackett. 2012-04-09 19:50:06 -07:00
Jeff Walden
0457887cdb Bug 743878 - Move uint8_clamped and associated machinery into ObjectImpl.h, so that the new object representation can use it as well. r=sfink 2012-04-09 15:14:59 -07:00
Terrence Cole
8c91faa124 Backed out changeset a43eb4a2d2fd 2012-04-10 17:03:25 -07:00
Terrence Cole
23e2dd5dc5 Bug 744192 - Assert that Vectors do not contain implicitly postbarriered types; r=luke
Since vectors move their memory around outside the control of the GC, it is not
valid to store an implicitly post-barriered item in a Vector.
2012-04-10 16:43:54 -07:00
Luke Wagner
ca9f2eb792 Fix --disable-methodjit bustage (no bug, r=red) 2012-04-10 14:57:15 -07:00
Luke Wagner
53b1f856fe Bug 740259 - add ALIASEDVAR ops, assert they are used iff the variable is aliased (r=bhackett,waldo,jorendorff,dherman) 2012-03-24 12:29:36 -07:00
Luke Wagner
4a5cf1cd46 Bug 740446 - make 'arguments' more like a normal local binding (r=bhackett) 2012-04-02 08:58:30 -07:00
Luke Wagner
cebbba852e Bug 740259 - Assert that dynamic binding access is expected (r=bhackett) 2012-03-16 12:02:37 -07:00
Luke Wagner
cf110a1054 Bug 740259 - Tighten assertions around closed-var noting (r=bhackett) 2012-03-28 16:36:57 -07:00
Brian Hackett
cddc63d7af Treat FILTER and ENDFILTER as unknown ops, bug 740595. r=luke 2012-04-10 12:59:38 -07:00
Brian Hackett
87a73454cf Remove bogus assert, bug 727476. r=luke 2012-04-10 12:56:59 -07:00
Brian Hackett
0cdfe44fd2 Avoid assert botch in makeLazyType after types have been nuked, bug 734978. r=luke 2012-04-10 12:36:26 -07:00
Brian Hackett
ed990a27c8 Don't botch assert after OOM while constructing object's lazy type, bug 735016. r=luke 2012-04-10 12:27:13 -07:00
Brian Hackett
77930876d9 Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke 2012-04-10 12:24:46 -07:00
Brian Hackett
0c39a16808 Preserve invariant between saved array and lifetime variables' saved fields on OOM during analysis, bug 735045. r=luke 2012-04-10 12:16:42 -07:00
Brian Hackett
1988d9b71c Nuking types should be recognized as a recompilation by enclosing monitors, bug 735012. r=dvander 2012-04-10 12:10:04 -07:00
Brian Hackett
ccc0237cf8 Don't botch assert after OOM while linking ICs, bug 727344. r=dvander 2012-04-10 12:07:26 -07:00
Terrence Cole
dfd9f312e5 Bug 744052 - Restructure HashTable::checkOverflow for easier reading; r=luke
When I added this function, I just copied the existing logical structure.  It
makes more sense here to check overflowed and return early, since we can do this
now.
2012-04-10 09:51:48 -07:00
Ehsan Akhgari
5203026f2f Merge mozilla-central into mozilla-inbound 2012-04-10 11:12:26 -04:00
Ehsan Akhgari
46c4c63e28 Merge the last PGO-green changeset from mozilla-inbound into mozilla-central 2012-04-10 11:11:37 -04:00
Igor Bukanov
b55c0c0cb1 Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
The patch removes unused  anynameObject and functionNamespaceObject fields in JSRuntime.
2012-04-10 11:57:29 +02:00
Terrence Cole
9a178239bc Bug 743885 - Fix OOM handling regression in HashTable; r=luke
Introduced by me in bug 722946.
2012-04-09 19:07:11 -07:00
Kyle Huey
902e133eab Refix bug 741248 harder. r=me 2012-04-09 17:41:22 -07:00
Brian Hackett
d73b9c4ac3 Don't disable call ICs with the callee frame still on the stack, bug 743088. r=luke 2012-04-09 17:33:42 -07:00
Nicholas Nethercote
04470bd3ad Bug 742163 (follow-up) - Unbreak --disable-methodjit. r=Ms2ger. 2012-04-09 16:41:27 -07:00
Nicholas Nethercote
a6b25d88ec Bug 739512 - Patch 2b: rename nClosed{Args,Vars}() as numClosed{Args,Vars}(). r=luke. 2012-04-09 16:37:16 -07:00
Matt Brubeck
4ee87a2a2f Merge last green changeset from inbound to mozilla-central 2012-04-09 10:05:48 -07:00
Takanori MATSUURA
4a483c2e4c Bug 743433 - Remove .orig files which were accidentally added by bug 680246. r=khuey 2012-04-07 08:48:23 -04:00
Igor Bukanov
d3018bc6d8 Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.

The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Kyle Huey
c06dcdfb58 Fix Bug 743376. r=bz 2012-04-06 17:44:50 -07:00
Mike Hommey
061c97a943 Backout bug 644608 for subtly breaking layout/media build 2012-04-06 13:57:24 +02:00
Mike Hommey
9fd9d15ea4 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2012-03-31 09:24:39 +02:00
Mike Hommey
24eb677c51 Bug 741287 - Make expandlibs_gen.py error out when given a missing file. r=ted 2012-04-06 10:16:25 +02:00
Terrence Cole
fb3b904143 Bug 730452 - Trigger post barriers on moveDenseArrayElements; r=billm
We cannot do this per-element because it is too slow.  Instead we have a special
storebuffer entry for this case so we can do all work at gc time.

--HG--
extra : rebase_source : 7e48184d38b442b2bdba38553cf93f9d629debf1
2012-04-05 17:56:53 -07:00
Jim Blandy
c61eb2aa08 Bug 733461: Implement the 'query' parameter of Debugger.prototype.findScripts. r=jorendorff 2012-04-05 17:10:44 -07:00
Bill McCloskey
54a6aeb374 Bug 739899 - Fix clang warning (rs=terrence) 2012-04-05 17:05:34 -07:00
Bill McCloskey
a9a7de26a1 Bug 739899 - Fix orange 2012-04-05 16:50:40 -07:00
Terrence Cole
08a207686f no bug: Warning fix at predeclaration of AutoCompartment; r=jorendorff 2012-04-05 16:31:26 -07:00
Bill McCloskey
6deca8df52 Bug 742570 - Improve shell control of incremental GC (r=igor) 2012-04-04 15:07:36 -07:00
Bill McCloskey
6090417a56 Bug 742570 - Improve GC testing functions (r=igor) 2012-04-03 14:07:38 -07:00
Bill McCloskey
714dde6b82 Bug 742570 - Change API for compartment GCs (r=igor) 2012-04-03 12:23:11 -07:00
Bill McCloskey
210b823250 Bug 742570 - Remove the compartment option for gczeal (r=igor) 2012-04-03 11:41:56 -07:00
Bill McCloskey
2200b651e3 Bug 739899 - Eliminate the distinction between full and compartment GCs (r=igor) 2012-04-02 18:29:11 -07:00
Luke Wagner
d88d81a4df Bug 743034 - Fix script proto exec. r=bholley 2012-04-05 15:44:55 -07:00
Gabor Krizsanits
74922f0040 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Bobby Holley
56658e2cea Bug 739825 - Push principals when entering compartments in structured clone. r=mrbkap 2012-04-05 14:02:34 -07:00
Igor Bukanov
f16ca3a2a1 Bug 737364 - part 1 - stop using the cx in the GC implementation
This part removes JSContext::gcBackgroundFree, moves all mark-related
cleanup code to run right after the marking is done for clear mark/sweep
separation and eliminates all JSContext references in the GC
implementation. That allowed to remove a wait for the bakground
finalization to finish in js_DestroyContext. As a followup for the bug
737365 the patch also replaces in few cases the JSContext argument with
FreeOp in infallible code that only free/destroy things.
2012-03-25 09:48:45 +02:00
Jason Orendorff
f36484c27a Fix "Assertion failure: srcArgs.callee().toFunction()->native() == native || srcArgs.callee().toFunction()->native() == js_generic_native_method_dispatcher, at jswrapper.cpp:788." Bug 743101, r=djvj. 2012-04-06 16:58:43 -05:00
Jason Orendorff
96b77212a3 Debugger.Environment.getVariable and setVariable. Bug 692984, r=jimb.
--HG--
extra : rebase_source : fb68abbd27b3ca0809b20d99411ac797b337d227
2012-04-06 16:48:38 -05:00
Jason Orendorff
2743146e55 Comment class js::FreeOp. No bug, no_r=me.
--HG--
extra : rebase_source : cd664de1c5aeca650b904f3ffc780c237c7044f3
2012-04-04 12:03:14 -05:00
Terrence Cole
e1c00af8a2 Bug 737258 - Provide the real thing location to the marker callback; r=billm
In debug builds only, this adds a new void* to the JSTracer struct so that users
that would have to lie about their address in order to mark safely can still
provide the real location to users that care.

--HG--
extra : rebase_source : 3e64c975a97f6f22b94e1bab522a18eb37ceb906
2012-04-05 16:10:53 -07:00
Terrence Cole
93868c449a Bug 743047 - Make the script atoms HeapPointers; r=billm
These are only initialized and then read from, but we need to barrier the init
so that we will have a remembered set entry for atoms that are in the nursery.

--HG--
extra : rebase_source : 9a5a1eb3e0c76d4624a978627ff901d336b0c540
2012-04-05 15:54:57 -07:00
Takanori MATSUURA
ad43cf956c Bug 737006 - Use internal ply only if needed. r=khuey 2012-04-06 14:06:52 -04:00
Luke Wagner
f604f5398d Bug 738279 - Change 'pc' to match 'sp' in forced return path (r=bhackett)
--HG--
extra : rebase_source : 24cecb569cdb5df33737877bc3f02a5ceea342b1
2012-04-09 09:12:44 -07:00
Luke Wagner
6ffef1aa05 Bug 723445 - StackIter should ExpandInlineFrames in all compartments, not just the current one (r=bhackett)
--HG--
extra : rebase_source : 4dfa9962367f0cc6cf3b5657c9fbc5a425f15f41
2012-04-09 09:11:26 -07:00
Takanori MATSUURA
3a7dae27d5 Bug 743630 - Remove unsed variable XPIDL_COMPILE. r=khuey 2012-04-09 13:36:14 -07:00
David Mason
0709bb2f56 Bug 732779 - Update Date.prototype.set{Second,Minute,Hour,etc} methods to not short-circuit argument evaluation when this date is invalid or a leading argument converts to NaN. r=jwalden
--HG--
extra : rebase_source : cd10ac2d8a4cc5a55d971692def76cadaf4c4bd1
2012-04-06 18:06:14 -07:00
Ms2ger
488b5263dd Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Josh Matthews
6bc17c8afa Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley 2012-02-14 16:26:05 -05:00
Jim Blandy
1c14d48cab Bug 741615: Replace Debugger.prototype.wrap with Debugger.Object.prototype.makeDebuggeeValue. r=jorendorff 2012-04-05 12:30:35 -07:00
Bobby Holley
b36c773a23 Bug 739796 - Make same-origin cross-compartment Location object access go through the LW in the host compartment. r=gal
--HG--
extra : rebase_source : d5e07d4628bfd5990d127b4316219a43c4e0de88
2012-04-05 12:21:12 -07:00
Bobby Holley
b1e579a168 Bug 739796 - Make js_TransplantObjectWithWrapper and GetSameCompartmentSecurityWrapper play nicely together. r=mrbkap
--HG--
extra : rebase_source : c132069987b4cae121dfcf1b19ffacaee845df1e
2012-04-05 12:21:12 -07:00
Bobby Holley
6192344bd1 Bug 739796 - Move same-compartment security wrapping into a method on XPCWrappedNative. r=gal
--HG--
extra : rebase_source : 48c61d699d27d390be2bcfb006f12264345f9d49
2012-04-05 12:21:12 -07:00
Daniel Holbert
1d7de02883 Bug 742788: Fix two 'warning: comparison of unsigned expression >= 0 is always true' in js. r=luke 2012-04-05 10:56:22 -07:00
Ehsan Akhgari
ac25c078a1 Merge mozilla-inbound and mozilla-central 2012-04-05 13:41:51 -04:00
Ehsan Akhgari
47a6da0be5 Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-05 13:40:53 -04:00
Boris Zbarsky
284e65c088 Bug 738356. Add JSAPI for doing the equivalent of Function.prototype.bind. r=jorendorff 2012-04-05 13:14:52 -04:00
Mike Hommey
8707a0e9c7 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Nicholas Nethercote
80c5f174fb Bug 742163 - Clean up JSScript::jitArityCheck{Normal,Ctor}. r=dvander. 2012-04-05 00:02:02 -07:00
Chris Cooper
fb51fe56fa Merge build-system to mozilla-central 2012-04-04 14:02:07 -04:00
Joey Armstrong
3bf09bb5ab Bug 738404 - Makefile.in edits to use threadsafe mkdir (bug 680246) - r=ted 2012-04-03 16:08:16 -04:00
Joey Armstrong
72717d870d Bug 735638 - add utility function checkIfEmpty - r=khuey 2012-04-03 13:34:04 -04:00
Joey Armstrong
1556f96978 Bug 734121 - helper macros for writing make user functions - r=khuey 2012-04-03 13:32:46 -04:00
Phil Ringnalda
87bb926ef4 Merge m-c to b-s 2012-04-03 08:27:38 -07:00
Nicholas Nethercote
2ded0a7107 Backout 2f9b6bdf63f7 (bug 739512) due to a bad V8 regression. r=me. 2012-04-02 18:02:54 -07:00
Bill McCloskey
da1df5ad06 Bug 716142 - Multi-compartment GC (r=igor,jorendorff) 2012-04-02 17:02:25 -07:00
Joey Armstrong
f9d62546f1 Bug 680246 - add missing files from import - r=khuey 2012-04-02 15:28:37 -04:00
Joey Armstrong
aa2d8dc13c Bug 680246 - add a makefile library rule to support thread safe directory creation - r=khuey 2012-04-02 13:06:06 -04:00
David Mandelin
c2dbf26676 Bug 737780: diagnostic for crashes in GetNameFromBytecode, r=luke 2012-04-02 11:31:37 -07:00
Terrence Cole
0031d321a6 Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=Waldo
We still have to continue building and linking jsdhash.cpp for XPConnect, but
this kills the remaining users in SpiderMonkey proper.
2012-03-30 10:33:20 -07:00
Terrence Cole
fe3125c03a Bug 741005 - Remove XPCNativeWrapperMap; r=bholley
This appears to be completely unused.
2012-03-30 15:56:35 -07:00
Matt Brubeck
678b0cfe89 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Luke Wagner
147cb7b0ee Fix semicolon warning in js/src (no bug, r=me)
--HG--
extra : rebase_source : 698de99375bcba9438a73460db3e04082d7ca0a9
2012-04-04 18:23:21 -07:00
Bobby Holley
c8ac59fb33 Bug 737251 - Reuse the throwing code in jsobj.cpp for jsproxy.cpp. r=luke 2012-04-04 17:26:21 -07:00
Bobby Holley
12f76c4989 Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part3. r=luke 2012-04-05 09:39:41 +10:00
Bobby Holley
c26ed100c4 Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part2. r=luke 2012-04-05 09:39:25 +10:00
Bobby Holley
239bf91898 Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part1. r=luke 2012-04-05 09:38:47 +10:00
Nicholas Nethercote
ba5600fd65 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Phil Ringnalda
bdbd325a96 Back out 6c435c96f10a (bug 736591) for Mac jsreftest orange 2012-04-03 21:03:30 -07:00
Terrence Cole
19334ee834 Bug 742114 - Remove duplicate marking of TypeObject::interpretedFunction; r=billm
This looks like a merge conflict that I didn't resolve correctly.  I also took
the liberty of re-ordering the marking here to match what's in MarkChildren and
the declaration ordering of TypeObject.

--HG--
extra : rebase_source : 33beeb5ea33f8238f6d4d17c223d29acdbfa9457
2012-04-03 18:33:41 -07:00
Jeff Walden
48d5674e72 Bug 736591 - Ensure that StringBuffer never allocates more memory than is needed to represent a maximum-sized string. Thanks for the technique/idea go to Luke. r=luke
--HG--
extra : rebase_source : 3c35b6ac2541425812c57bc76374a43c3a554bbe
2012-04-03 17:18:46 -07:00
Masatoshi Kimura
3ccd955228 Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke 2012-04-03 20:08:28 -04:00
David Rajchenbach-Teller
4adff58654 Bug 684017 - Implement ctypes.errno and ctypes.winLastError. r=jorendorff 2012-04-02 15:38:20 +02:00
Jeff Walden
411ed5eb97 Bug 739380 - Begin to implement element definition. r=bhackett
--HG--
extra : rebase_source : 25fff9bc91610457feaaf45faa8d42dfec162384
2012-03-21 13:32:55 -07:00
Jeff Walden
8eaf33d504 Bug 739380 - Define an ElementsHeader base class for all element subtypes, and define meaningful subclasses through which to use an ElementsHeader. r=bhackett
--HG--
extra : rebase_source : adb6feb2278c3130ec890d0e38b7bf1dd9e7e1e1
2012-03-21 13:32:55 -07:00
Matt Brubeck
8771612c40 Merge mozilla-central to mozilla-inbound 2012-04-02 11:03:29 -07:00
Matt Brubeck
6c039eb840 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Nicholas Nethercote
ae72c736fe Bug 739512 - Patch 6: improving naming of PCCount-related stuff. r=bhackett. 2012-04-01 13:24:56 -07:00
Nicholas Nethercote
85df966f34 Bug 739512 - Patch 5: remove JITScript::arityCheckEntry. r=dvander. 2012-04-01 13:24:52 -07:00
Kyle Huey
69f68d7938 Bug 722671: Components.utils.getWeakReference should get a reference to the underlying native object if possible. r=mrbkap 2012-04-01 19:21:13 -07:00
Ed Morley
651aa424a1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
52040c2148 Backout 82c315c0bd14 (bug 644608) for suspected SHARED_LIBRARY_LIBS_DEPS issues on a CLOSED TREE 2012-03-31 13:18:29 +01:00
Mike Hommey
82633948f4 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2012-03-31 09:24:39 +02:00
Peter Van der Beken
09128a75d3 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Terrence Cole
519515c457 Backout 00f2e1e9adc2 after mq malfunction. 2012-03-29 17:52:45 -07:00
Terrence Cole
315c82925b Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap 2012-03-27 09:55:55 -07:00
Peter Van der Beken
8944dee246 Fix for bug 740064 (Refactor XrayWrapper). r=bholley.
--HG--
extra : rebase_source : 60559d74b10761a794d83a0a63dc60a92b2d48eb
2012-03-27 16:31:37 -07:00
Nicholas Nethercote
0180fca1d0 Bug 739512 - Patch 2: space-optimize representation of closedArgs and closedVars. r=dvander.
--HG--
extra : rebase_source : 8738fae7581265ba464899c9a7b6c53c118740b8
2012-03-25 17:07:33 -07:00
Terrence Cole
12ae3214a2 Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=?
This does not build jsdhash.cpp for SpiderMonkey, but does keep it in tree for
the remaining users in xpconnect.

--HG--
extra : rebase_source : 5780e1e024a247d619a548541ad84cbeeba6c75b
2012-03-23 16:00:01 -07:00
Bobby Holley
dbae036f37 Bug 740469 - JSNative->JSFunction fixup should happen in DefinePropertyById, not DefineProperty. r=luke 2012-03-29 13:34:36 -07:00
Dão Gottwald
4356f0181f Backed out changeset 6cb9adc02c12 2012-03-29 20:35:49 +02:00
Masatoshi Kimura
0b90477166 Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke 2012-03-29 19:49:21 +02:00
Doug Turner
71e90e76a3 Bug 739760 - doubles and floats can't be used in dictionaries. r=khuey 2012-03-29 00:05:44 -07:00
Luke Wagner
ad32da72b6 Bug 733793 - Check for null return from JS_ObjectToOuterObject (r=bholley)
--HG--
extra : rebase_source : 2b7fbb3a72f641785de7f7707e9b6e8013b4eb6d
2012-03-28 16:15:38 -07:00
Andrew McCreight
d986e69874 Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug 2012-03-28 21:51:46 -07:00
Andrew McCreight
241631d5df Bug 712735 - Don't add JS holders with no gray children as XPConnect roots. r=smaug 2012-03-28 21:23:01 -07:00