Remove last bits of Flash WebSocket emulation

We require native support from the browsers now.
This commit is contained in:
Pierre Ossman
2017-02-03 16:02:17 +01:00
parent e47591f4aa
commit 10e13d7a7e
17 changed files with 6 additions and 645 deletions
-15
View File
@@ -362,18 +362,3 @@ if (Util.Engine.webkit) {
return parseFloat(v, 10);
})(Util.Engine.webkit);
}
Util.Flash = (function(){
var v, version;
try {
v = navigator.plugins['Shockwave Flash'].description;
} catch(err1) {
try {
v = new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version');
} catch(err2) {
v = '0 r0';
}
}
version = v.match(/\d+/g);
return {version: parseInt(version[0] || 0 + '.' + version[1], 10) || 0, build: parseInt(version[2], 10) || 0};
}());