Commit Graph

144249 Commits

Author SHA1 Message Date
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
Shane Tully
b4351887c9 Bug 880118 - Integrate the GeckoView library into the build system. r=glandium 2013-08-23 16:36:01 -07:00
Shane Tully
538083a32b 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
6be1a8808a 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
3b70e54ad6 Bug 509719 - Fix crash in XULDocument::RemoveElement, r=bz
--HG--
extra : rebase_source : de74e7093e64249f502e44fcffc8f699fa7c33c7
2013-06-03 12:05:58 +02:00
Ryan VanderMeulen
76ad621e29 Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Andrew McCreight
dbe5cdd3b0 Backed out changeset 365053e73efa for build bustage on this CLOSED TREE. 2013-08-27 09:54:01 -07:00
Andrew McCreight
a93fe393a9 Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug 2013-08-20 14:19:33 -07:00
Jim Mathies
c56b36269e Bug 905628 - Fixup mochitest hang detection for metrofx. r=ted 2013-08-27 10:47:40 -05:00
Matt Woodrow
711b716949 Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva
7897f25f43 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Ryan VanderMeulen
2371485db7 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
682992c98c Merge mozilla-central and inbound 2013-08-27 15:20:06 +01:00
Ed Morley
e120974334 Merge latest green b2g-inbound changeset and mozilla-central 2013-08-27 15:17:56 +01:00
Ed Morley
a42b716992 Merge latest green inbound changeset and mozilla-central 2013-08-27 15:16:37 +01:00
Ryan VanderMeulen
81b821e86e Bug 733972 - Mark test as random on OSX 10.6/10.7. rs=Bas 2013-08-27 09:58:34 -04:00
Gaia Pushbot
8543df8cc0 Bumping gaia.json for 1 gaia-central revision(s)
========

https://hg.mozilla.org/integration/gaia-central/rev/e8f63cae5aff
Author: Ed Morley <emorley@mozilla.com>
Desc: Revert "Bug 900504 - l10n packaging of gaia broken, doesn't pick up content for apps. r=yurenju" for breaking Windows desktop B2G builds

This reverts commit 40b5eefa4046a3ffef9d84aaad2f520de7551f38.
2013-08-27 03:45:24 -07:00