Commit Graph

144265 Commits

Author SHA1 Message Date
Nicolas Pierron
c17842925f Bug 908903 - Add testing function to toggle jit compiler options. r=jandem 2013-08-27 16:32:04 -07:00
Benoit Girard
d39a3ff360 Bug 908449 - Implement GfxInfo::GetFeatureStatusImpl for gonk. r=bjacob 2013-08-27 19:26:46 -04:00
Kai Engert
8748f405b4 bug 887052 - follow-up: fix typo in browser_bug627234_perwindowpb.js r=keeler 2013-08-27 16:12:48 -07:00
Shu-yu Guo
4cccd558d3 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
1b03516a2b Bug 903028 - Do not allocate type sets off main thread. (r=bhackett) 2013-08-27 16:01:53 -07:00
Shu-yu Guo
626d2e0130 Bug 909599 - Initialize PerThreadData for ForkJoinSlice. (r=nmatsakis) 2013-08-27 16:01:53 -07:00
Matt Woodrow
9fd4f7c1c4 Bug 909128 - Support snapshot source surfaces in DrawTargetCG's CopySurface. r=jrmuizel 2013-08-28 10:54:52 +12:00
Andrew McCreight
d168e85a9e Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Luke Wagner
bb164a9906 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
52056ee677 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
e350040366 Bug 906781 - Optimize JSOP_FUNAPPLY with Array argument in Baseline. r=bhackett r=jandem 2013-08-27 18:32:40 -04:00
Bobby Holley
41d0a60a21 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
2c53365eee Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8 2013-08-27 15:21:40 -07:00
Bobby Holley
f4699b4f3a Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
c7d814d8ce Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
\o/
2013-08-27 15:21:39 -07:00
Bobby Holley
360beeeaef 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
0fcb9a74eb Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-08-27 15:21:39 -07:00
Bobby Holley
f4dd8b2c3e Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
3a95399b84 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
d592d5f81c 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
afb9cf290d 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
f3bdcc8e2c 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
b9441e23f7 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
c1259eea9d 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
4aeeb65d91 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
Jeff Walden
a25a1de512 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
Jeff Gilbert
3c332b6649 Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob 2013-08-27 18:00:16 -04:00
Kai Engert
73253ed26f Bug 633001, SSL cannot set exceptions on IPv6 addresses, also fixes bug 828873. Based on work by Erik Lax, r=dkeeler 2013-08-27 23:54:34 +02:00
Max Stepin
6c34ca2ae7 Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth 2013-08-27 14:50:59 -07:00
Simon Lindholm
ea585ac181 Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode 2013-08-14 12:29:55 +02:00
Gregory Szorc
fc42180b67 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Randell Jesup
2bb1e1c451 Bug 909946: missing %s in LOG statement for webrtc_trace logging r=abr 2013-08-27 17:30:10 -04:00
Adam Roach [:abr]
1f81256200 Bug 880067 - Part 3.1: Fix harmless copy-and-paste error r=ehugg 2013-08-27 16:15:42 -05:00
Jeff Walden
9b30e2b732 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
ab0c881137 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
f6490d9710 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
Tom Schuster
6bbb683509 Bug 905441 - Load style sheets from the parent into the child. r=bz 2013-08-27 13:10:39 -04:00
Matt Woodrow
d1463f4b25 Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow
00f7d4acb2 Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical 2013-08-28 08:16:03 +12:00
Ryan VanderMeulen
ccd56d1406 Backed out changeset 5f81cbac8d62 (bug 900133) for OSX mochitest crashes.
CLOSED TREE
2013-08-27 15:30:41 -04:00
Marco Castelluccio
c434034889 Bug 903055 - Test geolocation permission. r=myk 2013-08-27 15:03:42 -04:00
Steven Michaud
c234b2299d Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg 2013-08-27 14:15:49 -04:00
Terrence Cole
d97f8c853d Bug 909567 - Fix some exact rooting hazards in content/; r=bholley
--HG--
extra : rebase_source : bbdfb35f37c62d654d5a5cd325cc9b6e5f8bc9ae
2013-08-26 14:43:58 -07:00
Nicolas Silva
08015ee62a Bug 900133 - Backout enabing new textures on OSX 2013-08-27 20:06:26 +02:00
Martijn Wargers
6a528a5dff Bug 909452 - geolocation_common.js needs rewrite to pushPrefEnv. r=jmaher 2013-08-27 17:59:28 +02:00
Ryan VanderMeulen
eb87abbc5c 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
Ryan VanderMeulen
28b6fb8215 Bug 890795 - Actually disable the test where intended. r=logicfail 2013-08-27 14:01:11 -04:00
George Wright
86c98898a6 Bug 899702 - Only attempt load of egltrace.so when a pref is set r=vlad 2013-07-30 14:54:29 -04:00
Jan de Mooij
78121fe6ce 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
6c7134cbc0 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