Commit Graph

762 Commits

Author SHA1 Message Date
Ryan VanderMeulen
b2f54fc850 Merge b2g-inbound to m-c. 2013-12-05 17:53:41 -05:00
Nicholas Nethercote
803d8a5bcc Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Nicholas Nethercote
31ba5d6977 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
9c3a30ec5b 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
Martijn Wargers
2f9d5da01d Bug 927196 - Check more stuff in XHR. r=jonas 2013-10-16 19:20:51 +02:00
Nicholas Nethercote
77419f6a47 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
c3970a73fb 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
78e4d6490d 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
1547e555fb 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
f4103b25ac Bug 936700 - Warning fix 2 of 2
CLOSED TREE
2013-11-24 12:49:15 -08:00
Nikhil Marathe
3b0df55ae4 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
552ae51362 Bug 936700 - Worker Preferences cache. r=bent 2013-11-24 11:27:15 -08:00
Nikhil Marathe
2b1b97f534 Bug 915233 - DOM Promises on Workers. r=baku,bent,smaug,bz sr=sicking 2013-11-24 11:26:07 -08:00
Terrence Cole
d870572c13 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
ae378dd073 Bug 940779 - MessageEventInit is a dictionary, r=bent
--HG--
extra : rebase_source : 37d006cf615cc6e7ed2a7141df54d9b948248946
2013-11-21 12:42:50 -08:00
Steve Fink
5eda6dc6d6 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
4c293cf8e4 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
62cf6930a1 Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug 2013-11-21 07:51:15 -05:00
Andrew McCreight
319fed2c0e Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug 2013-11-20 14:35:17 -08:00
Andrew McCreight
3eed280708 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
24477ef740 Bug 940754 - Fix rooting hazard in WorkerPrivateParent::WrapObject() r=bent 2013-11-20 15:37:30 +00:00
Steve Fink
de08ef2d47 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
11bf40995e 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
c472c6fd9f Backed out changeset db0f8a5eeb33 (bug 940754) 2013-11-20 16:37:52 +00:00
Jon Coppeard
fdb0e8eccc Bug 940754 - Fix rooting hazard in WorkerPrivateParent::WrapObject() r=bent 2013-11-20 15:37:30 +00:00
Tareq Khandaker
c0715c9975 Bug 925847 - WorkerNavigator does not implement all of NavigatorID. r=nsm 2013-11-20 09:29:01 -05:00
Jan de Mooij
ed37da0a3d Bug 927516 - Bump Ion script size limit for DOM workers. r=bhackett 2013-11-19 21:10:34 +01:00
Ehsan Akhgari
1c75e7c443 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
46505eecd5 Bug 936327. r=bent 2013-11-19 14:05:41 +08:00
Mike Hommey
a65383e1e9 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
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 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
8e9d30130b Backed out changeset e6a9c98d62d0 (bug 927196) for causing bug 939269 2013-11-18 10:59:01 +00:00
Tom Schuster
f311064c6e Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
6b38d3ca3d 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
dd485f9336 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Martijn Wargers
d5ef4d9173 Bug 927196 - Check more stuff in XHR. r=sicking 2013-10-16 19:20:51 +02:00
Ms2ger
5e1bd894df No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Garrett Robinson
fcd3642ac2 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
a943af2236 backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
99a316d224 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
d08f2a65fc Backed out changeset aa013ffd209b (bug 888974) for mochitest-4 failures. 2013-11-07 10:47:37 -05:00
Ben Turner
bc173696b3 Bug 888974 - Beef up worker XHR tests. r=khuey 2013-07-26 19:22:42 -04:00
Ryan VanderMeulen
a1c925f1b2 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
fb3b68185f 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
6bd6992253 Bug 930924 - Open workers from xpcshell. r=bent 2013-11-06 09:05:17 -05:00
Phil Ringnalda
a70df74877 Back out b2316c5a1d69 (bug 915233) for Win b2g desktop build bustage 2013-11-05 20:54:54 -08:00
Nicholas Nethercote
d8a3b0f0bb 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
d6887b15cb Bug 915233 - DOM Promises on Workers. r=baku,smaug,bz sr=sicking 2013-11-05 20:05:21 -08:00