David Parks
af7f8fa7e5
Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm
...
This message allows plugins to detect when any audio devices change state, even when running inside of our plugin sandbox.
2018-06-13 13:12:54 -07:00
David Parks
5bd2f5e3cf
Bug 1382251: Part 8 - Migrate some previously hooked functions to FunctionHook/Broker; r=jimm,froydnj
...
Moves GetWindowInfo, GetKeyState, SetCursorPos, GetSaveFileNameW and GetOpenFileNameW to the new FunctionHook and FunctionBroker systems.
2017-11-06 11:07:16 -08:00
David Parks
5de1dbff8b
Bug 1382251: Part 6 - Start/stop new top-level brokering actors on their own threads; r=jld
...
The FunctionBroker actors allow the NPAPI process (child) to run methods on the main process (parent). Both the parent and the child run dedicated threads for this task -- this is a top-level protocol.
2017-11-06 10:29:15 -08:00
Nicholas Nethercote
b3ac8bd2e1
Bug 1352575 (part 12) - Remove NP_InitializeResult. r=jimm.
2017-04-18 16:56:44 +10:00
Nicholas Nethercote
75c011059c
Bug 1352575 (part 9) - Remove AsyncNP_Initialize. r=jimm.
2017-04-18 16:56:44 +10:00
Nicholas Nethercote
374aa86835
Bug 1352575 (part 6) - Remove AsyncNPP_New. r=jimm.
...
And related code.
2017-04-18 16:56:43 +10:00
Markus Stange
9b5004bdc9
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=billm,njn
...
MozReview-Commit-ID: EROfGuYQ6a0
2017-05-30 15:06:14 -04:00
David Parks
0114908c11
Bug 1363290 - Part 3: Proxy win32's SetCursorPos for plugins in chrome process. r=jimm, r=jed
...
SetCursorPos is used by Flash's relative cursor motion behavior. It is blocked by the plugin sandbox. This patch allows it to run by proxying it on the main process.
2017-05-16 14:47:09 -07:00
Phil Ringnalda
f13976f44f
Backed out 5 changesets (bug 1330185, bug 1330184) for leaking an nsTArray_base from the plugin process on Win8
...
Backed out changeset e6f368f2d874 (bug 1330185)
Backed out changeset 2b8d50fcb20f (bug 1330184)
Backed out changeset dbe452a9eebb (bug 1330184)
Backed out changeset e13b9e798e16 (bug 1330184)
Backed out changeset 52489c7eadaf (bug 1330184)
MozReview-Commit-ID: 8L20BZ5E3t2
2017-05-22 19:45:35 -07:00
Markus Stange
5775b5cb1b
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
2017-05-22 13:47:02 -04:00
Markus Stange
fb5c50b4d5
Back out bug 1330184 and bug 1330185 because of test failures.
...
MozReview-Commit-ID: ILD4mevlSU6
2017-05-21 15:11:15 -04:00
Markus Stange
8baa6164cb
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
2017-05-21 14:06:50 -04:00
Markus Stange
85eb6f4cac
Bug 1321617 - Tell the CrossProcessProfilerController whether a profile is a response to a GatherProfile request or whether it was sent because the process was exiting. r=mconley
...
MozReview-Commit-ID: BLkaeZqtRhv
2017-04-12 16:44:31 -04:00
Markus Stange
ba275e84c4
Bug 1321907 - Move cross process profiler controlling code from ContentParent and PluginModuleParent into a new class called CrossProcessProfilerController. r=mconley,njn
...
MozReview-Commit-ID: HY2iWHlDaEy
2017-03-22 21:44:59 -04:00
Benjamin Smedberg
89b6f2227c
Bug 1342141 part B - Use NP_EMBED as the mode for all plugins, whether they are full-page or not, r=jimm
...
MozReview-Commit-ID: BeB24ux8TEp
2017-02-23 12:37:42 -05:00
David Parks
4784604438
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
2017-02-08 11:38:40 -08:00
Sebastian Hengst
25e6d08981
Backed out changeset c35afe490583 (bug 1284897)
2017-02-21 23:13:20 +01:00
David Parks
f7818b4465
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
2017-02-08 11:38:40 -08:00
Phil Ringnalda
f72d4e4b61
Backed out 5 changesets (bug 1284897) for mozilla::SandboxPermissions::RemovePermissionsForProcess crashes
...
Backed out changeset 19b2fcee13a9 (bug 1284897)
Backed out changeset a5171791437f (bug 1284897)
Backed out changeset 3ea8b8a18515 (bug 1284897)
Backed out changeset 21497a4e3bde (bug 1284897)
Backed out changeset 12e17d5f0fa9 (bug 1284897)
2017-02-16 22:14:15 -08:00
David Parks
93ff7f87a4
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
2017-02-08 11:38:40 -08:00
David Anderson
e22a919afe
Switch PPluginModule from PCrashReporter to shmem-based CrashReportHost/Client. (bug 1338281 part 5, r=billm)
2017-02-15 14:44:30 -08:00
Carsten "Tomcat" Book
ffc915c2f6
Backed out changeset f4c6758e15f9 (bug 1307708) on developers request
2017-02-09 11:49:38 +01:00
David Parks
5691514b86
Bug 1307708 - Make the GetKeyState IPDL call sync (it was intr). r=jimm
...
This should avoid destruction messages from deleting the actor while the intr message is awaiting a response.
2017-02-06 11:53:59 -08:00
Andrew McCreight
8f66878a7c
Bug 1333915, part 2 - Stop using bridges and spawns in plugins. r=jimm
...
The old code would do the content process portion of the open by
immediately sending a message back to the content process, but this
has some weird issues with nesting and priorities. Instead of doing
that, I return the endpoint for the content process back to the
original sync call. This requires more code changes, to thread the
endpoint along, but it is conceptually simpler.
Once I removed the bridges and got it working, I was just able to
remove the spawns from the IPDL file and it worked.
MozReview-Commit-ID: 1tfiJrV4jbV
2017-01-25 14:17:17 -08:00
David Parks
ae5e8512ae
Bug 1251202 - Implement Default Audio Device Notifications for NPAPI plugins on Windows. r=jimm
...
Adds plugin variables NPPVpluginRequiresAudioDeviceChanges and NPNVaudioDeviceChangeDetails on Windows.
2016-09-19 14:05:41 -07:00
Makoto Kato
8893b79119
Bug 1180684 - Part 2. Hook GetKeyState on plugin process. r=aklotz
...
MozReview-Commit-ID: 3cCWMYYaTkn
2016-08-22 16:06:50 +09:00
Jim Mathies
38056fbe71
Bug 1283274 - Disable windowless workaround if we detect a flash library that support async rendering. r=aklotz
...
MozReview-Commit-ID: 3RubBjRoeEa
2016-07-25 15:45:29 -05:00
Mike Conley
97fc9f775a
Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa
2015-08-11 14:26:27 -04:00
Brad Lassey
6f3fecc1b0
bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak
2015-06-30 18:08:19 -04:00
Wes Kocher
1e193b542b
Backed out changeset 9e0475a23d21 (bug 1158561) for assertions in test_clear_site_data.html CLOSED TREE
2015-07-01 16:25:26 -07:00
Brad Lassey
5f96379688
bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak
2015-06-30 18:08:19 -04:00
Ryan VanderMeulen
45d22e186e
Backed out changesets 57bbe09f18f2 and 8353c823b8b5 (bug 1158561) for win32 build bustage.
...
CLOSED TREE
2015-07-01 12:11:41 -04:00
Brad Lassey
ffff931b1a
bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak
2015-06-30 18:08:19 -04:00
Mike Conley
009806627b
Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
2015-06-10 17:58:30 -04:00
Aaron Klotz
c823488a12
Bug 998863: Asynchronous Plugin Initialization, Part 4: IPDL changes; r=jimm
2014-12-29 16:12:54 -07:00
Phil Ringnalda
4227fff1a3
Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
...
CLOSED TREE
Backed out changeset 076d1d47d601 (bug 1070755 )
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
a2a81bc6fc
Bug 998863: Asynchronous Plugin Initialization, Part 4: IPDL changes; r=jimm
2014-12-24 17:56:13 -07:00
Benjamin Smedberg
c5bf7a3d77
Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz
2014-12-12 10:19:06 -05:00
Mike Conley
136e538abf
Bug 1008435 - Let the Gecko Profiler work with child processes. r=BenWa,smaug.
...
We now allow profiling the content process for e10s, and plugin processes.
2014-11-18 12:50:25 -05:00
Bill McCloskey
c49d4cbef6
Bug 1093693 - [e10s] Don't use sync messages between plugins and chrome process (r=jimm)
2014-11-18 21:46:01 -08:00
Bill McCloskey
7061e6eaa0
Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
...
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Bill McCloskey
e5e5debbf4
Bug 1081353 - Eliminate PPluginIdentifier (r=bsmedberg)
2014-10-20 09:47:25 -07:00
Robert O'Callahan
864665b3b1
Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg
2014-09-24 16:35:00 -04:00
Nathan Froyd
270ac1681b
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
af290b73c4
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
David Anderson
b4cb2d8837
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
2013-09-30 17:27:45 -07:00
Benoit Girard
fb221d781b
Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
2013-03-21 10:17:23 +01:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ben Turner
c8df603ac2
Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
2012-08-16 00:02:32 -04:00
Josh Aas
dcbe9c3d1d
Bug 758363: Implement NPN_ReloadPlugins for out-of-process plugins. r=bsmedberg
2012-05-30 10:23:03 -04:00