Bobby Holley
c88d7136c7
Bug 951847 - Stop pushing a cx in the XPCCallContext constructor. r=gabor
2014-01-01 19:23:56 -08:00
Bobby Holley
ab6785509b
Bug 951847 - Make the |cx| param to XPCCallContext mandatory. r=gabor
2014-01-01 19:23:55 -08:00
Bobby Holley
d80873ca4a
Bug 951847 - Don't construct an XPCCallContext just to find a JSContext. r=gabor
2014-01-01 19:23:55 -08:00
Ms2ger
fe059e78f7
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Carsten "Tomcat" Book
3d1fee4183
Merge mozilla-central to b2g-inbound
2013-12-20 11:44:27 +01:00
Ms2ger
4720fc16e5
Merge backout.
2013-12-20 11:36:27 +01:00
Ms2ger
09229ed637
Backout bug 942104 (changesets 4e5746a65a5e:62e32a84a9fb) for missing review.
2013-12-20 11:33:37 +01:00
Carsten "Tomcat" Book
cf1d8f33dd
merge fx-team to mozilla-central
2013-12-20 10:22:29 +01:00
Wes Kocher
62489cc3a1
Merge m-c to inbound
2013-12-19 19:51:23 -08:00
Bill McCloskey
957d8fc800
Bug 952183 - reuseGlobal doesn't account for scripts being recycled (r=mrbkap,khuey)
2013-12-19 12:49:52 -08:00
Jan de Mooij
42dbb46345
Bug 951666 - Rename IonCode to JitCode. r=njn
2013-12-18 23:01:51 +01:00
Wes Kocher
fd7afdc87f
Merge m-c to fx-team
2013-12-19 19:53:30 -08:00
Andrew McCreight
5bbea5ab96
Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
...
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-17 19:29:57 -08:00
Eric Chou
e25ca0c35b
Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh
2013-11-30 20:20:17 +08:00
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
Till Schneidereit
3e7a82f146
Bug 911400 - Create OpaqueWrappers when wrapping objects for use in the self-hosting global and OpaqueWrapperWithCalls when wrapping self-hosted function for use in other compartments. r=bholley
2013-11-26 13:45:54 +00:00
Carsten "Tomcat" Book
72465c7d55
Backed out changeset 261091719842 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE
2013-12-17 09:20:51 +01:00
Andrew McCreight
4b4868e59c
Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
...
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-16 21:30:53 -08:00
Wes Kocher
a8ec671341
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Bobby Holley
6c2d7739b3
Bug 950909 - Tests. r=smaug
2013-12-19 18:08:07 -08:00
Bobby Holley
f2303f3400
Bug 950909 - Forward native aggregation to the root XPCWrappedJS. r=mccr8,sr=smaug
2013-12-19 18:08:07 -08: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
Sean Stangl
0a79faf943
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
J. Ryan Stinnett
440369fc24
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
b653cfe8ef
Bug 939302 - Use DOMTimestamp for timestamps in MMS. r=bz,gen
2013-11-30 19:14:41 +08:00
Tom Schuster
ef7a675b23
Bug 939302 - JS::Value in dictionary_helper_gen.py is obsolete. r=bz
2013-12-13 11:37:53 +01:00
Masatoshi Kimura
42658447da
Bug 949292 - Stop exposing LoadStatus on the global object. r=bz
2013-12-14 16:31:10 +09:00
Bobby Holley
6dba8699cf
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
e1ed4ead58
Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley)
2013-12-13 12:01:30 -08:00
Brian Hackett
42eeba80f7
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
5d0e609693
Bug 944492, part 2 - Make XPCWrappedJS a proper skippable class. r=smaug
2013-12-12 19:38:50 -08:00
Andrew McCreight
695509b3d0
Bug 944492, part 1 - Make XPCWrappedJS use the purple buffer. r=smaug
2013-12-12 19:38:49 -08:00
Bobby Holley
cfdc7a64b4
Bug 937317 - Tests. r=bz
2013-12-11 17:51:59 -08:00
Ryan VanderMeulen
cb80ce98fe
Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
...
CLOSED TREE
2013-12-11 17:07:48 -05:00
Ryan VanderMeulen
9a5a3e3614
Merge m-c to inbound.
2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
106d512427
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Brian Hackett
5d9bd2a0fa
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
b7e717b615
Merge m-c to b2g-inbound
2013-12-10 17:14:14 -08:00
Mike Hommey
1e593d53d5
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
07e29b05c3
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
d222605992
Bug 946781 - part 3 - prepare for measuring multiple things from XPCWrappedNativeScope; r=bholley,njn
2013-12-06 13:04:12 -05:00
Nathan Froyd
a6090ebf41
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
c2c75e8f89
Bug 946781 - part 1 - split explicit/jsconnect into its constituent parts; r=bholley,njn
2013-12-10 10:04:06 -05:00
Andrew McCreight
5a519d7b99
Bug 943373, part 1 - Use MOZ_THIS_IN_INITIALIZER_LIST in XPConnect. r=bholley
2013-12-10 08:07:20 -08:00