Bug 953312 - Fix idle observer notification in Places expiration. r=mak, a=bajaj
authorRichard Newman <rnewman@mozilla.com>
Wed, 08 Jan 2014 18:47:32 +0100
changeset 175639 c716b93520c490fcbd3fcb8d7b0fe59b1535b6dc
parent 175638 9d0760b64f760d956cf13c3a83a1dc113b9a2e7c
child 175640 4e912655c7f6de0dcbb0e29eeb31a9ba73b74f71
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak, bajaj
bugs953312
milestone28.0a2
Bug 953312 - Fix idle observer notification in Places expiration. r=mak, a=bajaj
toolkit/components/places/nsPlacesExpiration.js
--- a/toolkit/components/places/nsPlacesExpiration.js
+++ b/toolkit/components/places/nsPlacesExpiration.js
@@ -31,17 +31,17 @@ Cu.import("resource://gre/modules/Servic
 //// Constants
 
 // Last expiration step should run before the final sync.
 const TOPIC_SHUTDOWN = "places-will-close-connection";
 const TOPIC_PREF_CHANGED = "nsPref:changed";
 const TOPIC_DEBUG_START_EXPIRATION = "places-debug-start-expiration";
 const TOPIC_EXPIRATION_FINISHED = "places-expiration-finished";
 const TOPIC_IDLE_BEGIN = "idle";
-const TOPIC_IDLE_END = "back";
+const TOPIC_IDLE_END = "active";
 const TOPIC_IDLE_DAILY = "idle-daily";
 
 // Branch for all expiration preferences.
 const PREF_BRANCH = "places.history.expiration.";
 
 // Max number of unique URIs to retain in history.
 // Notice this is a lazy limit.  This means we will start to expire if we will
 // go over it, but we won't ensure that we will stop exactly when we reach it,