Bug 557808 - OOPP crash notification bar doesn't show for small plugins. r=gavin.sharp
authorJustin Dolske <dolske>
Wed, 07 Apr 2010 15:47:00 -0700
changeset 40565 f9bbdcfe2d1b709d7ac95a0a6339d5bd5a3fbb5e
parent 40564 2c07a29e59208dbfdc68894b95700bd157acf1dc
child 40566 f292d7bd2e9347f19875ce9d6b5a49a08f1afe1a
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin.sharp
bugs557808
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 557808 - OOPP crash notification bar doesn't show for small plugins. r=gavin.sharp
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -6331,17 +6331,17 @@ var gMissingPluginInstaller = {
       }];
 #ifdef MOZ_CRASHREPORTER
       let submitButton = {
         label: submitLabel,
         accessKey: submitKey,
         popup: null,
           callback: function() { gMissingPluginInstaller.submitReport(pluginDumpID, browserDumpID); },
       };
-      if (minidumpID)
+      if (pluginDumpID)
         buttons.push(submitButton);
 #endif
 
       let notification = notificationBox.appendNotification(messageString, "plugin-crashed",
                                                             iconURL, priority, buttons);
 
       // Add the "learn more" link.
       let XULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";