Commit Graph

759 Commits

Author SHA1 Message Date
Nicholas Nethercote
42309eb2d5 Bug 927740 (part 4) - Make workers CC on memory-pressure. r=khuey.
--HG--
extra : rebase_source : 372b3de683342634a182d3e782016718c067cead
2013-12-02 20:07:02 -08:00
Nicholas Nethercote
0cd410a29a Bug 927740 (part 3) - Make workers respond to "child-cc-request" notifications. r=khuey.
--HG--
extra : rebase_source : 34a15c4bf15bb0fd1601675e7e7cc4b5117ed433
2013-12-02 20:07:02 -08:00
Nicholas Nethercote
39004db706 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Joshua Cranmer
ae71929347 Bug 884676 - Convert JSPrincipals::refcount to Atomic<int32_t> in JS_THREADSAFE builds, and remove JS_ATOMIC_*. r=Waldo 2013-11-27 09:37:10 -06:00
Phil Ringnalda
6c467f231c Bug 936700 - Warning fix 2 of 2
CLOSED TREE
2013-11-24 12:49:15 -08:00
Nikhil Marathe
34b13d7ba2 Bug 936700 - Unused variable fix on a CLOSED TREE. r=bustage
--HG--
extra : amend_source : 578c954f8b91dcaedb3c757584a98e382f7141d9
2013-11-24 12:01:50 -08:00
Nikhil Marathe
e8f2e2d695 Bug 936700 - Worker Preferences cache. r=bent 2013-11-24 11:27:15 -08:00
Nikhil Marathe
c78157de46 Bug 915233 - DOM Promises on Workers. r=baku,bent,smaug,bz sr=sicking 2013-11-24 11:26:07 -08:00
Terrence Cole
bde6f281c2 Bug 941784 - Fix an exact rooting hazard false positive in XMLHttpRequest::Send; r=bent
--HG--
extra : rebase_source : d27bf81bb50528c49ad1036e19fcef6040ae4575
2013-11-21 10:56:35 -08:00
Steve Fink
9a66cefbf3 Bug 940779 - MessageEventInit is a dictionary, r=bent
--HG--
extra : rebase_source : 37d006cf615cc6e7ed2a7141df54d9b948248946
2013-11-21 12:42:50 -08:00
Steve Fink
98cb213cf3 Backed out changeset 4088133a80e6 (bug 940779). It was the wrong fix.
--HG--
extra : rebase_source : 91ba320384e6ad196d0f8ce923e7bc33de45388a
2013-11-21 12:39:43 -08:00
Boris Zbarsky
299e9bc2b3 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Boris Zbarsky
ae8b4cf576 Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug 2013-11-21 07:51:15 -05:00
Andrew McCreight
6663405c37 Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug 2013-11-20 14:35:17 -08:00
Andrew McCreight
96e1092a51 Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks.  This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.

Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Jon Coppeard
ad638e6d4a Bug 940754 - Fix rooting hazard in WorkerPrivateParent::WrapObject() r=bent 2013-11-20 15:37:30 +00:00
Steve Fink
2a7a17ae2a Bug 940724 - Move XMLHttpRequest off of the stack to silence analysis, r=bent
--HG--
extra : rebase_source : 591b96238eddbeb88ef3f1df3728fc5d02b9229a
2013-11-19 15:27:00 -08:00
Steve Fink
6a91947708 Bug 940779 - Restrict the scope of a MessageEventInit so it cannot be live across a GC call, r=bent
--HG--
extra : rebase_source : 2db09dc1eaab090b94f210bd2478be8d45c976a2
2013-11-19 23:03:32 -08:00
Ed Morley
9d9e92c469 Backed out changeset db0f8a5eeb33 (bug 940754) 2013-11-20 16:37:52 +00:00
Jon Coppeard
b65c8ff5ed Bug 940754 - Fix rooting hazard in WorkerPrivateParent::WrapObject() r=bent 2013-11-20 15:37:30 +00:00
Tareq Khandaker
e5caa83fa5 Bug 925847 - WorkerNavigator does not implement all of NavigatorID. r=nsm 2013-11-20 09:29:01 -05:00
Jan de Mooij
cd86986a64 Bug 927516 - Bump Ion script size limit for DOM workers. r=bhackett 2013-11-19 21:10:34 +01:00
Ehsan Akhgari
3950de8bf6 Bug 939580 - #include LOCAL_INCLUDES after the source dir and current dir includes; r=gps 2013-11-19 14:10:15 -05:00
Kyle Huey
492d0e235c Bug 936327. r=bent 2013-11-19 14:05:41 +08:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ed Morley
9722d1a50f Backed out changeset e6a9c98d62d0 (bug 927196) for causing bug 939269 2013-11-18 10:59:01 +00:00
Tom Schuster
4478f5b384 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
cca4d45da6 Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
bc757ef965 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Martijn Wargers
a0594db74e Bug 927196 - Check more stuff in XHR. r=sicking 2013-10-16 19:20:51 +02:00
Ms2ger
0fdc697b63 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Garrett Robinson
1da990368c Bug 855326 - CSP 1.1 nonce-source for scripts and styles r=mrbkap r=dholbert r=geekboy 2013-11-08 15:44:39 -08:00
Daniel Holbert
9a3437dd77 backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
5add685cdd Bug 855326 - CSP 1.1 nonce-source for scripts and styles. r=mrbkap r=dholbert r=geekboy 2013-11-08 09:20:43 -08:00
Ryan VanderMeulen
b46a0b6737 Backed out changeset aa013ffd209b (bug 888974) for mochitest-4 failures. 2013-11-07 10:47:37 -05:00
Ben Turner
9185a59b23 Bug 888974 - Beef up worker XHR tests. r=khuey 2013-07-26 19:22:42 -04:00
Ryan VanderMeulen
3c583fb5f1 Backed out changeset 8222e9ae0a21 (bug 915233) for Windows xpcshell perma-fail on a CLOSED TREE. 2013-11-06 17:48:11 -05:00
Nikhil Marathe
d1aa0a285c Bug 915233 - DOM Promises on Workers. r=baku,smaug,bz sr=sicking
--HG--
extra : rebase_source : 0923cb54bb13291df69c894866b4054310a4627c
2013-11-06 10:41:44 -08:00
David Rajchenbach-Teller
dbebd56e03 Bug 930924 - Open workers from xpcshell. r=bent 2013-11-06 09:05:17 -05:00
Phil Ringnalda
8270f646fc Back out b2316c5a1d69 (bug 915233) for Win b2g desktop build bustage 2013-11-05 20:54:54 -08:00
Nicholas Nethercote
3eae0dfea5 Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nikhil Marathe
723aec3710 Bug 915233 - DOM Promises on Workers. r=baku,smaug,bz sr=sicking 2013-11-05 20:05:21 -08:00
Wes Kocher
a7e71d74e5 Backed out changeset b2995c617e4c (bug 915233) for breaking the build on a CLOSED TREE 2013-11-05 18:18:29 -08:00
Nikhil Marathe
5b431100b6 Bug 915233 - DOM Promises on Workers. r=baku,smaug,bz sr=sicking 2013-11-05 17:44:12 -08:00
Kyle Huey
020d8b6c36 Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00