Bug 548208 - Port Bug 411930 [Crash reporter sends wrong URL when crashing during pageload] to SeaMonkey; patch.
authorMisak Khachatryan <misak.bugzilla@gmail.com>
Mon, 01 Mar 2010 22:07:52 +0100
changeset 5028 908177e763f67d67c6abecbbe42f4d3995debd5f
parent 5027 b5f5f67b5098711eed8f1baa71731797c3c19983
child 5029 7e6d3908a938da957720b2e298ed8564f012336f
push id3910
push usersgautherie.bz@free.fr
push dateMon, 01 Mar 2010 21:11:14 +0000
treeherdercomm-central@7e6d3908a938 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs548208, 411930
Bug 548208 - Port Bug 411930 [Crash reporter sends wrong URL when crashing during pageload] to SeaMonkey; patch. r+sr=neil.
suite/common/src/nsSessionStore.js
--- a/suite/common/src/nsSessionStore.js
+++ b/suite/common/src/nsSessionStore.js
@@ -609,16 +609,18 @@ SessionStoreService.prototype = {
     aBrowser.addEventListener("change", this, true);
     aBrowser.addEventListener("input", this, true);
     aBrowser.addEventListener("DOMAutoComplete", this, true);
     aBrowser.addEventListener("scroll", this, true);
 
     if (!aNoNotification) {
       this.saveStateDelayed(aWindow);
     }
+
+    this._updateCrashReportURL(aWindow);
   },
 
   /**
    * remove listeners for a tab
    * @param aWindow
    *        Window reference
    * @param aBrowser
    *        Browser reference