Alex Gaynor
bb80fdde75
Bug 1525611 - use the correct type for width and height in the IPDL PluginShowWindow message; r=spohl
...
Differential Revision: https://phabricator.services.mozilla.com/D18848
--HG--
extra : moz-landing-system : lando
2019-02-07 14:52:50 +00:00
David Parks
6a029ee77d
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
cc15f3d517
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
93bbbac8e4
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
e08f1ddc1f
Bug 1352575 (part 12) - Remove NP_InitializeResult. r=jimm.
...
--HG--
extra : rebase_source : 9ac4be00773bbcb27834bd338c569238cd0bec7c
2017-04-18 16:56:44 +10:00
Nicholas Nethercote
fd1653bcc9
Bug 1352575 (part 9) - Remove AsyncNP_Initialize. r=jimm.
...
--HG--
extra : rebase_source : c9924774a5f32291a889868d790ed46a104e88a4
2017-04-18 16:56:44 +10:00
Nicholas Nethercote
b3ddc9836a
Bug 1352575 (part 6) - Remove AsyncNPP_New. r=jimm.
...
And related code.
--HG--
extra : rebase_source : 55e76551a0555dda6acf6b07ba792afc48a1c0aa
2017-04-18 16:56:43 +10:00
Markus Stange
e2336b07a8
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=billm,njn
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : be0aa1b9c7963882e8e7d47964f2da5b670ab10a
extra : intermediate-source : e6f368f2d8741f2a9655b288d49b59fbbd6b90b7
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-30 15:06:14 -04:00
David Parks
f2774deb20
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.
--HG--
extra : histedit_source : 85515d398c0c107c2258185c0591a943b26e724a
2017-05-16 14:47:09 -07:00
Phil Ringnalda
6368ef89e2
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
9bf6b534a2
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : 3495ccc7700703cc587f571dfc12e46a682c29a2
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-22 13:47:02 -04:00
Markus Stange
42b5d166ec
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
b5fdcd479d
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : de266bda4fc2d6532ff45a6d548b13cd0b4f7206
extra : histedit_source : ad5c4e140c068f17c51d5085fd88ac691e50ab4f
2017-05-21 14:06:50 -04:00
Markus Stange
59446b4f09
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
--HG--
extra : rebase_source : b0271115a66afbf54d98b5bad61165f815f5bd8c
extra : histedit_source : 299cccc9cc8c06de4d61686ff49d2b0e7649da78
2017-04-12 16:44:31 -04:00
Markus Stange
2a4fe61200
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
--HG--
extra : rebase_source : a91e7b40ea2dbd6d75c2d1a62c359d7ea983fe3c
2017-03-22 21:44:59 -04:00
Benjamin Smedberg
c974a29a4b
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
--HG--
extra : histedit_source : 74c556c04e56ae7e5d6c5cd8f42f49f358864bac
2017-02-23 12:37:42 -05:00
David Parks
8e150e4643
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
...
--HG--
extra : rebase_source : 024eae9f9657579debd38baba1526acfdca2385a
2017-02-08 11:38:40 -08:00
Sebastian Hengst
3db78708f4
Backed out changeset c35afe490583 (bug 1284897)
2017-02-21 23:13:20 +01:00
David Parks
7c0cff84c2
Bug 1284897 - Hook GetSaveFileNameW/GetOpenFileNameW to record and grant a sandboxed process permission to access user-chosen files. r=jimm
...
--HG--
extra : rebase_source : fcfe35521d457905d3205752343c2b9da9bef13d
extra : histedit_source : f44f572c1bc17d1ac8d8d1cef7ed35e5f8125b79
2017-02-08 11:38:40 -08:00
Phil Ringnalda
87ae1a50e4
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
32aabd5e62
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
3a24634204
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
f0343913a8
Backed out changeset f4c6758e15f9 (bug 1307708) on developers request
2017-02-09 11:49:38 +01:00
David Parks
2b771634a4
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.
--HG--
extra : rebase_source : b45e8ffcfe6f63213a289aac874fd43cb71a54ec
2017-02-06 11:53:59 -08:00
Andrew McCreight
87a0a37e72
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
--HG--
extra : rebase_source : 1ce0012d3f51b0cdebb1954cf473811a9d6c47a7
2017-01-25 14:17:17 -08:00
David Parks
17683f933c
Bug 1251202 - Implement Default Audio Device Notifications for NPAPI plugins on Windows. r=jimm
...
Adds plugin variables NPPVpluginRequiresAudioDeviceChanges and NPNVaudioDeviceChangeDetails on Windows.
--HG--
extra : rebase_source : ff18bbca9772352b18be1dfcde90570775e8d5cc
2016-09-19 14:05:41 -07:00
Makoto Kato
0d03e6a9b7
Bug 1180684 - Part 2. Hook GetKeyState on plugin process. r=aklotz
...
MozReview-Commit-ID: 3cCWMYYaTkn
--HG--
extra : rebase_source : 5350555661244ba0e3afe86bde12988270f9f7cf
2016-08-22 16:06:50 +09:00
Jim Mathies
b5801fa3f7
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
26dff43ec9
Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa
...
--HG--
extra : commitid : 5WuS9Ur4Lmn
extra : rebase_source : ec3fd280607c5b13090d3c4e902b47ffd5617ec3
2015-08-11 14:26:27 -04:00
Brad Lassey
857ea25644
bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak
2015-06-30 18:08:19 -04:00
Wes Kocher
9e61cb09b7
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
8caec1b14a
bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak
2015-06-30 18:08:19 -04:00
Ryan VanderMeulen
9483a612e8
Backed out changesets 57bbe09f18f2 and 8353c823b8b5 (bug 1158561) for win32 build bustage.
...
CLOSED TREE
2015-07-01 12:11:41 -04:00
Brad Lassey
9ddc8315be
bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak
2015-06-30 18:08:19 -04:00
Mike Conley
883b7ff2db
Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
...
--HG--
extra : commitid : 3ssrVzrWpIy
extra : rebase_source : 5d389ada8f7e4c453c0b7e6a965ee46a7526e06f
2015-06-10 17:58:30 -04:00
Aaron Klotz
5374a7a76b
Bug 998863: Asynchronous Plugin Initialization, Part 4: IPDL changes; r=jimm
2014-12-29 16:12:54 -07:00
Phil Ringnalda
0c888c27eb
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
55c78d728a
Bug 998863: Asynchronous Plugin Initialization, Part 4: IPDL changes; r=jimm
2014-12-24 17:56:13 -07:00
Benjamin Smedberg
6ddc077746
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
...
--HG--
extra : rebase_source : 929cb9acf53f7aa761d202b660dbfc39020bac74
2014-12-12 10:19:06 -05:00
Mike Conley
ccd8edc947
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.
--HG--
extra : rebase_source : 1f2e35d4d55b33b56160132893dbf7d4787925fa
extra : amend_source : d03465d4318f8e50c7624ad0eeb681b30c068b11
2014-11-18 12:50:25 -05:00
Bill McCloskey
f5c20f47d7
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
69446aded5
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
1809fa7212
Bug 1081353 - Eliminate PPluginIdentifier (r=bsmedberg)
2014-10-20 09:47:25 -07:00
Robert O'Callahan
3a81f050e7
Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg
2014-09-24 16:35:00 -04:00
Nathan Froyd
ec839c62b4
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
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
David Anderson
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Benoit Girard
4a868d8c33
Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 70dfd31809cb644f6405bd144a2e8373268a461c
2013-03-21 10:17:23 +01:00
Ehsan Akhgari
e368dc9c85
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
4b09919a18
Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
...
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00