Commit Graph

28726 Commits

Author SHA1 Message Date
Bobby Holley
4819690f50 Bug 732665 - Disable a few test on mac. r=tbsaunde,me
These tests trigger very slow infinite recursion in the status quo. With the
existing stack quotas, they always (or usually) hit the native stack limit
before the test times out, causing them to be green on tinderbox. But when
we bump the debug mac stack limit, they end up timing out. We have bugs on
file for the various issues, but let's not let them block this landing.
2013-08-28 11:04:15 -07:00
Luke Wagner
3a9c72568e Bug 900669 - OdinMonkey: store relative offsets in AsmJSModule::{Exit,ExportedFunction} (r=bbouvier) 2013-08-23 17:51:46 -05:00
Luke Wagner
de0a7992dc Bug 900669 - OdinMonkey: un-HeapPtr more AsmJSModule property names (r=terrence) 2013-08-23 17:32:47 -05:00
Luke Wagner
fd668d42f9 Bug 900669 - OdinMonkey: put memcpy-able data in 'pod' fields of AsmJSModule (r=bbouvier) 2013-08-12 18:40:52 -05:00
Boris Zbarsky
be1711a990 Bug 909645 part 4. Don't include ipdl headers in DesktopNotification.h. r=ms2ger,glandium 2013-08-28 00:14:57 -04:00
Nicholas D. Matsakis
ffcd00eaa0 Bug 898347 - Re-enable binary data now that fuzzing is complete (Part 0/6) rs=trivial 2013-08-01 09:38:21 -04:00
Nicholas D. Matsakis
25e6fe76ca Bug 898347 - Allow addenda to be added to binary blocks (Part 6/6) r=bhackett 2013-08-16 17:32:58 -04:00
Nicholas D. Matsakis
c9d3a4090f Bug 898347 - Allow TypeRepresentation objects to be attached to TI objects (Part 5/6) r=bhackett 2013-08-01 09:47:19 -04:00
Nicholas D. Matsakis
e088a95129 Bug 898347 - Generalize the newScript field on type objects into an "addendum" (Part 4/6) r=bhackett 2013-07-20 16:18:53 -04:00
Nicholas D. Matsakis
d57113c33b Bug 898347 - Convert binary data to use TypeRepresentation (Part 3/6) r=sfink 2013-08-12 21:56:24 -04:00
Nicholas D. Matsakis
d414da006b Bug 898347 - Make typed array use type repr constants (Part 2/6) r=sfink 2013-08-12 22:00:50 -04:00
Nicholas D. Matsakis
70e15a89e0 Bug 898347 - Add canonical type representation objects (Part 1/6) r=sfink 2013-08-23 11:21:25 -04:00
Brian O'Keefe
0f1bd321fc Bug 875934 - Forbid LIBRARY_NAME in Makefile.ins; r=mshal 2013-08-15 11:46:20 -04:00
Brian O'Keefe
2d797bffde Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal 2013-08-15 09:12:40 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Jan de Mooij
8c0488acce Bug 909389 - Enable IonMonkey try-catch compilation by default. r=djvj 2013-08-28 13:13:11 +02:00
Jan de Mooij
768c5da379 Bug 908625 - Fix IonBuilder crash with try-catch compilation enabled. r=bhackett 2013-08-28 13:13:08 +02:00
Nicholas Nethercote
9abdca7279 Bug 909623 (part 5) - Remove |#include "jsapi.h"| from jsfriendapi.h. r=luke.
--HG--
extra : rebase_source : 2a7f0f65f3e08bb15ade23f4c556340650b48c71
2013-08-21 22:28:12 -07:00
Nicholas Nethercote
59fc32f043 Bug 909623 (part 4) - Create js/CallNonGenericMethod.h and vm/CallNonGenericMethod.cpp. r=luke.
--HG--
extra : rebase_source : 5a81a57ea81227c995d7fd0933c226ac10384991
2013-08-26 21:39:38 -07:00
Nicholas Nethercote
6c7bc00e70 Bug 909623 (part 3) - Move ArrayBufferBuilder from jsfriendapi.{h,cpp} to nsXMLHttpRequest.{h,cpp}. r=luke,bz.
--HG--
extra : rebase_source : 9f9bf874797828095b22d1c16392011b3e5916bb
2013-08-27 16:55:31 -07:00
Nicholas Nethercote
0c77f6d23e Bug 909623 (part 2) - Move GetObjectProto() from jsfriendapi.h to jsfriendapi.cpp. r=luke,bz.
--HG--
extra : rebase_source : 2a3abbf8cf31edd3880b5436db6831bab2358477
2013-08-26 21:39:37 -07:00
Nicholas Nethercote
988ad050c2 Bug 909623 (part 1) - Move JS_TraceDataOp from jsapi.h to jspubtd.h. r=luke.
--HG--
extra : rebase_source : 51bef79b19bdad99802fafdd963be295474195f5
2013-08-27 16:13:53 -07:00
Jon Coppeard
a4042954f3 Bug 909738 - Don't initialize Rooted<> members of ScopeIter with invalid pointers r=billm 2013-08-28 10:07:20 +01:00
Jon Coppeard
da222d5ed9 Bug 908709 - Don't reuse hash when inserting into newTypeObjects set if a GC has occured r=terrence 2013-08-28 10:07:20 +01:00
Jon Coppeard
274b7e07d3 Bug 908696 - GenerationalGC: Disable post barrier verification when disabling GGC r=terrence 2013-08-28 10:07:20 +01:00
Nicholas Nethercote
d262cece7e Bug 831193 (part 3) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in XPCJSRuntime.cpp. r=terrence.
--HG--
extra : rebase_source : 09df0ea5b3bb546e5c75d59d170f54124d834b4d
2013-01-15 21:28:35 -08:00
Makoto Kato
d14b079934 Bug 851992 - Allow building against system ICU library. r=glandium f=gaston 2013-08-28 07:31:46 +02:00
Phil Ringnalda
d9b3d07847 Back out 4bb5a77c36a6:88a3198c7007 (bug 900669) for b2g build failures
CLOSED TREE
2013-08-27 22:05:12 -07:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Nicholas Nethercote
4f0ded52fe Bug 909597 (part 1) - Make jsdbgapi.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : b5f604153b34856a19852158fc67eb20b1aaffc3
2013-08-26 19:05:19 -07:00
Luke Wagner
2cbf512d71 Bug 900669 - OdinMonkey: store relative offsets in AsmJSModule::{Exit,ExportedFunction} (r=bbouvier) 2013-08-23 17:51:46 -05:00
Luke Wagner
22b552c00e Bug 900669 - OdinMonkey: un-HeapPtr more AsmJSModule property names (r=terrence)
--HG--
extra : rebase_source : 1411a2f8deb7422aac36add0bf20cdabc539930d
2013-08-23 17:32:47 -05:00
Luke Wagner
8b89f4878a Bug 900669 - OdinMonkey: put memcpy-able data in 'pod' fields of AsmJSModule (r=bbouvier)
--HG--
extra : rebase_source : a724fd33913db2f5610771bc97ffb19fa6f9777d
2013-08-12 18:40:52 -05:00
Ryan VanderMeulen
3972d92239 Merge m-c to inbound on a CLOSED TREE. 2013-08-27 22:40:49 -04:00
Ryan VanderMeulen
2f3de4dea0 Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Ryan VanderMeulen
315255b833 Merge m-c to fx-team. 2013-08-27 20:38:23 -04:00
Ryan VanderMeulen
397abbe4d7 Merge inbound to m-c. 2013-08-27 20:36:23 -04:00
Nicolas Pierron
5779bb4c77 Bug 908903 - Add testing function to toggle jit compiler options. r=jandem 2013-08-27 16:32:04 -07:00
Shu-yu Guo
cdab9c69e0 Bug 908939 - Use the original function to construct the |this| type set in inline dispatch in Ion. (r=jandem) 2013-08-27 16:01:54 -07:00
Shu-yu Guo
57b9fa9ee2 Bug 903028 - Do not allocate type sets off main thread. (r=bhackett) 2013-08-27 16:01:53 -07:00
Shu-yu Guo
80b9b4170b Bug 909599 - Initialize PerThreadData for ForkJoinSlice. (r=nmatsakis) 2013-08-27 16:01:53 -07:00
Andrew McCreight
69fc8f5296 Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Luke Wagner
50d4825ec4 Bug 909534 - tidy up AsmJSSignalHandler, remove unnecessary SIGBUS handling (r=bhackett)
--HG--
extra : rebase_source : a02fa6e374ea610db1e964181b84e251e5e44cbf
2013-08-27 17:33:32 -05:00
Luke Wagner
35cad1bdf2 Bug 909534 - don't call exit as a backstop in AsmJSSignalHandler (r=bhackett)
--HG--
extra : rebase_source : 12f00124b6c1806e0628d3eda0a47e474b24327d
2013-08-27 17:32:58 -05:00
Kannan Vijayan
63d83b4347 Bug 906781 - Optimize JSOP_FUNAPPLY with Array argument in Baseline. r=bhackett r=jandem 2013-08-27 18:32:40 -04:00
Bobby Holley
6274710e79 Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
cff26b12ce Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
3799d0a8d3 Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
\o/
2013-08-27 15:21:39 -07:00
Bobby Holley
05b0b5e0f2 Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
5813ab4158 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
201084f340 Bug 899367 - Add an API to opt out of default compartment objects. r=luke
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-08-27 15:21:38 -07:00
Bobby Holley
c93dc7b4a1 Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
add3235319 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-08-27 15:21:37 -07:00
Bobby Holley
0f7839efdf Bug 899367 - Add an API to determine if we're marking gray. r=billm
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-08-27 15:21:37 -07:00
Bobby Holley
b7966edcf1 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Terrence Cole
639d62a891 Bug 909866 - Fix an exact rooting hazard in JSCompartment::wrap; r=sfink
--HG--
extra : rebase_source : 637cea3f6c93a333bfe9000f0837663fd0905853
2013-08-27 15:16:03 -07:00
Justin Lebar
a12ca3e4e8 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Fabrice Desré
451d5f91ac Bug 864932 - Rewrite wifi workers in c++ r=mrbkap 2013-08-27 13:54:51 -07:00
Ed Morley
8148e026e6 Merge mozilla-central and b2g-inbound 2013-08-27 15:20:08 +01:00
Szu-Yu Chen [:aknow]
063d6ffcc7 Bug 882983 - Part 1: Add ota status event (idl, webidl). r=hsinyi, sr=smaug 2013-08-27 08:25:53 -04:00
Ryan VanderMeulen
7552097880 Bug 908920 - Don't assume suspended generator activations have a script. r=jorendorff
This patch makes legacy (JS 1.7) and star (ES6) generators have
different classes, avoiding the need to poke through to the frame's
script to see which kind they are.  This steps around a failure to get
a frame's script after GC, when the script was thrown away, while also
preparing for bug 907744.

