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 216341 23226274b981ce16ab71875d05828da86307a76f
parent 216340 cd7100982c732c8d9f1ba138083491ccb4242754
child 216342 9f66c08b991a33256afd9abbcb1454fca1f2dc77
push id3857
push userraliiev@mozilla.com
push dateTue, 02 Sep 2014 16:39:23 +0000
treeherdermozilla-beta@5638b907b505 [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);
 });