Commit Graph

36326 Commits

Author SHA1 Message Date
Chris Jones
7a70d6f9c4 bug 533034: fix race condition that led to use-after-free. thanks valgrind! 2009-12-07 00:04:00 -06:00
Chris Jones
6e91459a40 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Benjamin Smedberg
fa1b90bc0c Comment out the crash test until we can fix the leaking nsPluginHost as well as tell the test harness that it's ok that the crashing plugin process didn't print leak information. 2009-12-05 13:53:12 -05:00
Chris Jones
93211d4751 rename conflicting crash() symbol that's breaking the mac build 2009-12-04 23:15:18 -06:00
Benjamin Smedberg
cb534efdff Oh snap! nsPluginTag.mEntryPoint became a nsCOMPtr in a merge and ended up being double-released. Victory is mine! 2009-12-04 23:27:32 -05:00
Benjamin Smedberg
795a8c74a2 Added tag last-mozilla-central for changeset 65c1582465ef 2009-12-04 23:13:08 -05:00
Benjamin Smedberg
1c4aa9f2e3 Defer the PluginCrashed notification so that we don't delete the PluginModuleParent while we're in the middle of a crash notification. 2009-12-04 21:20:06 -05:00
Chris Jones
ba122c592e fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Benjamin Smedberg
5035b52067 Partly fix test bustage from bug 532751: set mShutdown before notifying the nsNPAPIPlugin, so that it doesn't re-enter IPC methods. 2009-12-04 18:41:56 -05:00
Chris Jones
8ba8e5aaab bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read 2009-12-04 16:45:23 -06:00
Chris Jones
0b9d5b4132 Fix MSVC warning 2009-12-04 16:27:59 -06:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg
94dfebea82 "Merge" electrolysis default back onto the the electrolysis-plugins-only branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:00:20 -05:00
Masayuki Nakano
34b513f2b4 Bug 531810 Right clicking on Google Maps broken after leaving Street View (Windows only) r=roc 2009-12-04 17:03:27 +09:00
Kai Engert
697c86dc09 Bug 499716, Enable Buypass Class 3 CA 1 for EV in PSM
r=rrelyea, approval-1.9.2=johnath
2009-12-04 07:10:35 +01:00
Kai Engert
f87e116006 Bug 528277, Release NSS 3.12.4 + new roots to Mozilla
approval-1.9.2=johnath (comment 3)
2009-12-04 07:04:06 +01:00
Daniel Holbert
f0a97f3ee2 Bug 531075 followup: Shift new early-return down a bit, to let simpler early-returns catch open-and-visible popups. r=bz 2009-12-03 20:01:39 -08:00
Dave Townsend
561e0d7c72 Bug 526598 - NS_ERROR_FILE_ACCESS_DENIED from nsIZipReader.extract makes extension installs fail. r=rstrong, a=beltzner 2009-12-03 19:29:50 -08:00
Blake Kaplan
c8044d3215 Bug 532259 - Protect against a null script. r=jst a=sayrer
--HG--
extra : rebase_source : 926c94ac7dca681c195e4bd013db0331e79f78ca
2009-12-03 14:52:56 -08:00
Robert Strong
378f5d5e50 Bug 532552 - There is no need to load nsBlocklistService.js on startup. r=dtownsend, a=beltzner for baking 2009-12-03 15:30:50 -08:00
Benjamin Smedberg
c29bfd6d3d Bustage fix 2009-12-03 15:44:33 -05:00
Benjamin Smedberg
8613b91908 Add a .crash() method to the testplugin, and test that crashing throws exceptions in the parent. 2009-12-03 15:33:25 -05:00
Benjamin Smedberg
3e06063b78 !MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -05:00
Chris Jones
ef2a387ab8 bug 523175: follow-up to 82549dbf71d8, fully enables the C++/IPDL side of Shmem and adds unit tests. r=bent 2009-12-04 12:45:21 -06:00
Chris Jones
96d13f9099 bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew 2009-12-04 12:45:15 -06:00
Benjamin Smedberg
6e3d83cf38 Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz 2009-12-04 13:24:57 -05:00
Benjamin Smedberg
487e2582f8 Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh 2009-12-03 15:33:27 -05:00
Benjamin Smedberg
c1afb3a76f Bug 532671 - After a plugin crashes, the module entry points (most importantly NPP_New) should fail, r=bent
--HG--
extra : rebase_source : 389d54e70fea2801d28bdf2e48740dcaaec31a07
2009-12-03 15:31:52 -05:00
Benjamin Smedberg
7fa499445d When the plugin crashes, set NPP->pdata to NULL, and null-check NPP->pdata in the callbacks that matter. r=bent
--HG--
extra : rebase_source : 32489b985b05b9da68546d37a2f0302bac8fd467
2009-12-03 15:31:01 -05:00
Benjamin Smedberg
f29a8b92d2 Bug 532659 - PluginScriptableObjectParent gets double-deleted when the plugin crashes, and fix the IPDL bug where we delete the actor if construction fails, instead of calling Deallocate on it, r=bent
--HG--
extra : rebase_source : dbe9a100735b1e0d0a8b07f4421e1ccb6055a78a
2009-12-03 15:30:05 -05:00
Ben Turner
998844d951 Fix bad invalidation bug in child NPObjects 2009-12-03 11:53:09 -08:00
Benjamin Smedberg
13786e8a04 Bug 532605 - _write conflicts with symbols in the MSVC runtime. Remove all vestiges of PR_BEGIN_EXTERN_C from nsNPAPIPlugin.{h,cpp}, so that these functions are given C++ mangled names in the namespace we actually declared for them. 2009-12-03 09:17:49 -05:00
Peter Van der Beken
1ab8a39a5f Make sure debugging code for topcrash bug 500105 brings up breakpad. r=dbaron. 2009-12-03 12:23:06 +01:00
Ehsan Akhgari
7f6f7eab31 Bug 518412 - Use SUCCEEDED instead of S_OK check 2009-12-03 11:34:38 -05:00
Chris Jones
4572a1920a bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Chris Jones
36fa3e883c bug 521272: add C++ interfaces allowing IPDL manager actors to iterate over managees. r=trivial 2009-12-03 02:16:21 -06:00
Chris Jones
4a0c6ae1dc bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Chris Jones
2898ebbb12 bug 525172: from IPDL specs generate .cpp files with method definitions instead of everything in .h files. r=bsmedberg 2009-12-03 02:16:09 -06:00
Chris Jones
5a85bd72bf bug 525483: simple check for IPDL actor use-after-free. also refactors some error handling code 2009-12-03 02:16:03 -06:00
Chris Jones
f2a7be3825 bug 524220: add a |nullable| type qualifier denoting whether C++ actor params are allowed to be NULL. r=bent 2009-12-03 00:35:22 -06:00
Chris Jones
f2e02884ba bug 523175: preliminary front-end-only support for shmem. r=bent 2009-12-03 00:35:15 -06:00
Ehsan Akhgari
b0c0d0fa87 Bug 518412 - clipboard data added in Private Browsing Mode causes Windows Explorer to crash when accessing menus which include Paste after closing firefox; r=roc a=beltzner
--HG--
extra : rebase_source : f91639b86549cd47e995b76bd7a5859a60458afc
2009-12-02 23:08:39 -05:00
Brian Crowder
3506b796bf Bug 519316 - better math and comments for early remote-start code, r=dolske 2009-12-03 08:14:27 -08:00
Peter Van der Beken
ad1dfa79f9 Merge backout of 7856366bcd76. 2009-12-03 12:27:22 +01:00
Peter Van der Beken
9f245902c8 Back out 7856366bcd76 (Bug 524745 - "Session restore sets focus to minimized windows") to fix orange, also doesn't have approval yet. 2009-12-03 12:26:53 +01:00
Reed Loden
86d20f782a Backout patch from bug 528964 due to bustage. 2009-12-03 03:18:52 -06:00
zbychs@gmail.com
ec24a6ee73 Bug 528964 - "Memory leak in GRE_GetGREPathWithProperties" [r=bsmedberg] 2009-12-03 03:07:44 -06:00
Bill Lancashire
efb8e01119 Bug 520704 - "Build problems with libffi and PGO" [r=ted] 2009-12-03 02:20:11 -06:00
Hanspeter Niederstrasser
3ca04ed168 Bug 532112 - "fontconfig/fcfreetype.h not found during configure check" [r=bsmedberg] 2009-12-03 02:16:36 -06:00