Bug 787547 - profie-change-teardown should be profile-change-teardown in mailnews/test/resources/mailShutdown. r=mconley
authoraceman <acelists@atlas.sk>
Mon, 10 Sep 2012 18:36:28 -0400
changeset 12256 002818142f5f1bb4dacf8d442278b455008b3f5a
parent 12255 e3c08e7b8ebc7b9aaadc095f9ba537428e5d5a4b
child 12257 6494076610adb2decd18a1831c74cc9999695aed
push id738
push userbugzilla@standard8.plus.com
push dateMon, 08 Oct 2012 19:38:39 +0000
treeherdercomm-aurora@6694e4ec3767 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs787547
Bug 787547 - profie-change-teardown should be profile-change-teardown in mailnews/test/resources/mailShutdown. r=mconley
mailnews/test/resources/mailShutdown.js
--- a/mailnews/test/resources/mailShutdown.js
+++ b/mailnews/test/resources/mailShutdown.js
@@ -6,28 +6,31 @@
 // because we don't actually do any work to make sure the profile goes away, but
 // it will mimic the behaviour in the app sufficiently.
 //
 // See also http://developer.mozilla.org/en/Observer_Notifications
 function postShutdownNotifications()
 {
   var observerService = Cc["@mozilla.org/observer-service;1"]
                           .getService(Components.interfaces.nsIObserverService);
-                          
+
   // first give everyone a heads up about us shutting down. if someone wants
   // to cancel this, our test should fail.
   var cancelQuit = Cc["@mozilla.org/supports-PRBool;1"]
                      .createInstance(Components.interfaces.nsISupportsPRBool);
   observerService.notifyObservers(cancelQuit, "quit-application-requested", null);
   if (cancelQuit.data) {
     do_throw("Cannot shutdown: Someone cancelled the quit request!");
   }
-  
+
   // post all notifications in the right order. none of these are cancellable
-  var notifications = ["quit-application", "profile-change-net-teardown", "profie-change-teardown", "profile-before-change"];
+  var notifications = ["quit-application",
+                       "profile-change-net-teardown",
+                       "profile-change-teardown",
+                       "profile-before-change"];
   notifications.forEach(function(notification) {
                           observerService.notifyObservers(null, notification, null)
                         });
 
   // finally, the xpcom-shutdown notification is handled by XPCOM itself.
 }
 
 // First do a gc to let anything not being referenced be cleaned up.