Bug 1161981 - Add SessionStore:crashedTabRevived to NOTAB_MESSAGES to silence warnings when closing about:tabcrashed tabs r=billm
authorTim Taubert <ttaubert@mozilla.com>
Wed, 06 May 2015 11:56:59 +0200
changeset 242665 182674a080675c8873632e473fc19a8bb249aa78
parent 242664 d1431d2370952c51bef31591fcdb4b3a50064f0d
child 242666 79ce48075b625afcff42001138ce0a081dbbad77
push id12782
push userttaubert@mozilla.com
push dateThu, 07 May 2015 09:53:42 +0000
treeherderfx-team@182674a08067 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm
bugs1161981
milestone40.0a1
Bug 1161981 - Add SessionStore:crashedTabRevived to NOTAB_MESSAGES to silence warnings when closing about:tabcrashed tabs r=billm
browser/components/sessionstore/SessionStore.jsm
--- a/browser/components/sessionstore/SessionStore.jsm
+++ b/browser/components/sessionstore/SessionStore.jsm
@@ -77,16 +77,19 @@ const MESSAGES = [
 
 // The list of messages we accept from <xul:browser>s that have no tab
 // assigned. Those are for example the ones that preload about:newtab pages.
 const NOTAB_MESSAGES = new Set([
   // For a description see above.
   "SessionStore:setupSyncHandler",
 
   // For a description see above.
+  "SessionStore:crashedTabRevived",
+
+  // For a description see above.
   "SessionStore:update",
 ]);
 
 // The list of messages we want to receive even during the short period after a
 // frame has been removed from the DOM and before its frame script has finished
 // unloading.
 const CLOSED_MESSAGES = new Set([
   // For a description see above.