To detect errors in the future, also make accesses to gen->fp->script()
cause a null pointer deref in debug mode.  This caught another bug in
generator_close_impl(), in which with GGC it could be possible to
reference a return value from the recently dead frame.  This was easily
fixed because that value is always undefined.
2013-08-27 14:01:11 -04:00
Irving Reid
085ba6994a Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Jeff Walden
a4b90e86b2 Bug 905947 - Don't assert when redefining an array's length to be configurable via the JSAPI. r=jorendorff
--HG--
extra : rebase_source : 4729e0aca6ea7addb56fd12a280eb2b1b4469ad7
2013-08-20 17:06:51 -07:00
Gregory Szorc
41b5775451 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Jeff Walden
8d060b4ef5 Bug 908898 - Move the JS_PS{G,GS,_END} macros from jsobj.h into jsapi.h for general use. r=jorendorff 2013-08-21 15:33:11 -07:00
Jeff Walden
38577c2633 Bug 907958 - Disallow |function function() {}| and similar unreadabilities. r=jorendorff, r=wingo for the yield interactions, r=luke for the asm.js interactions 2013-08-15 10:07:40 -07:00
Jeff Walden
adc074bd27 Bug 907958 - Change a test to not expect exact error messages, only that the errors are SyntaxErrors. r=simple-test-fixup
--HG--
extra : rebase_source : 106e9f5be720a0d781db3e4a94bc07926b02bf2e
2013-08-26 14:05:17 -07:00
Jan de Mooij
c706be3d1d Bug 909505 - Fix IonBuilder to set the Folded flag on the instanceof rhs if needed. r=bhackett 2013-08-27 19:50:00 +02:00
Brian Hackett
323a6a4d31 Bug 908301 - Remove dedicated source compression thread, use JS worker threads instead, allow saving source when parsing off thread, r=benjamin. 2013-08-27 11:48:55 -06:00
Luke Wagner
a49441c4f8 Also recognize Inlines.h as a inlines header suffix in check-style (no bug, r=bustage)
--HG--
extra : rebase_source : 876ee986c8533afa0a3ba5b67c0a8efd588bd083
2013-08-26 12:21:06 -05:00
Luke Wagner
dcaa03bcb1 Bug 858551 - Add jsscriptinlines.h to fix 'used by not defined' warnings (r=themaid) 2013-08-26 11:50:04 -05:00
Luke Wagner
2b7fc28e27 Bug 907937 - Move JSCompartment::wrap again to avoid 'used but not defined' warnings (r=themaid) 2013-08-26 11:46:21 -05:00
Steve Fink
69d484af03 Bug 909363 - Mark redirect() as unsafe for fuzzing. r=till
--HG--
extra : rebase_source : bb748d87138e71afe3bcfdaedc958e5b0ef20fd5
2013-08-26 09:04:09 -07:00
Mike Hordecki
368c68a39e Bug 908918 - Fix an XPConnect typo. r=bholley 2013-08-26 11:28:26 -04:00
Mike Hommey
6823f16393 Fixup for bug 904743, thanks to cl.py running without assertions. r=me 2013-08-26 16:59:53 +09:00
Geoff Brown
220e4a5f85 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Boris Zbarsky
f80a9893ef Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
b89190851a Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
253a8c8d80 Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey 2013-08-23 22:42:39 -04:00
Jeff Walden
161921f0ee Back out bc75fd3095eb (bug 907958), the simple rebasing through bug 666399 is busted. Probably a simple-ish fix, not gonna try it on a deadline, tho. r=beep-beep-beep from a CLOSED TREE 2013-08-23 19:27:30 -07:00
Jeff Walden
6c37b0230a Bug 907958 - Disallow |function function() {}| and similar unreadabilities. r=jorendorff 2013-08-15 10:07:40 -07:00
Jeff Walden
8bfcb55cb3 Bug 901351 - Properly handle various edge cases in JSON.parse when walking/reviving the initial object tree. r=jorendorff 2013-08-08 17:31:45 -07:00
Terrence Cole
9afd8fe922 Bug 908891 - Fix remaining exact rooting hazards in js/ipc; r=evilpie
--HG--
extra : rebase_source : d48dfa50ed83c8c3d3c344467c6bd0b702a3263a
2013-08-23 15:53:46 -07:00
Steve Fink
ecdd20b4cf Bug 908825 - Assorted hazard analysis changes+fixes to get rooting analysis running on build slaves
--HG--
extra : rebase_source : bff2e12a00934391ae50ce288d903d5bea6600c8
2013-08-23 13:03:23 -07:00
Steve Fink
079a424ef5 Bug 908825 - Refactor static rooting analysis to make the following patch cleaner
--HG--
extra : rebase_source : 52a5b477899cfd500327650448547d86e02b71eb
2013-08-23 13:03:23 -07:00
Steve Fink
8c389493c6 Bug 908825 - Generate multiple output files from intermediate rooting analysis stages
--HG--
extra : rebase_source : b90f85cfd1815d9a7fea4792b965b8a434f5fa6e
2013-08-01 14:59:09 -07:00
Steve Fink
c43007623c Bug 908825 - Minor irrelevant cleanups to static rooting analysis
--HG--
extra : rebase_source : 63c13fc6817fc14b2c47357bf213d7a6615f1f35
2013-07-26 10:40:36 -07:00
Steve Fink
ccfc6cebcd Bug 908825 - Pass functionName around instead of using a global variable
I just found it easier to follow what's going on this way. Also, this passes a 'suppressed' value through to functions, which might change behavior but if so I'm happy with the new behavior.

