Commit Graph

2297 Commits

Author SHA1 Message Date
Jim Mathies
d9a7675005 Bug 1129040 - Query the chrome process blocklist service prior to instantiating plugins in the content process. r=billm 2015-05-01 10:07:19 -05:00
Jim Mathies
4fbc128cea Bug 1129040 - Provide a way for content processes to query the chrome side blocklist service. r=billm 2015-05-01 10:07:19 -05:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Carsten "Tomcat" Book
4142cabc3d Backed out changeset 61b5398161f3 (bug 1129040) 2015-04-29 16:51:40 +02:00
Carsten "Tomcat" Book
417e0f4ed6 Backed out changeset a7aab0099e9e (bug 1129040) 2015-04-29 16:51:32 +02:00
Jim Mathies
9769b139a7 Bug 1129040 - Query the chrome process blocklist service prior to instantiating plugins in the content process. r=billm 2015-04-29 06:33:10 -05:00
Jim Mathies
24d89b9386 Bug 1129040 - Provide a way for content processes to query the chrome side blocklist service. r=billm 2015-04-29 06:33:09 -05:00
Aaron Klotz
d5c84432d0 Bug 1156800: Post a task to send async NPP_New result from child to parent; r=jimm
--HG--
extra : rebase_source : ee89159fd7781496aef5fdd55cfe9b610338581d
2015-04-27 16:07:28 -06:00
Bill McCloskey
ae2bb7ea61 Bug 1154898 - Avoid offline observer crash (r=aklotz) 2015-04-27 19:45:18 -07:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Jan de Mooij
103a223716 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Jim Mathies
ed59f0c98f Bug 1155908 - Plugin crash reports should include the content process minidump. r=billm 2015-04-23 04:18:53 -05:00
Ehsan Akhgari
90c2585151 Bug 1157046 - Remove ARRAY_LENGTH in favor of MOZ_ARRAY_LENGTH; r=Waldo 2015-04-23 08:30:41 -04:00
Carsten "Tomcat" Book
8f421f43e9 Backed out changeset d6df8807c839 (bug 1155908) for bustage 2015-04-23 10:34:39 +02:00
Jim Mathies
8357773830 Bug 1155908 - Plugin crash reports should include the content process minidump. r=billm 2015-04-22 07:06:34 -05:00
Andrea Marchesini
cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Ehsan Akhgari
399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Ehsan Akhgari
3d21a05904 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Aaron Klotz
489c281fe6 Bug 1155503: BrowserStreamParent should null out its NPStream pointer and we should check for it; r=jimm
--HG--
extra : rebase_source : 5dd15452653114a17e1b9504932cd71934b69c36
2015-04-20 17:04:33 -06:00
Ehsan Akhgari
f9d798bcbd Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Nicolas Silva
e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Julian Seward
cea2379e64 Bug 1153173 - Uninitialised value use in AutoJSExceptionReporter::~AutoJSExceptionReporter. r=aklotz. 2015-04-20 10:02:27 +02:00
Jim Blandy
ebd83c9a61 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Nathan Froyd
1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Aaron Klotz
9f353d5140 Bug 1151804: Ensure that streams are not prematurely terminated when asyncInit is true; r=jimm
--HG--
extra : rebase_source : b4ae69da3298b2eda3700167c1af96a9d3de541e
2015-04-13 13:19:51 -06:00
Jacek Caban
23e903547c Bug 1153909 - Use two-argument wcstok variant on mingw. r=jimm 2015-04-14 18:07:25 +02:00
Kartikaya Gupta
8ffd1ab6d0 Bug 1146349 - Update DOM mochitests to deal with async native event synthesization. r=smaug 2015-04-14 11:36:36 -04:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Aaron Klotz
e41553369a Bug 1152890: Add missing state transition to nsNPAPIPluginStreamListener; r=jimm
--HG--
extra : rebase_source : e13c4f7542c8783cf264a8c8421c621feca96f3a
2015-04-09 10:04:52 -06:00
Aaron Klotz
9be46b97cf Bug 1152395: Ensure that NP_Shutdown respects async plugin init; r=jimm
--HG--
extra : rebase_source : 2fc1fda02d611303d18eb24a438ed2ac223a52f7
2015-04-08 11:31:18 -06:00
Mike Conley
194c589ef5 Bug 1148012 - Send the run ID and plugin name along with the plugin-crashed observer notification. r=josh.
--HG--
extra : rebase_source : 091451422a6e31849a5d4999c968d71715a1d836
2015-03-18 17:04:08 -04:00
Mike Conley
d95fcd35e3 Bug 1148012 - Expose run ID through nsIObjectLoadingContent.idl. r=josh,smaug.
The run ID for a plugin is retrieved and cached in the nsObjectLoadingContent
on plugin instantiation.

