Commit Graph

2960 Commits

Author SHA1 Message Date
Ms2ger
a129edb4cb Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
99dae577a1 Bug 939271 - Part f: move mochitests to manifests in js/xpconnect; r=bholley 2013-11-28 15:03:17 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09: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
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09: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
Bobby Holley
7a71089e5d Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm 2013-11-27 10:10:25 -08:00
Luke Wagner
a1cfb21b89 Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Gabor Krizsanits
8063a270c7 Bug 939696 - Tests for IsScriptedProxy consumers. r=bholley 2013-11-26 14:54:28 +01:00
Gabor Krizsanits
cf1b15e91b Bug 939696 - isProxy for export helpers. r=bholley 2013-11-26 14:54:17 +01:00
Gabor Krizsanits
a79d22bbdd Bug 939696 - isProxy for Cu. r=bholley 2013-11-26 14:54:02 +01:00
Gabor Krizsanits
1854dc8568 Bug 939696 - IsScriptedProxy. r=bholley 2013-11-26 14:53:20 +01:00
Andrew McCreight
98a1da209e Bug 770535, part 3 - Fold mMainThreadWrappedNativeProtoMap into mWrappedNativeProtoMap. r=bholley
With the removal of locks, these two maps are identical.
2013-11-24 11:03:29 -08:00
Andrew McCreight
22a229f621 Bug 770535, part 2 - Replace ThreadRunningGC with GCIsRunning. r=bholley 2013-11-24 10:34:51 -08:00
Andrew McCreight
1d5f1027f1 Bug 770535, part 1 - Remove map lock from XPConnect. r=bholley 2013-11-24 10:27:51 -08:00
Ryan VanderMeulen
e7246564d4 Backed out changesets 6235d23be128, 0fbd934a80c8, and 592b49270490 (bug 770535) for Windows build bustage on a CLOSED TREE. 2013-11-25 15:16:42 -05:00
Andrew McCreight
08a05455b1 Bug 770535, part 3 - Fold mMainThreadWrappedNativeProtoMap into mWrappedNativeProtoMap. r=bholley
With the removal of locks, these two maps are identical.
2013-11-24 11:03:29 -08:00
Andrew McCreight
f96804e695 Bug 770535, part 2 - Replace ThreadRunningGC with GCIsRunning. r=bholley 2013-11-24 10:34:51 -08:00
Andrew McCreight
6f82d37a93 Bug 770535, part 1 - Remove map lock from XPConnect. r=bholley 2013-11-24 10:27:51 -08:00
Mike Hommey
051aa3a2d3 Bug 942031 - Don't link against the js engine when there's no need to. r=mshal 2013-11-24 08:18:50 +09:00
Ehsan Akhgari
db0d9c656a Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley 2013-11-20 11:35:34 -05:00
Mike Hommey
b39418250a Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Bobby Holley
695edd8589 Bug 933681 - Tests. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
aecbf7c175 Bug 933681 - Resolve canonical eval() onto Xrayed globals. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
68c4fbb37c Bug 933681 - Add lookups for standard classes in XrayWrapper. r=jorendorff 2013-11-22 10:55:42 -08:00
Ehsan Akhgari
8c866b73f5 Backed out changeset 5993d8ad664c (bug 939608) because bug 941450 was backed out
Landed on a CLOSED TREE
2013-11-22 11:22:49 -05:00
Ed Morley
0e1036028c Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Jon Coppeard
28225ec4cb Bug 941767 - Fix rooting hazard in GetNativeForGlobal() r=bholley 2013-11-22 06:58:32 -08:00
Ehsan Akhgari
58cadc31b2 Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
--HG--
extra : rebase_source : d4baf7ddb95bb0217357b9eb9fabd2e08d37548a
2013-11-20 11:35:34 -05:00
Mike Hommey
f6b8ef93a4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09: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
Mike Hommey
1b21d4aed0 Bug 914274 - Remove MODULE_NAME. r=mshal 2013-11-21 17:31:19 +09:00
Bobby Holley
f5f202a142 Bug 858101 - Tests. r=mrbkap 2013-11-20 16:04:01 -08:00
Bobby Holley
2e05465683 Bug 866823 - Tests. r=gabor,mrbkap 2013-11-20 16:04:00 -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
Benjamin Smedberg
0f711f29b8 Bug 672843 part D2 - Fix the xpconnect exception code and Components.results to prefer the name NS_ERROR_ILLEGAL_VALUE over the other synonyms. Fix a few tests that rely on exception names to use exception values instead. r=bholley 2013-11-20 11:46:18 -05:00
Terrence Cole
db6bfaf0c6 Bug 940718 - Create the first safe JSContext in a GC safe location; r=bholley
--HG--
extra : rebase_source : fa6e43d8e194e21e1a5231050aa7a959d844edd5
2013-11-20 12:12:11 -08:00
Jon Coppeard
cf6ff52940 Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
155a30a731 Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
ca69392589 Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley 2013-11-20 15:37:30 +00:00
Bobby Holley
8b0fb2235d Bug 939166 - Be more direct in GetStaticScriptGlobal. r=bz
This can all collapse because of the following facts:
* Ever since we introduced SandboxPrivate, we never actually use a Window
  as an SOP for a sandbox.
* nsGlobalWindow is actually the only thing that implements nsIScriptGlobalObject.
2013-11-20 08:48:00 -08:00
Bobby Holley
cc8b137bde Bug 940783 - Tests. r=bz 2013-11-20 08:47:59 -08:00
Ed Morley
9c83adc750 Backed out changeset 017d3e4e80bf (bug 940505) 2013-11-20 16:38:04 +00:00
Ed Morley
fd234eb2fb Backed out changeset ee2544f18623 (bug 940639) 2013-11-20 16:38:01 +00:00
Ed Morley
361b4a192c Backed out changeset 17ca97e65aa5 (bug 940727) 2013-11-20 16:37:55 +00:00
Jon Coppeard
abca7a17ab Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
164158923e Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
8e2bf74b90 Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley 2013-11-20 15:37:30 +00:00