Ehsan Akhgari
6220f98ec6
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
74e6ffe050
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
Sean Stangl
d081b211ae
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
J. Ryan Stinnett
57962dec10
Bug 946813 - Part 1: Expose invisibleToDebugger as a sandbox flag. r=bholley
...
--HG--
extra : rebase_source : 7d4963efc10423bb3e451da0eb1f6a03d7531831
2013-12-19 17:31:05 -06:00
Tom Schuster
4429c0e19f
Bug 939302 - Use DOMTimestamp for timestamps in MMS. r=bz,gen
2013-11-30 19:14:41 +08:00
Tom Schuster
60ba784ee8
Bug 939302 - JS::Value in dictionary_helper_gen.py is obsolete. r=bz
2013-12-13 11:37:53 +01:00
Masatoshi Kimura
4a17459ba7
Bug 949292 - Stop exposing LoadStatus on the global object. r=bz
2013-12-14 16:31:10 +09:00
Bobby Holley
c919bbd7bf
Bug 913734 - Stop storing security policies on XPCWrappedNativeProtos. r=mrbkap
...
This is just a cache, so we can safely remove it without impacting correctness.
The rest of this mechanism goes away in subsequent patches.
2013-12-13 19:15:43 -08:00
Eric Faust
0f5f80e1bb
Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley)
2013-12-13 12:01:30 -08:00
Brian Hackett
6844e7e5ca
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm, r=jandem
2013-12-12 13:10:54 -08:00
Andrew McCreight
1ae8e495d2
Bug 944492, part 2 - Make XPCWrappedJS a proper skippable class. r=smaug
2013-12-12 19:38:50 -08:00
Andrew McCreight
1fa99f5a29
Bug 944492, part 1 - Make XPCWrappedJS use the purple buffer. r=smaug
2013-12-12 19:38:49 -08:00
Bobby Holley
4cb1f20d1c
Bug 937317 - Tests. r=bz
2013-12-11 17:51:59 -08:00
Ryan VanderMeulen
f076280148
Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
...
CLOSED TREE
2013-12-11 17:07:48 -05:00
Ryan VanderMeulen
1a13081f93
Merge m-c to inbound.
2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
ba670be0c6
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Brian Hackett
e76e72614e
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-11 10:12:33 -08:00
Wes Kocher
7b1ededbc4
Merge m-c to b2g-inbound
2013-12-10 17:14:14 -08:00
Mike Hommey
86adfade5d
Bug 944935 - Cleanup some useless AC_CHECK_FUNCS tests in configure.in. r=gps
...
- HAVE_RANDOM is not checked at all.
- HAVE_STRERROR is not checked in code built using the defines from the main
configure.
- HAVE_LCHOWN is only checked in nsinstall.c, which means the test is also wrong
since it's checking for the target instead of the host. Also, lchown is only
used of the -o and -g options of nsinstall, which, as far as I know, we don't
use (and if we were, that would fail with nsinstall.py, which explicitly rejects
them).
- HAVE_FCHMOD is only checked in nsinstall.c, so same as above about the
correctness of the check. If it's not available, nsinstall.c falls back to
chmod, which is fine enough for our use.
- HAVE_SNPRINTF is not checked.
- HAVE_MEMMOVE is checked in parser/expat/lib/xmlparse.c, but it's also
unconditionally defined in expat_config.h which is included from that file.
- HAVE_SETBUF is checked in a couple files, but setbuf is C89 and C99, I think
it's safe to assume all compilers we support are C89 and C99. Interestingly,
windows does have it, but since we skip this check on windows, we don't use it.
- HAVE_ISATTY, same as HAVE_SETBUF, except it's POSIX instead of C89/C99.
- HAVE_FLOCKFILE is not checked at all.
- HAVE_STRTOK_R is not checked.
- HAVE_FT_SELECT_SIZE is not checked.
- HAVE_DLADDR is not checked under js/src.
- HAVE_GETPAGESIZE is not checked under js/src (it is in libffi, but ffi uses
its own configure)
- HAVE_LSTAT64, HAVE_STAT64, HAVE_STATVFS, HAVE_STATVFS64, HAVE_TRUNCATE64 are
not checked under js/src.
- HAVE_SBRK is not checked under js/src. Moreover,
js/src/assembler/wtf/Platform.h defines it depending on the platform.
- HAVE_SNPRINTF is not checked under js/src.
- HAVE_HYPOT is not checked under js/src.
- HAVE__UNWIND_BACKTRACE is not checked under js/src.
2013-12-11 10:57:53 +09:00
Nathan Froyd
d647846100
Bug 946781 - part 5 - measure the proto and iface cache from within xpconnect; r=bholley,njn
2013-12-06 13:08:45 -05:00
Nathan Froyd
98d7e01c12
Bug 946781 - part 3 - prepare for measuring multiple things from XPCWrappedNativeScope; r=bholley,njn
2013-12-06 13:04:12 -05:00
Nathan Froyd
782884a55d
Bug 946781 - part 2 - add memory used by mozJSComponentLoader to about:memory; r=bholley,njn
2013-12-05 16:54:30 -05:00
Nathan Froyd
5c216f13b3
Bug 946781 - part 1 - split explicit/jsconnect into its constituent parts; r=bholley,njn
2013-12-10 10:04:06 -05:00
Andrew McCreight
168f96fd5d
Bug 943373, part 1 - Use MOZ_THIS_IN_INITIALIZER_LIST in XPConnect. r=bholley
2013-12-10 08:07:20 -08:00
Andrew McCreight
5170af7644
Bug 946837 - XPCWrappedJS.cpp doesn't need to include nsProxyRelease.h or nsTextFormatter.h. r=bholley
2013-12-10 08:07:20 -08:00
Andrew McCreight
0aeb884580
Bug 947448 - Define and use nsXPCWrappedJS::IsRootWrapper. r=bholley
2013-12-10 08:07:20 -08:00
Gabor Krizsanits
eac54db205
Bug 943357 - Name argument of exportFunction should be optional. r=bholley
2013-12-10 09:56:19 +01:00
Tom Schuster
ac84baff89
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
aa96007c5a
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Nicholas Nethercote
e02408b49d
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Luke Wagner
a02d02186b
Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)
...
--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d
2013-12-03 13:31:30 -06:00
Ben Turner
0cffbe0bf4
Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
...
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Bobby Holley
6fe30b5795
Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm
2013-11-27 10:10:25 -08:00
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
Luke Wagner
79dc058e8b
Bug 942276 - Improve test_asmjs2.html once caching is deterministic (r=me)
...
--HG--
extra : rebase_source : 36d1b607bda300f455d4086fe1bd8c7ca3834e77
2013-11-29 14:58:56 -06:00
Boris Zbarsky
bbaaf14ca8
Bug 946564 part 1. Allow installing chromeonly webidl quickstubs too. r=peterv
2013-12-09 10:34:04 -05:00
Boris Zbarsky
849cdbd771
Bug 946067 part 2. Generate Window's access checks in XPConnect based on WebIDL access annotations. r=bholley,peterv
2013-12-09 10:34:03 -05:00
Boris Zbarsky
de7385822b
Bug 946289. Make GetNativeForGlobal work for WebIDL globals. r=peterv
2013-12-09 10:34:03 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Phil Ringnalda
d1ba8751f2
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08: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
Bobby Holley
998a44edfd
Bug 937317 - Tests. r=bz
2013-12-06 12:01:43 -08:00
Carsten "Tomcat" Book
1050b1f918
Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:18 +01:00
Bobby Holley
6a1939e899
Bug 937317 - Tests. r=bz
2013-12-05 21:34:18 -08:00
Ryan VanderMeulen
ee16665294
Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
...
CLOSED TREE
2013-12-05 16:19:47 -05:00
Tom Schuster
7313632237
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
b053653c80
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Jon Coppeard
4e3edb963e
Bug 945846 - Stop barriers firing during store buffer marking for XPConnect r=terrence
2013-12-05 11:15:51 +00:00
Jacek Caban
99e38f985f
Bug 944444 - Fix js/ compilation on mingw. r=Waldo
2013-12-05 10:56:22 +01:00
Nicholas Nethercote
e9715bfc41
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Bobby Holley
c5cf24313d
Bug 932906 - Exempt Remote XUL from CanCreateWrapper checks. r=bz
2013-12-04 19:15:40 -08:00
Bobby Holley
b1cec84a27
Bug 943152 - Tests. r=jgriffin
2013-12-04 19:15:40 -08:00
Nicholas Nethercote
a972b1c9d3
Bug 943744 (part 2) - Represent the sizes in StringInfo more compactly. r=till.
...
--HG--
extra : rebase_source : 799693bac2beb4609daf55fc5e8cbe19adff3ed8
2013-12-02 21:40:25 -08:00
Jeff Walden
43ff4d65b7
Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
...
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Andrew McCreight
4d9c6ccf3b
Bug 942528 - Make XPCWN more of a normal cycle collected class. r=smaug
2013-12-02 13:17:29 -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
Mike Hommey
931cb49886
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
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
636b672657
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
094cb7c044
Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps
2013-11-19 11:47:30 +09:00
Mike Hommey
b73ed76683
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
f81885e53b
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
16ffcc45fa
Bug 770915 - Make Sandbox.dump() appear in adb logcat. r=gabor
2013-11-18 12:54:46 -05:00
Ehsan Akhgari
d34b4a705a
Bug 939608 - Fix a build problem
2013-11-18 00:52:53 -05:00
Ehsan Akhgari
b4bd380bbc
Bug 939608 - Build xpconnect in unified mode; r=bholley
2013-11-18 00:47:30 -05:00
Bobby Holley
27b8ebcefe
Bug 938429 - Bump the trusted script buffer for macosx64 a bit. r=luke
2013-11-17 18:46:40 -08:00
Bobby Holley
1e3c4d3acc
Bug 938297 - Stop using GetContextFromDocument in GetStateObject. r=bz
2013-11-17 18:44:04 -08:00
Andrew McCreight
19d50159cb
Bug 937152 - Remove XPCWrappedJS::mMainThread and mMainThreadOnly. r=bholley
2013-11-17 14:47:02 -08:00
Andrew McCreight
65c749e39d
Bug 937157, part 13 - Remove DEBUG_shaver. r=bholley
2013-11-17 14:47:01 -08:00
Andrew McCreight
bbb445bc9d
Bug 937157, part 12 - Remove DEBUG_xpc_hacker. r=bholley
2013-11-17 14:47:01 -08:00
Andrew McCreight
e7fe28bf03
Bug 937157, part 11 - Remove XPC_DUMP_AT_SHUTDOWN. r=bholle
2013-11-17 14:47:01 -08:00
Andrew McCreight
f8517e0628
Bug 937157, part 10 - Remove DEBUG_xpc_leaks. r=bholley
2013-11-17 14:47:00 -08:00
Andrew McCreight
9da4e53963
Bug 937157, part 9 - Remove XPC_TRACK_WRAPPER_STATS. r=bholley
2013-11-17 14:47:00 -08:00
Andrew McCreight
8dc585fe66
Bug 937157, part 8 - Remove XPC_TRACK_SCOPE_STATS. r=bholley
2013-11-17 14:47:00 -08:00
Andrew McCreight
c6e28bb163
Bug 937157, part 7 - Remove XPC_TRACK_PROTO_STATS. r=bholley
2013-11-17 14:46:59 -08:00
Andrew McCreight
3249d41c33
Bug 937157, part 6 - Remove XPC_CHECK_WRAPPERS_AT_SHUTDOWN. r=bholley
2013-11-17 14:46:59 -08:00
Andrew McCreight
a288f3c946
Bug 937157, part 5 - Remove XPC_REPORT_SHADOWED_WRAPPED_NATIVE_MEMBERS. r=bholley
2013-11-17 14:46:59 -08:00
Andrew McCreight
07826be78e
Bug 937157, part 4 - Remove XPC_CHECK_CLASSINFO_CLAIMS reference from xpcprivate.h. r=bholley
2013-11-17 14:46:58 -08:00
Andrew McCreight
7e4477dc70
Bug 937157, part 3 - Remove XPC_ASSERT_CLASSINFO_CLAIMS. r=bholley
2013-11-17 14:46:58 -08:00
Andrew McCreight
36d73a2e1c
Bug 937157, part 2 - Remove flushing debug info plus a few other minor things. r=bholley
2013-11-17 14:46:58 -08:00
Andrew McCreight
11c210233b
Bug 937157, part 1 - Remove some ancient or unused debugging #defines. r=bholley
2013-11-17 14:46:57 -08:00
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Tom Schuster
9839c0957a
Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
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
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Tom Schuster
83ffdabf31
Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz
2013-11-16 13:31:36 +01:00
Bobby Holley
db1330e2ca
Bug 840488 - New domain policy API. r=bz
...
Note that this patch changes the semantics of javascript.enabled so that changes
to the pref do not apply to compartments that have already been created. This is
a significant change, but is necessary to support the new domain policy API.
After one cycle or so, we'll rip out the old API.
2013-11-12 16:43:35 -08:00
Bobby Holley
c04d2567ce
Bug 840488 - Compute immunity from caps checks exactly once, and kill nsScriptSecurityManager::CanExecuteScripts. r=bz
2013-11-12 16:43:35 -08:00
Bobby Holley
23cf12e7bb
Bug 840488 - Remove per-JSContext script toggling. r=bz
...
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
a10c940425
Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz
2013-11-12 16:43:33 -08:00
Bobby Holley
260c41dfe4
Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz
2013-11-12 16:43:33 -08:00
David Major
25afc23f7c
Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
...
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Birunthan Mohanathas
192d1ba4c1
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Ms2ger
9f1382ddc6
Bug 933326 - Part b: Remove xpc_qsThrowMethodFailedWithCcx and xpc_qsThrowMethodFailedWithDetails; r=bholley
2013-11-11 08:56:59 +01:00
Ms2ger
dd7127ccd4
Bug 933326 - Part a: Remove xpc_qsStringToJsstring; r=bholley
2013-11-11 08:56:03 +01:00
Jeff Walden
f775bf0ab0
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Mike Hommey
91af4c88d7
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Ryan VanderMeulen
899501b7a2
Backed out changeset ec8ac6112088 (bug 933885) for frequent xpcshell test_singlebytes.js timeouts.
2013-11-07 16:45:17 -05:00
Ryan VanderMeulen
2cd9baaad6
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Zack Weinberg
c4ed613c62
Bug 933885: make xpcshell dump() handle non-ASCII characters correctly. r=bz,ted
2013-11-07 14:10:58 -05:00
Jeff Walden
ed9fef3e20
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Andrew McCreight
1b9cc2e51b
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
Boris Zbarsky
f36b4cafef
Bug 934544. For the case when we have to copy an XPCOM string into a JSString, just ask the JS engine to do that. It'll do a better job of avoiding malloc than we can, since it can sometimes store string data inline in the string. r=peterv
2013-11-06 13:02:58 -05:00
Tom Schuster
d5f73dbc01
Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence
2013-11-06 16:26:50 +01:00
Nicholas Nethercote
b9e0d05f7e
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
Gijs Kruitbosch
d649dc25bb
Fix mochitest-other debug bustage caused by bug 821726 by expecting assertions, rs=bustage on a CLOSED TREE
2013-11-05 21:43:01 +01:00
Gijs Kruitbosch
a0af27438c
Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley
2013-11-05 16:35:41 +01:00
Peter Van der Beken
1f5317edd4
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Gabor Krizsanits
4b6ef2a00b
Bug 930523 = createObjectIn should waive. r=bholley
2013-11-05 08:02:07 +01:00
Gabor Krizsanits
9294bf448c
Bug 930910 - evalInWindow for Cu. r=bholley
2013-11-05 08:00:30 +01:00
Gabor Krizsanits
9e77af3a4e
Bug 930910 - exportFunction for Cu. r=bholley
2013-11-05 08:00:20 +01:00
Gabor Krizsanits
f78fec5657
Bug 930910 - options object for Cu.createObjectIn. r=bholley
2013-11-05 08:00:05 +01:00
Mike Hommey
44619982dd
Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
...
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
Mike Hommey
c26251e049
Bug 934336 - Remove apparently useless dependencies on js-confdefs.h. r=mshal
2013-11-05 07:39:28 +09:00
Ryan VanderMeulen
6cddc919e9
Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
...
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
86a3955c9b
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Nicholas Nethercote
cd0b801b1b
Bug 837566 - Remove js_RemoveRoot. r=terrence.
...
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Tom Schuster
4b85960fb6
Bug 933946 - Remove the rest of the old number conversion functions from SpiderMonkey. r=terrence
2013-11-02 13:48:09 +01:00
Tom Schuster
e4eba3d13f
Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8
2013-11-01 20:44:05 +01:00
Bobby Holley
93be455019
Bug 911864 - Make in-content XBL event handlers allowuntrusted=false by default. r=smaug
2013-11-01 15:31:58 +01:00
Bobby Holley
eaa51e3667
Bug 911864 - When QIing objects bound with XBL scopes, route the XPCWrappedJS through an XrayWrapper from the XBL scope. r=smaug
2013-11-01 15:31:57 +01:00
Bobby Holley
cb7b1e1b58
Bug 911864 - Add annotations to our XBL tests as-needed. r=smaug
2013-11-01 15:31:57 +01:00
Bobby Holley
c1e62da8c9
Bug 911864 - Install XBL members in the safe scope, then clone them into content (rather than the reverse). r=smaug
2013-11-01 15:31:57 +01:00
Nils Maier
b167bb7278
Bug 929120 - Add a way to get compartment locations ignoring non-addon locations. r=njn
...
Use that new way to map compartments to add-ons. As an added bonus, fix a currently unproblematic off-by-one error in the location parser.
2013-10-31 23:04:11 -04:00
Boris Zbarsky
7690d94087
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Mike Hommey
45f0482824
Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal
2013-10-30 07:51:03 +09:00
Ryan VanderMeulen
c80a525c6d
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Terrence Cole
ae43bcf0e2
Bug 932364 - Fix an exact rooting hazard around AddSizeOfTab; r=njn
...
--HG--
extra : rebase_source : cb0ab85f7f850ce3c250dd75ff32a416dba7b153
2013-10-28 10:14:06 -07:00
Ed Morley
4326269d4b
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Vicamo Yang
17e058673d
Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey
2013-10-29 16:12:45 +08:00
Nicholas Nethercote
b38b84f869
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Peter Van der Beken
69e7c5ae55
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Tom Schuster
ce701cf26f
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
88bbf03777
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Phil Ringnalda
28b78c172b
Bug 929498 - Disable test_asmjs.html on Android for stopping Panda mochitest-7 runs
...
--HG--
extra : rebase_source : ff1ad8ac91f713ee0329b769e449f7b745f32507
2013-10-25 23:26:36 -07:00
Luke Wagner
b6a2088f23
Bug 929498 - fix test_asmjs.html mochitest to not run so long on slow machines (r=pending)
...
--HG--
extra : rebase_source : 61f561551b225697fe16b084d9b30577a3ff46b2
2013-10-22 16:16:09 -05:00
Ed Morley
c179e2ef19
Backed out changeset 03ffffc0bff4 (bug 929297)
2013-10-25 15:25:32 +01:00
Nils Maier
b8b97f853e
Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process.
2013-10-23 11:46:00 +01:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Terrence Cole
05b45c0c0f
Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
...
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Peter Van der Beken
6dd94daf3a
Bug 931467 - Make QS/DOM binding unwrapping like XPCConvert unwrapping for COWs. r=bholley.
...
--HG--
extra : rebase_source : bc3590722f310b7dfc9241cfa66eceb63651f5b7
2013-10-27 09:53:30 +01:00
Nils Maier
429701a912
Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process. r=njn
2013-10-28 04:53:00 +00:00
Eddy Bruel
051cd28091
Bug 880330 - Refactor xpconnect shell to use the new options API; r=bholley
2013-10-28 12:43:17 +01:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Birunthan Mohanathas
de354c9745
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Bobby Holley
d23fe1a7b3
Bug 928476 - Add telemetry to measure cross-global adopts. r=mrbkap,nfroyd
2013-10-23 14:02:42 +02:00