Commit Graph

2951 Commits

Author SHA1 Message Date
Luke Wagner
ffe398ce2a 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
cf590827cd Bug 939696 - Tests for IsScriptedProxy consumers. r=bholley 2013-11-26 14:54:28 +01:00
Gabor Krizsanits
a7da72186c Bug 939696 - isProxy for export helpers. r=bholley 2013-11-26 14:54:17 +01:00
Gabor Krizsanits
8709d4fbb5 Bug 939696 - isProxy for Cu. r=bholley 2013-11-26 14:54:02 +01:00
Gabor Krizsanits
d8b6e4d092 Bug 939696 - IsScriptedProxy. r=bholley 2013-11-26 14:53:20 +01:00
Andrew McCreight
d6c0966814 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
89892236bf Bug 770535, part 2 - Replace ThreadRunningGC with GCIsRunning. r=bholley 2013-11-24 10:34:51 -08:00
Andrew McCreight
1cfa831bf2 Bug 770535, part 1 - Remove map lock from XPConnect. r=bholley 2013-11-24 10:27:51 -08:00
Ryan VanderMeulen
6864f03cf5 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
6bbdd252af 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
9390ecab7c Bug 770535, part 2 - Replace ThreadRunningGC with GCIsRunning. r=bholley 2013-11-24 10:34:51 -08:00
Andrew McCreight
121d5509aa Bug 770535, part 1 - Remove map lock from XPConnect. r=bholley 2013-11-24 10:27:51 -08:00
Mike Hommey
d83ce2a599 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
8f96c714b8 Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley 2013-11-20 11:35:34 -05:00
Mike Hommey
67df42f71d Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Bobby Holley
bb2fd2553f Bug 933681 - Tests. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
868e96d413 Bug 933681 - Resolve canonical eval() onto Xrayed globals. r=jorendorff 2013-11-22 10:55:43 -08:00
Bobby Holley
5ee662f07c Bug 933681 - Add lookups for standard classes in XrayWrapper. r=jorendorff 2013-11-22 10:55:42 -08:00
Ehsan Akhgari
7bd9dda07f 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
515fd9a20d Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Jon Coppeard
f40d12189f Bug 941767 - Fix rooting hazard in GetNativeForGlobal() r=bholley 2013-11-22 06:58:32 -08:00
Ehsan Akhgari
23174d221c 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
210fcbefa5 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Boris Zbarsky
a7501e7c35 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
03e5fc6ffa Bug 914274 - Remove MODULE_NAME. r=mshal 2013-11-21 17:31:19 +09:00
Bobby Holley
9699a172ce Bug 858101 - Tests. r=mrbkap 2013-11-20 16:04:01 -08:00
Bobby Holley
df5c80866e Bug 866823 - Tests. r=gabor,mrbkap 2013-11-20 16:04:00 -08:00
Andrew McCreight
9c3c29695f 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
04357a9dd8 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
f03fb3275f 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
6ab18f1654 Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
91b278ba3c Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
45edc962cf Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley 2013-11-20 15:37:30 +00:00
Bobby Holley
688bba41bf 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
0cbc09f09d Bug 940783 - Tests. r=bz 2013-11-20 08:47:59 -08:00
Ed Morley
4f9c98b39c Backed out changeset 017d3e4e80bf (bug 940505) 2013-11-20 16:38:04 +00:00
Ed Morley
2266a34f80 Backed out changeset ee2544f18623 (bug 940639) 2013-11-20 16:38:01 +00:00
Ed Morley
58ac75dfe2 Backed out changeset 17ca97e65aa5 (bug 940727) 2013-11-20 16:37:55 +00:00
Jon Coppeard
3d07a3a88d Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
c693051e65 Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
77e7c3f3f1 Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley 2013-11-20 15:37:30 +00:00
Terrence Cole
d0287c9257 Bug 940505 - Handlify GetXrayWaiver; r=bholley
--HG--
extra : rebase_source : 1812e79207fccdcf479b14637b67b2510d2f317b
2013-11-19 10:12:10 -08:00
Ehsan Akhgari
1c796694bb Bug 939608 - Part 1: Code changes required to build xpconnect in unified mode; r=bholley
--HG--
extra : rebase_source : e691b361737fbb233a0b33ed7fc6aa97ae172223
2013-11-19 15:03:40 -05:00
Jan Varga
340148eccf Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
7210c41583 Backed out changeset 161bfee3f57a (bug 939608) PGO build issue 2013-11-19 14:13:15 +01:00
Carsten "Tomcat" Book
cfe659ca29 Backed out changeset 21df28ade757 (bug 939608) PGO build issue 2013-11-19 14:12:53 +01:00
Gijs Kruitbosch
2669f41615 Bug 890545 - provide a way to enumerate registered manifests, r=froydnj,f=glandium
--HG--
extra : rebase_source : 7534f0d3c0257ff34f1477c0bfdd23b540e7a7c7
2013-07-05 21:20:04 +02:00
Eddy Bruel
cf91a893bd Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley 2013-11-19 12:41:42 +01:00
Carsten "Tomcat" Book
52bb79098d Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Jan Varga
0d595eff6d Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00