--HG--
extra : rebase_source : 1ee42853de87de18f9dd17e8c2eeb6677bdf8d2c
2013-07-23 12:17:07 -07:00
Steve Fink
5efd96ea75 Bug 900144 - Add redirect shell built-in for changing stdout/stderr destination
--HG--
extra : rebase_source : f6fe4aa12d0e053437044306a1815c1e32f5f153
2013-07-25 18:39:10 -07:00
Steve Fink
1041a33255 Bug 899712 - Prevent infinite recursion in fallback asinh, r=jorendorff
--HG--
extra : rebase_source : 1b810304f83b81fd435f3de3350004d0fcffba14
2013-07-30 12:36:03 -07:00
Steve Fink
85ff446e25 No bug. Remove unnecessary SkipRoot from structured clone buffers.
--HG--
extra : rebase_source : 057f79cd78741572cc607213638895c2815ab7da
2013-07-22 14:46:48 -07:00
Till Schneidereit
38aa35cce2 Bug 908472 - make JSFunction::generatorKind() treat lazy self-hosted functions as non-generators. r=jwalden
--HG--
extra : rebase_source : bc946eb476b6ba6dc98ea01b76c8aefc8827ddc5
2013-08-23 23:23:38 +02:00
Luke Wagner
76813d23b7 Bug 908813 - Only report asm.js warnings once during syntax-only parse (r=bbouvier)
--HG--
extra : rebase_source : be57c7ac40c828bea5577e2857b2f0709bd74a16
2013-08-23 14:39:59 -05:00
Till Schneidereit
a4fd2b5e2c Bug 905370 - Move SelfHostedClass list to JSRuntime. r=bhackett,shu
--HG--
extra : rebase_source : e45e182038fdc5267aa9b50853eefb43c7f9cf54
2013-08-23 13:29:01 +02:00
Ms2ger
79dd184c74 Bug 517765 - Mark make-source-package.sh as executable. 2013-08-23 19:35:54 +02:00
Ian Stakenvicius
00cff60360 Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-22 12:38:18 -04:00
Bill McCloskey
ea4b0b506f Bug 908484 - Fix canCollect() exception in JS engine (r=bhackett) 2013-08-23 10:23:40 -07:00
Ryan VanderMeulen
08f594ec2a Backed out changeset 0dad16fe66b2 (bug 517765) for Linux PGO bustage. 2013-08-23 13:17:07 -04:00
Terrence Cole
49c80c8448 Bug 908483 - Fix some exact rooting hazards in jsd; r=jonco 2013-08-22 15:43:47 -07:00
Jon Coppeard
03edd99023 Bug 907135 - Disable verification of OSI point registers in rooting analysis builds r=nbp 2013-08-23 16:43:38 +01:00
Andy Wingo
bb8edee39e Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
Add a Generator constructor, like the Function constructor.

Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.

