Bug 940575 - Handle null background thread in isOnBackgroundThread() (r=rnewman)
Bug 940575 - Implement scopes for SharedPreferences (r=rnewman)