Bug 1059746 - Fix typos that prevent Sqlite.jsm from displaying the name of unclosed clients. r=froydnj
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Thu, 28 Aug 2014 05:09:00 -0400
changeset 223862 2fdbafb8581c902a511ea7eaea0bc43be8086459
parent 223861 0dca174fbc10b7a5b4620fd259670c95c97ed338
child 223863 e4510b6aed99d832e8082b436f71f4114de50e01
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1059746
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1059746 - Fix typos that prevent Sqlite.jsm from displaying the name of unclosed clients. r=froydnj
toolkit/modules/Sqlite.jsm
--- a/toolkit/modules/Sqlite.jsm
+++ b/toolkit/modules/Sqlite.jsm
@@ -134,24 +134,24 @@ XPCOMUtils.defineLazyGetter(this, "Barri
       Services.obs.removeObserver(finalizationObserver, "sqlite-finalization-witness");
     }),
 
     function status() {
       if (isClosed) {
         // We are waiting for the connections to close. The interesting
         // status is therefore the list of connections still pending.
         return { description: "Waiting for connections to close",
-                 status: Barriers.connections.status };
+                 state: Barriers.connections.state };
       }
 
       // We are still in the first stage: waiting for the barrier
       // to be lifted. The interesting status is therefore that of
       // the barrier.
       return { description: "Waiting for the barrier to be lifted",
-               status: Barriers.shutdown.status };
+               state: Barriers.shutdown.state };
   });
 
   return Barriers;
 });
 
 /**
  * Connection data with methods necessary for closing the connection.
  *