When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.

Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype.  That prototype does not have
a ".constructor" link.

If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.

Prototypes of generator objects are no longer made with
GeneratorObject::class_.  This allows us to elide some "null" checks
from bug 352885.  Instead calling a generator on a method now signals a
typeerror.

Make the "send" generator method a simple alias to "next".
2013-08-23 11:07:10 -04:00
Ian Stakenvicius
6922532fd3 Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-22 12:38:18 -04:00
Gabor Krizsanits
73d41a24b4 Bug 886237 - follow-up part2: Comment formatting in sandbox.cpp. r=bholley 2013-08-23 09:56:03 +02:00
Gabor Krizsanits
be6a2be548 Bug 886237 - follow-up part1: Moving Sandbox/XPCComponents helpers into namespace xpc. r=bholley 2013-08-23 09:55:47 +02:00
Kyle Huey
450b0c5f42 Bug 903772: Part 9 - Use a different class in the weakmap test now that the implementation of TextDecoder has changed. r=peterv 2013-08-22 22:17:10 -07:00
Kyle Huey
8edf4de9ad Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Brian Hackett
d5fe5f02fa Bug 908294 - Additional fixes for ExclusiveContext zones with TI enabled, r=billm. 2013-08-22 21:42:20 -06:00
Luke Wagner
cec964ccec Bug 908255 - tidy up 'non-destructive' functions, give StringHashPolicy a scarier name (r=terrence)
--HG--
extra : rebase_source : 84bbc6c0416190a9dae8c758262def530a591219
2013-08-22 13:54:34 -05:00
Luke Wagner
5a24677ba5 Bug 907118 - Fix bug in JSRope::getCharsNonDestructiveInternal (r=bhackett)
--HG--
extra : rebase_source : 30a52611309ba474653bd547cde3eb4af77dd578
2013-08-22 11:47:55 -05:00
Nicholas Nethercote
d208a00ee8 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
9ce6c39a8f Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Brian Hackett
d3df5f7c56 Bug 905544 - Fix assertion failure in threadsafe builds with --disable-ion, r=billm. 2013-08-22 18:02:28 -06:00
Terrence Cole
83b46d17ec Bug 907973 - Suppress an exact rooting non-hazard in ShellObjectMetadataCallback; r=bhackett
--HG--
extra : rebase_source : 3c2911f67d14375bc98580fc483cf61498ed8be3
2013-08-21 12:44:00 -07:00
Terrence Cole
0bf4aef42a Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett,luke
--HG--
extra : rebase_source : 9acbb597415c4bf08c978c480262ce5e5dd9c452
2013-08-21 12:43:22 -07:00
Mike Hommey
3e16a0d1dd Bug 904743 - Use makefile creation helper in BindingGen.py, cl.py and xpidl-process.py. r=gps
While at it, fix dependencies generated by BindingGen.py
2013-08-23 08:09:17 +09:00
Mike Hommey
26234441d3 Bug 908052 - Use GetShortPathName/GetLongPathName to canonicalize paths for dependency files generated by cl.py. r=gps 2013-08-23 08:08:05 +09:00
Benjamin Bouvier
354c49842b Bug 906860: Ignore segfaults handled by AsmJSFaultHandler in gdb; r=jimb,gps 2013-08-22 15:54:12 -07:00
Bobby Holley
4e5093e6fa Bug 903891 - Default the iid to nsISupports in NativeInterface2JSObject, and assert |Interface| when getting an XPCWrappedNative. r=mrbkap 2013-08-22 15:51:35 -07:00
Bobby Holley
52d40c8a87 Bug 907937 - Followup comment fixes. r=billm DONTBUILD 2013-08-22 13:39:20 -07:00
Bobby Holley
62306e6427 Bug 907937 - Followup fix for review-nit bustage. r=me CLOSED TREE 2013-08-22 12:54:05 -07:00
Bobby Holley
eb213192a7 Bug 907937 - Address review nits. r=billm
I normally roll these into the appropriate patches, but this queue moves a lot
of code around, and I'm afraid of a mismerge.
2013-08-22 12:40:31 -07:00
Bobby Holley
6a67707c4e Bug 907937 - Optimistically check the CCW cache early in opt-build value wrapping. r=billm 2013-08-22 12:40:31 -07:00
Bobby Holley
e6a0bd3c95 Bug 907937 - Inline jsval wrapping overload. r=billm
This thing is small enough now that it can be inlined. This is already a significant
win because primitive jsval wrapping is now entirely inlined.
2013-08-22 12:40:31 -07:00
Bobby Holley
1e989152b6 Bug 907937 - Move object wrapping into the object-overloaded wrap() function. r=billm
There are a couple of changes to the wrap code, so it probably needs to be
looked over.
2013-08-22 12:40:31 -07:00
Bobby Holley
bb79bca070 Bug 907937 - Whitespace change. r=billm 2013-08-22 12:40:30 -07:00
Bobby Holley
20bb98f1a6 Bug 907937 - Remove isObject() checks, and stop using |vp| as an intermediary. r=billm
We can do this now that we're not trying to deal with strings at the same time.
Whitespace change in the next patch.
2013-08-22 12:40:30 -07:00
Bobby Holley
9d3feb41a1 Bug 907937 - Move string wrapping into the actual string wrapping method. r=billm
The current string->value->string setup is kind of silly. This also moves work
out of the jsval overload, which will be helpful when we inline the first part.
2013-08-22 12:40:30 -07:00
Bobby Holley
222832d3b4 Bug 891891 - Print diagnostics when an XPCWrappedJS is QI-ed off-main-thread. r=mrbkap
Let's try to figure out which XPCWrappedJS is causing this. I've filed a reminder
for myself to back this out by sept 3.
2013-08-22 12:40:29 -07:00
Terrence Cole
809798ceb1 Backout 09bdab645185 (Bug 907791) as it will not work with off-main-thread parsing.
--HG--
extra : rebase_source : 9b9cdc95fac77232e204fcdccb1bd5a2e827041b
2013-08-22 11:48:28 -07:00
Terrence Cole
45241f280a Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : f1eff0c5910373220ddabf61fe907528cdcec19f
2013-08-20 13:13:21 -07:00
Terrence Cole
fc4d7f6a34 Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
--HG--
extra : rebase_source : edd1c5544b791c258d31ec5d64334f52bbd5aed1
2013-08-21 12:43:22 -07:00
Terrence Cole
04ac3d218a Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett
--HG--
extra : rebase_source : db28a9eb27ba8d002b48359a30a0343d651f6e60
2013-08-21 14:20:15 -07:00
Terrence Cole
0a1e88b45d Bug 908253 - Fix jit-tests's -g command after Bug 858622; r=dminor
--HG--
extra : rebase_source : 6c6a02b63e653d7f87671b1e9b80ab9d4161bb91
2013-08-22 11:21:30 -07:00
Benjamin Peterson
b7ae48e5e4 Bug 777060 - Allow parameters without defaults after default parameters. r=jorendorff 2013-08-22 11:28:14 -05:00
Jon Coppeard
48afbcd755 Bug 893184 - Call constructors for HeapPtrAtoms allocated as part of shared script data r=till 2013-08-20 16:40:27 +01:00
Ed Morley
50edc993c1 Backed out changeset 6a182052fafe (bug 904701) for warnings as errors failures on a CLOSED TREE 2013-08-22 16:14:40 +01:00
Daniele Bonetta
f46d319c0c Bug 906773 - More efficient ComputeSliceBounds function. r=nmatsakis 2013-08-19 14:51:34 -07:00
Andy Wingo
6f3144c4e8 Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
Add a Generator constructor, like the Function constructor.

Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.

When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.

Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype.  That prototype does not have
a ".constructor" link.

If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.

Prototypes of generator objects are no longer made with
GeneratorObject::class_.  This allows us to elide some "null" checks
from bug 352885.  Instead calling a generator on a method now signals a
typeerror.

Make the "send" generator method a simple alias to "next".
2013-08-22 10:16:07 -04:00
Brian Hackett
930150cc7b Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm. 2013-08-22 07:22:33 -06:00
Brian Hackett
8ddf4c3484 Bug 906060 - Allow ExclusiveContext zones to have TI enabled, r=billm. 2013-08-22 07:13:18 -06:00
Gabor Krizsanits
56184ed022 Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Jon Coppeard
a157aa79f0 Bug 907147 - Add SkipRoot to stop rooting analysis poinsoning hash in getNewType() r=terrence 2013-08-21 09:58:25 +01:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
f79ae70d10 Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
d62e2c8439 Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
ecdd2b4462 Bug 904831 - Part d: Disallow MSVC_ENABLE_PGO in Makefiles; r=khuey 2013-08-22 08:56:02 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00