Commit Graph

321779 Commits

Author SHA1 Message Date
Bobby Holley
5a94b003f3 Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8 2013-08-27 15:21:40 -07:00
Bobby Holley
0542144683 Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
4233a4030a Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
\o/
2013-08-27 15:21:39 -07:00
Bobby Holley
0a90738ba7 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
a322d019a4 Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-08-27 15:21:39 -07:00
Bobby Holley
66f5004091 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
ba547f42c5 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
d8ec53aa09 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
a9a3af4e97 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
7b3e5052cd 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
ba0f5bdd30 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
2c55942556 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
35a65ed466 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
ad2c8f9a98 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
2115df8d82 Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob 2013-08-27 18:00:16 -04:00
Kai Engert
be6fca9992 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
07f72fe0e1 Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth 2013-08-27 14:50:59 -07:00
Simon Lindholm
9e116dddaa Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode 2013-08-14 12:29:55 +02:00
Gregory Szorc
3bfcccec9b 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
d7902f9a4b Bug 909946: missing %s in LOG statement for webrtc_trace logging r=abr 2013-08-27 17:30:10 -04:00
Adam Roach [:abr]
904ee3429b Bug 880067 - Part 3.1: Fix harmless copy-and-paste error r=ehugg 2013-08-27 16:15:42 -05:00
Jeff Walden
cc30becaee 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
abbd8841db 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
44c33af702 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
0acbeba404 Bug 905441 - Load style sheets from the parent into the child. r=bz 2013-08-27 13:10:39 -04:00
Matt Woodrow
709eb0737a Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow
64e549b0dc 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
77a0dc925c Backed out changeset 5f81cbac8d62 (bug 900133) for OSX mochitest crashes.
CLOSED TREE
2013-08-27 15:30:41 -04:00
Marco Castelluccio
9523b1f221 Bug 903055 - Test geolocation permission. r=myk 2013-08-27 15:03:42 -04:00
Steven Michaud
b954caad6c 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
f7c2f940e7 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
1c6fc3b1fe Bug 900133 - Backout enabing new textures on OSX 2013-08-27 20:06:26 +02:00
Martijn Wargers
0dc21f6c5b Bug 909452 - geolocation_common.js needs rewrite to pushPrefEnv. r=jmaher 2013-08-27 17:59:28 +02:00
Ryan VanderMeulen
58040264ee 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
12d44af616 Bug 890795 - Actually disable the test where intended. r=logicfail 2013-08-27 14:01:11 -04:00
George Wright
0ae7ab4256 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
7fb625dfce 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
ab9cf1c836 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
Shane Tully
c90fce8e29 Bug 880118 - Integrate the GeckoView library into the build system. r=glandium 2013-08-23 16:36:01 -07:00
Shane Tully
752ca102b7 Bug 880118 - Allow GeckoView to be used as a view from a library project. r=blassey 2013-08-23 11:46:05 -07:00
Shane Tully
847303f911 Bug 880118 - Provide a way to disable content providers for a GeckoView library. r=blassey 2013-08-20 14:54:16 -07:00
Gijs Kruitbosch
32e156749f Bug 509719 - Fix crash in XULDocument::RemoveElement, r=bz
--HG--
extra : rebase_source : de74e7093e64249f502e44fcffc8f699fa7c33c7
2013-06-03 12:05:58 +02:00
Ryan VanderMeulen
e46507ad7c Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Andrew McCreight
fb10bae2e6 Backed out changeset 365053e73efa for build bustage on this CLOSED TREE. 2013-08-27 09:54:01 -07:00
Andrew McCreight
ab43ff245b Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug 2013-08-20 14:19:33 -07:00
Jim Mathies
cb2d27d01d Bug 905628 - Fixup mochitest hang detection for metrofx. r=ted 2013-08-27 10:47:40 -05:00
Matt Woodrow
d9ca7b40f6 Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva
a9903a8c29 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Ryan VanderMeulen
34b4dd52c8 Bug 890795 and bug 695019 - Disable test_focus_autocomplete.xul on Linux and Windows due to frequent failures. r=tbsaunde 2013-08-27 10:27:27 -04:00
Ed Morley
61c8898602 Merge mozilla-central and inbound 2013-08-27 15:20:06 +01:00