Commit Graph
17 Commits
Author SHA1 Message Date
Benjamin Smedberg a7f6fabf97 Bug 563361 - Increase the maximum chunk size for delivering stream data to a plugin so that poorly-written Flash which assume stuff about streams don't break, r=bent 2010-07-08 16:28:04 -07:00
Chris Jones 50e016b47e Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg 2010-04-27 00:43:03 -05:00
Benjamin Smedberg 61c44594ca Bug 551049 (was bug 532208) part 1 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent 2010-02-23 16:45:00 -05:00
Benjamin Smedberg a9eae7e47a Revert the RPC-style race resolution from bug 532208 in order to use the asynchronous delivery patches. 2010-03-06 11:08:19 -05:00
Chris Jones eb8ea50167 Bug 532208: Defer deletion of browser streams to later tasks. r=bsmedberg 2010-02-26 13:07:56 -06:00
Benjamin Smedberg 7e4629fb80 Backed out changeset e4a7ea0bb90f bug 532208 - asynchronous stream delivery because write events were being dispatched in odd re-entrant states and NPP_DestroyStream was being delivered before all the stream data was delivered. 2010-02-25 03:00:56 -08:00
Benjamin Smedberg 12ab8da1d8 Bug 532208 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent 2010-02-23 16:45:00 -05:00
Benjamin Smedberg 672e4586b5 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones 2009-12-18 17:22:51 -05:00
Chris Jones f40a90e249 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
Benjamin Smedberg 327c1c818f XXX removal: don't destroy the stream on failure (a future ActorDestroy callback will take care of that), and other shutdown- and crash-related XXX removal which are handled by bug 529005 2009-11-25 15:34:49 -05:00
Benjamin Smedberg fd585ab30c Remove stale TODO, this will be properly covered by parent-side error handling events. 2009-11-02 11:48:52 -05:00
Benjamin Smedberg fd1ff7549a More plugin crash fixes: failure from NPP_Write doesn't actually destroy the stream, it just tells the browser to destroy the stream. NPP_NewStream resulting from NPN_GetURLNotify didn't have the notifyData field set correctly. Other minor logging and cleanup. 2009-09-23 19:00:23 -04:00
Benjamin Smedberg 441b6d767b Fix streams to work. Be consistent about AStream* for pdata/ndata. Set up pdata before actually calling the constructor. Implement functions which were stubbed out without TODO comments. This passes the stream tests! 2009-09-22 17:06:00 -04:00
Benjamin Smedberg 0ada5aafda Implement Plugin->Browser streams. In a very basic form the first plugin instantiation passes the new plugin stream tests, but subsequent instantiations don't: I think there's some shutdown/startup issue (the plugin is being unloaded, perhaps?) 2009-09-21 10:51:35 -04:00
Ben Turner dc77c2acf6 More nsresult -> bool fixes, and fix windows bustage from NPEvent stub impl. 2009-09-19 12:24:24 -07:00
Chris Jones 0f1302af7c switch message handler nsresult return types to bool. appears to break test plugin, will be temporary 2009-09-17 18:09:20 -05:00
Benjamin Smedberg 88ab080bb4 PPluginStream is badly named: there is going to be a PPluginStream, but it's not this! 2009-09-09 10:04:09 -04:00