components/desktop/firefox/patches/firefox-11-donot-delay-stopping-realplayer.patch
equal
deleted
inserted
replaced
|
1 See Mozilla bug #451007 - Reload page causing problems with |
|
2 RealPlayer/Helix plugin. |
|
3 We can potentially drop this patch since RealPlayer is no longer being |
|
4 supported, but some people may still be using it. |
|
5 |
|
6 diff --git a/dom/base/nsObjectLoadingContent.cpp b/dom/base/nsObjectLoadingContent.cpp |
|
7 --- a/dom/base/nsObjectLoadingContent.cpp |
|
8 +++ b/dom/base/nsObjectLoadingContent.cpp |
|
9 @@ -2902,7 +2902,8 @@ |
|
10 bool aDelayedStop) |
|
11 { |
|
12 // Don't delay stopping QuickTime (bug 425157), Flip4Mac (bug 426524), |
|
13 - // XStandard (bug 430219), CMISS Zinc (bug 429604). |
|
14 + // XStandard (bug 430219), CMISS Zinc (bug 429604), |
|
15 + // RealPlayer/Helix (bug 451007). |
|
16 if (aDelayedStop |
|
17 #if !(defined XP_WIN || defined MOZ_X11) |
|
18 && !aInstanceOwner->MatchPluginName("QuickTime") |
|
19 @@ -2910,6 +2911,8 @@ |
|
20 && !aInstanceOwner->MatchPluginName("XStandard plugin") |
|
21 && !aInstanceOwner->MatchPluginName("CMISS Zinc Plugin") |
|
22 #endif |
|
23 + && !aInstanceOwner->MatchPluginName("RealPlayer") |
|
24 + && !aInstanceOwner->MatchPluginName("Helix") |
|
25 ) { |
|
26 nsCOMPtr<nsIRunnable> evt = |
|
27 new nsStopPluginRunnable(aInstanceOwner, aContent); |