Bug 1052409 - Fix browser_openH264 shutdown leak. r=gfritzsche, a=test-only
authorTim Taubert <ttaubert@mozilla.com>
Tue, 12 Aug 2014 17:06:41 +0200
changeset 217463 23226274b981ce16ab71875d05828da86307a76f
parent 217462 cd7100982c732c8d9f1ba138083491ccb4242754
child 217464 9f66c08b991a33256afd9abbcb1454fca1f2dc77
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgfritzsche, test-only
bugs1052409
milestone33.0a2
Bug 1052409 - Fix browser_openH264 shutdown leak. r=gfritzsche, a=test-only
toolkit/mozapps/extensions/test/browser/browser_openH264.js
--- a/toolkit/mozapps/extensions/test/browser/browser_openH264.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_openH264.js
@@ -244,13 +244,14 @@ add_task(function* testUpdateButton() {
   gInstallDeferred = Promise.defer();
 
   let button = doc.getElementById("detail-findUpdates-btn");
   Assert.ok(button != null, "Got detail-findUpdates-btn");
   button.click();
   yield gInstallDeferred.promise;
 
   Assert.equal(gInstalledAddonId, OPENH264_PLUGIN_ID);
+  delete OpenH264Scope.GMPInstallManager;
 });
 
 add_task(function* test_cleanup() {
   yield close_manager(gManagerWindow);
 });