--HG--
extra : rebase_source : d1e87b7751e6367c482b2420aa43bfadbce5e3e8
2015-03-17 13:28:32 -04:00
Mike Conley
22a0f74e8f Bug 1148012 - Add a run ID for plugins to differentiate subsequent runs of the same plugins. r=jimm.
Normally, this could be served by the process ID of a plugin, however, run ID is meant
to be consumed by multi-process browser chrome code for telling different runs of a
plugin apart (for example, for searching the DOM for a crashed instance of a plugin,
while ensuring that we don't accidentally find newly spawned instances that have not
crashed). Exposing something as low-level as the process ID to browser chrome code
seemed like Too Much Information. Also, there is the extremely unlikely chance that
a process ID might be re-used immediately after the original process shuts down. This
run ID avoids that case, regardless of how unlikely.

--HG--
extra : rebase_source : 4f0072ef660645efdb26d8fa7c9f03dfc60a4f4a
2015-03-17 13:42:34 -04:00
Aaron Klotz
f1aa8a8472 Bug 1141081 - Add weak reference support to HTMLObjectElement and use it in nsPluginInstanceOwner. r=jimm 2015-04-04 12:39:36 -06:00
Jim Mathies
46a2e007da Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Nicolas Silva
0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
zhoubcfan@163.com
795aecd9f2 Bug 1121290: Use "%ls" instead of "%s" in _snwprintf_s format string, r=bsmedberg
MSVC 2015 requires the use of the "l" modifier. Not sure why MSVC 2013 didn't.

--HG--
extra : rebase_source : 0d340bd7488fb2ba3fdf663a870f9815f3e723c3
2014-11-25 23:48:26 +08:00
Brian Smith
b5f52f030e Bug 1150354: Make nsPluginDirServiceProvider build with MSVC 2015 CTP 6, r=jmathies
MSVC 2013 and earlier provided only a non-standard two-argument
variant of wcstok that is generally not thread-safe. For our
purposes here, it works fine, though, so we polyfill the
standard variant using the non-standard variant.

--HG--
extra : rebase_source : c54c07a4e1d1d6933cfe5899d84a7f11ae4f99fa
2015-04-01 07:48:39 -10:00
Aaron Klotz
161897ae0e Bug 1149358: Ensure that plugin streams are not manipulated by PluginAsyncSurrogate if plugin destruction is imminent; r=jimm
--HG--
extra : rebase_source : 440ecf2bd74fd5e28ed715e7e477d9fd55d18697
2015-04-01 16:53:47 -06:00
Kartikaya Gupta
0c7dfaf444 Bug 1150207 - Convert a focus() call to use SpecialPowers to avoid out-of-order focusing behaviour. r=mwargers 2015-04-02 06:58:18 -04:00
David Parks
3fe715e93a Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Bob Owen
e4f543bb58 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Bob Owen
eef3ca5f6e Bug 1119878 Part 1: Change SandboxTarget to hold sandbox target services to provide functions. r=aklotz, r=glandium, r=cpearce 2015-04-01 09:40:35 +01:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Tom Schuster
ac250f9d73 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00