Commit Graph
1957 Commits
Author SHA1 Message Date
Benjamin Smedberg 862bfdf6bb Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker
2011-02-23 10:47:25 -05:00
Benjamin Smedberg 9a70bf53b9 Revert bug 634534 because of test failures (test_visibility.html timing out, and neverending.sjs data leaking into other plugin tests?) 2011-02-23 16:04:35 -05:00
Benjamin Smedberg c96af8ad44 Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker
2011-02-23 10:47:25 -05:00
Robert O'Callahan 7a5e850b7d Bug 631388. Part 1: Add nsIPluginInstance::GetImageSize. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Josh Aas a637c68692 Bug 634814: Further limit Flash OOP logic (all of it) to i386 on Mac OS X. There is no case in which we'd want to hard-code running Flash in-process in a 64-bit browser. r=benwa a=josh 2011-02-20 18:06:25 -05:00
Mark Banner 67b8ea7989 Bustage fix for non-IPC builds from bug 634819. Add a required windows.h include. r+a=bustage-fix 2011-02-19 12:16:51 +00:00
Josh Aas 8d8b44e9c6 Bug 633433: Limit plugin loading to Flash when we're trying to clear private data, but also clear anything else that happens to be open already. r=dwitte r=bsmedberg a=blocking2.0final+ 2011-02-18 20:05:23 -05:00
Ehsan Akhgari 818f65bc6a Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver 2011-02-17 16:18:53 -05:00
Peter Van der Beken 9cd1f23001 Fix for bug 634865 (Non libxul build bustage: undefined reference to xpc_UnmarkGrayObjectRecursive). r+a=jst 2011-02-18 09:55:47 +01:00
Josh Aas 2665617ec7 Bug 633463: Never scan old XPCOM/OJI Java plugin directory. r=jmathies a=blocking2.0betaN+ 2011-02-17 03:45:20 -05:00
Chris Jones acccdcaf77 Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Ben Turner b49250c559 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-16 12:47:08 -08:00
Josh Aas dec390018d Bug 610526: Fix bug that caused Flash to not load on machines with GMA9xx GPUs. r=bsmedberg a=blocking2.0final+ 2011-02-15 15:15:08 -05:00
Jacek Caban 73b2a31593 Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin 2011-02-15 12:30:58 +00:00
Josh Aas 90e7637edb Bug 633667: Per the spec, return NPRES_USER_BREAK when a plugin rejects an HTTP redirect, not NPRES_NETWORK_ERR. r=bsmedberg a=blocking2.0final+ 2011-02-14 11:50:27 -05:00
Ehsan Akhgari a25dad9c53 Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN 2011-02-11 20:56:11 -05:00
Matt Woodrow 055c5c7ae6 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow 38f6fb2b08 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Chris Leary 3b3aa82656 Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
Ben Turner 92054a70e6 Backout 10ebc5ea11ac due to test failures. 2011-02-09 15:29:31 -08:00
Ben Turner 69da70d5c5 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-09 12:51:16 -08:00
Jim Blandy 683c407693 Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner f17b16f00e Backout bug 614347 due to test failures 2011-02-08 22:15:48 -08:00
Ben Turner 57ffd64968 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-08 18:54:14 -08:00
Dave Townsend 991d3cc7ec Followup to Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins. r=joshmoz, a=approval2.0 DONTBUILD 2011-02-05 21:27:31 -08:00
Marco Bonardo 6896615af5 Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Chris Jones 4c65f627d4 Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06:00
Dan Witte 787ac1bb42 Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner 2011-02-08 14:16:07 -08:00
Ehsan Akhgari abfd54f2dc Bug 631412 - Bug 629401 breaks non-libxul builds due to unresolved reference to nsContentUtils::DispatchTrustedEvent(nsIDocument*, nsISupports*, nsAString_internal const&, int, int, int*); r=khuey a=NPOTB 2011-02-04 12:00:21 -05:00
Benjamin Smedberg 071fd4cbd4 Bug 631002 - Crashes in our RPC code because something is crashing (not sure what yet) and the primitive __try/__catch crash catching in the plugin host screws up the IPC invariants. Disable the __try/__catch blocks because we shouldn't need them any longer and they are covering up core problems. r=josh a=myself 2011-02-04 10:23:55 -05:00
Josh Aas ffba90cd76 Bug 626608: Make sure plugin is in a state to receive callbacks before calling NPP_UrlRedirectNotify. r=bsmedberg a=blocking2.0final+ 2011-02-03 16:45:33 -08:00
055ad6302c Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins r=josh a=jst 2010-07-11 15:50:47 +03:00
Benjamin Smedberg 863ea7a42a Bug 616400 - When a plugin returns a failure code from NPP_New, but creates JS objects in the process, anyone trying to script those objects after NPP_New fails will crash (Silverlight crash @NPObjWrapper_NewResolve). Call nsJSNPRuntime::OnPluginDestroy on a failed-init case just as we do in a normal cleanup case. r=josh a=blocker 2011-02-03 16:10:45 -05:00
Josh Aas 9972946435 Bug 629401: Carbon plugins that cannot load in X64 Mac should send an event or notifyObservers of failure. r=BenWa, a=blocks-betaN 2011-02-03 09:31:01 -08:00
Josh Aas d4ff7e0192 Bug 610015: Implement updated Cocoa NPAPI text input spec. Part of this patch written by Steven Michaud. r=josh r=smichaud a=blocking2.0betaN+ 2011-01-20 20:08:11 -05:00
Josh Aas f40b50b7de Bug 623695: Sync to npapi-headers rev 34. r=dwitte a=josh 2011-01-18 21:32:35 -05:00
Josh Aas 72d87f5ea7 Fix line endings in PluginPRLibrary.cpp (Windows -> UNIX), no bug. a=josh DONTBUILD 2011-01-18 15:05:30 -05:00
Chris Leary 301ea266fa Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Jonathan Kew 26e47d45e8 bug 626180 - partial backout of bug 607121 (undo encoding-munging from changeset 3f8bee2e48a7) which broke non-ASCII plugin info. r+a=bsmedberg 2011-01-18 18:26:19 +00:00
Luke Wagner ae1a297f87 Bug 595278 - Make sure the context outlives the request in NPAPI _evaluate (r=jst) 2011-01-12 10:57:06 -08:00
Jonathan Kew 92e4a7182e bug 624789 - allow for non-ASCII characters when reading plugin info strings on OS X. r=josh a=josh 2011-01-14 13:15:48 +00:00
Jonathan Kew ccdaec1c53 bug 607121 - convert plugin info strings from windows-1252 to unicode. r=jmathies a=roc 2011-01-11 11:17:01 +00:00
Jacek Caban 89d95b5426 Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin 2011-01-11 10:16:59 +00:00
Josh Aas 4a6c6d2009 Bug 611296: Fix bug that caused the Quicktime plugin to fail to load for some Mac OS X users. Don't require that the MIME plist locale match the current locale. r=sgreenlay a=blocking2.0betaN+ 2011-01-07 07:47:41 -05:00
Josh Aas c47b3a7ec3 Bug 623638: Fix crash in plugin stream code by adding back a NULL check. r=jst a=blocking2.0beta9+ 2011-01-07 07:51:36 -05:00
Josh Aas 198bd2263c Bug 475991: Extend NPAPI to allow plugins to participate in redirect handling. r=bsmedberg a=blocking2.0betaN+ 2011-01-05 14:44:21 -05:00
Chris Leary 3af41999dc Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Robert O'Callahan 1fe3327957 Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Taras Glek c05f6e51a0 Don't do IO in nsPluginsDir::IsPluginFile on Mac r+a=josh 2010-12-27 11:15:15 -08:00
Jacek Caban a60cdf4755 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] bustage fix r+a=bustage-fix 2010-12-26 22:51:06 +00:00