Commit Graph

2939 Commits

Author SHA1 Message Date
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
Jon Coppeard
0cfe740846 Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley 2013-11-20 15:37:30 +00:00
Jon Coppeard
61a883fc88 Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley 2013-11-20 15:37:30 +00:00
Terrence Cole
6936f37dc7 Bug 940505 - Handlify GetXrayWaiver; r=bholley
--HG--
extra : rebase_source : 1812e79207fccdcf479b14637b67b2510d2f317b
2013-11-19 10:12:10 -08:00
Ehsan Akhgari
69ecdab690 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
8f8a999182 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
30de6cc6d3 Backed out changeset 161bfee3f57a (bug 939608) PGO build issue 2013-11-19 14:13:15 +01:00
Carsten "Tomcat" Book
a79fd702d0 Backed out changeset 21df28ade757 (bug 939608) PGO build issue 2013-11-19 14:12:53 +01:00
Gijs Kruitbosch
fefa49c872 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
afa82c35ec 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
4551469986 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
5eebe35433 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
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
b2e90f6233 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f02f1af62d Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps 2013-11-19 11:47:30 +09:00
Mike Hommey
317149d3d5 Bug 939042 - Remove library building related variables in directories that build no C/C++ sources. r=mshal 2013-11-19 11:47:29 +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
Alexandre Poirot
6de52f8fcc Bug 770915 - Make Sandbox.dump() appear in adb logcat. r=gabor 2013-11-18 12:54:46 -05:00
Ehsan Akhgari
339427bfb7 Bug 939608 - Fix a build problem 2013-11-18 00:52:53 -05:00
Ehsan Akhgari
e91814a204 Bug 939608 - Build xpconnect in unified mode; r=bholley 2013-11-18 00:47:30 -05:00
Bobby Holley
812d19c6a1 Bug 938429 - Bump the trusted script buffer for macosx64 a bit. r=luke 2013-11-17 18:46:40 -08:00