Commit Graph

2962 Commits

Author SHA1 Message Date
Andrew McCreight
89520b7407 Bug 942528 - Make XPCWN more of a normal cycle collected class. r=smaug 2013-12-02 13:17:29 -08:00
Eric Chou
57de6c7c2d Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh 2013-11-30 20:20:17 +08:00
Ms2ger
9d06a0c27f Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
040dc126c9 Bug 939271 - Part f: move mochitests to manifests in js/xpconnect; r=bholley 2013-11-28 15:03:17 +01:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 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
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
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09: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
Bobby Holley
ef0b93b31e Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm 2013-11-27 10:10:25 -08:00
Luke Wagner
5ed834b091 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
494ef40eb5 Bug 939696 - Tests for IsScriptedProxy consumers. r=bholley 2013-11-26 14:54:28 +01:00
Gabor Krizsanits
d7a76fa332 Bug 939696 - isProxy for export helpers. r=bholley 2013-11-26 14:54:17 +01:00
Gabor Krizsanits
a0942c44d4 Bug 939696 - isProxy for Cu. r=bholley 2013-11-26 14:54:02 +01:00
Gabor Krizsanits
3afa1569b3 Bug 939696 - IsScriptedProxy. r=bholley 2013-11-26 14:53:20 +01:00
Andrew McCreight
824fffb0da 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
8ea89885f5 Bug 770535, part 2 - Replace ThreadRunningGC with GCIsRunning. r=bholley 2013-11-24 10:34:51 -08:00
Andrew McCreight
e88e279959 Bug 770535, part 1 - Remove map lock from XPConnect. r=bholley 2013-11-24 10:27:51 -08:00
Ryan VanderMeulen
c7af1cf282 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
a774f51ce5 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
551eee5727 Bug 770535, part 2 - Replace ThreadRunningGC with GCIsRunning. r=bholley 2013-11-24 10:34:51 -08:00
Andrew McCreight
7d836041c0 Bug 770535, part 1 - Remove map lock from XPConnect. r=bholley 2013-11-24 10:27:51 -08:00
Mike Hommey
62a0ecdaf3 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
656e1c1b05 Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley 2013-11-20 11:35:34 -05:00
Mike Hommey
aaacc118f4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Bobby Holley
997a44b0de Bug 933681 - Tests. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
76193870ea Bug 933681 - Resolve canonical eval() onto Xrayed globals. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
bdc983a462 Bug 933681 - Add lookups for standard classes in XrayWrapper. r=jorendorff 2013-11-22 10:55:42 -08:00
Ehsan Akhgari
b86497683d 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
1a9ee1c710 Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Jon Coppeard
d8c217e468 Bug 941767 - Fix rooting hazard in GetNativeForGlobal() r=bholley 2013-11-22 06:58:32 -08:00
Ehsan Akhgari
64bc15535e 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
2f9d386e67 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09: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
Mike Hommey
8a469f49cb Bug 914274 - Remove MODULE_NAME. r=mshal 2013-11-21 17:31:19 +09:00
Bobby Holley
6f8f0e3dbd Bug 858101 - Tests. r=mrbkap 2013-11-20 16:04:01 -08:00
Bobby Holley
ef990bd8f2 Bug 866823 - Tests. r=gabor,mrbkap 2013-11-20 16:04:00 -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
Benjamin Smedberg
98cffaa1f5 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
e609612139 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
dd160d493c Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
4d65d888cb Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
a09f80631c Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley 2013-11-20 15:37:30 +00:00
Bobby Holley
bbb497880f 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
3c8589a040 Bug 940783 - Tests. r=bz 2013-11-20 08:47:59 -08:00
Ed Morley
c5bde79421 Backed out changeset 017d3e4e80bf (bug 940505) 2013-11-20 16:38:04 +00:00
Ed Morley
8ee66047fc Backed out changeset ee2544f18623 (bug 940639) 2013-11-20 16:38:01 +00:00
Ed Morley
799cc7ec2d Backed out changeset 17ca97e65aa5 (bug 940727) 2013-11-20 16:37:55 +00:00
Jon Coppeard
6a9fcb306c Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00