Created
April 1, 2015 23:46
-
-
Save yurydelendik/8d5180c02c319b20bf01 to your computer and use it in GitHub Desktop.
No activation queue in Shumway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/extension/firefox/content/ShumwayStreamConverter.jsm b/extension/firefox/content/ShumwayStreamConverter.jsm | |
index d8fa8e8..84fbe1f 100644 | |
--- a/extension/firefox/content/ShumwayStreamConverter.jsm | |
+++ b/extension/firefox/content/ShumwayStreamConverter.jsm | |
@@ -112,6 +112,7 @@ function isShumwayEnabledFor(startupInfo) { | |
} | |
var ActivationQueue = { | |
+ enabled: false, | |
nonActive: [], | |
initializing: -1, | |
activationTimeout: null, | |
@@ -515,6 +516,11 @@ ShumwayStreamConverterBase.prototype = { | |
domWindow.shumwayStartupInfo = startupInfo; | |
+ if (!ActivationQueue.enabled) { | |
+ activateShumwayScripts(domWindow); | |
+ return; | |
+ } | |
+ | |
// Report telemetry on amount of swfs on the page | |
if (startupInfo.isOverlay) { | |
// Looking for last actions with same baseUrl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment