Skip to content

Instantly share code, notes, and snippets.

@yurydelendik
Created April 1, 2015 23:46
Show Gist options
  • Save yurydelendik/8d5180c02c319b20bf01 to your computer and use it in GitHub Desktop.
Save yurydelendik/8d5180c02c319b20bf01 to your computer and use it in GitHub Desktop.
No activation queue in Shumway
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