summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-11-02 23:09:39 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-11-02 23:09:39 -0400
commit6853a1b8ef1b28001a398f95f46259e6413712ea (patch)
tree20877b30d9584207cc21fc9cf74ebe9408bff8cf
parent937fb6e24af2f521a5f53d9709634891368cc235 (diff)
downloadiceweasel-uxp-6853a1b8ef1b28001a398f95f46259e6413712ea.tar.gz
Remove GMPInstallManager from browser.js
-rwxr-xr-xbase/content/browser.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/base/content/browser.js b/base/content/browser.js
index 1f1620c..bfd1e56 100755
--- a/base/content/browser.js
+++ b/base/content/browser.js
@@ -23,7 +23,6 @@ Cu.import("resource://gre/modules/NotificationDB.jsm");
["Deprecated", "resource://gre/modules/Deprecated.jsm"],
["E10SUtils", "resource:///modules/E10SUtils.jsm"],
["FormValidationHandler", "resource:///modules/FormValidationHandler.jsm"],
- ["GMPInstallManager", "resource://gre/modules/GMPInstallManager.jsm"],
["LightweightThemeManager", "resource://gre/modules/LightweightThemeManager.jsm"],
["Log", "resource://gre/modules/Log.jsm"],
["LoginManagerParent", "resource://gre/modules/LoginManagerParent.jsm"],
@@ -1328,28 +1327,6 @@ var gBrowserInit = {
Cu.reportError("Could not end startup crash tracking: " + ex);
}
- // Delay this a minute because there's no rush
- setTimeout(() => {
- this.gmpInstallManager = new GMPInstallManager();
- // We don't really care about the results, if someone is interested they
- // can check the log.
- this.gmpInstallManager.simpleCheckAndInstall().then(null, () => {});
- }, 1000 * 60);
-
- // Report via telemetry whether we're able to play MP4/H.264/AAC video.
- // We suspect that some Windows users have a broken or have not installed
- // Windows Media Foundation, and we'd like to know how many. We'd also like
- // to know how good our coverage is on other platforms.
- // Note: we delay by 90 seconds reporting this, as calling canPlayType()
- // on Windows will cause DLLs to load, i.e. cause disk I/O.
- setTimeout(() => {
- let v = document.createElementNS("http://www.w3.org/1999/xhtml", "video");
- let aacWorks = v.canPlayType("audio/mp4") != "";
- Services.telemetry.getHistogramById("VIDEO_CAN_CREATE_AAC_DECODER").add(aacWorks);
- let h264Works = v.canPlayType("video/mp4") != "";
- Services.telemetry.getHistogramById("VIDEO_CAN_CREATE_H264_DECODER").add(h264Works);
- }, 90 * 1000);
-
SessionStore.promiseInitialized.then(() => {
// Bail out if the window has been closed in the meantime.
if (window.closed) {
@@ -1510,10 +1487,6 @@ var gBrowserInit = {
Cu.reportError(ex);
}
- if (this.gmpInstallManager) {
- this.gmpInstallManager.uninit();
- }
-
BrowserOffline.uninit();
IndexedDBPromptHelper.uninit();
LightweightThemeListener.uninit();