gecko-dev/browser/components/newtab
Marco Bonardo a1373abd45 Bug 1320481 - thumbnails cache not cleared with clear history on shutdown. r=Felipe
The "places-shutdown" notification is not a good time to remove observers, since
history notifications (and in particular onClearHistory) may happen at the same
time (The sanitizer runs at "profile-change-teardown" that is basically the same
as "places-shutdown").
We can't ensure proper order of these calls, the safest/simplest thing is just
to keep a weak reference and continue observing.

MozReview-Commit-ID: 9zHkDqozXup

--HG--
extra : rebase_source : 9b079d38457e1005c74f53baad19a7e202c08ddd
2017-01-26 17:54:32 +01:00
..
tests Bug 1320481 - thumbnails cache not cleared with clear history on shutdown. r=Felipe 2017-01-26 17:54:32 +01:00
aboutNewTabService.js Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
NewTabComponents.manifest Bug 1240169 - aboutNewTabService relies on AboutRedirector for default URL resolution r=mconley 2016-01-27 13:50:18 -05:00
NewTabMessages.jsm Bug 1320481 - thumbnails cache not cleared with clear history on shutdown. r=Felipe 2017-01-26 17:54:32 +01:00
NewTabPrefsProvider.jsm Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
NewTabRemoteResources.jsm Bug 1258728 - new remote newtab staging origin r=ursula 2016-03-24 16:28:01 -04:00
NewTabSearchProvider.jsm Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
NewTabURL.jsm Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
NewTabWebChannel.jsm Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
nsIAboutNewTabService.idl Bug 1240169 - aboutNewTabService relies on AboutRedirector for default URL resolution r=mconley 2016-01-27 13:50:18 -05:00
PlacesProvider.jsm Bug 1320481 - thumbnails cache not cleared with clear history on shutdown. r=Felipe 2017-01-26 17:54:32 +01:00
PreviewProvider.jsm Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws 2017-01-09 10:12:26 +00:00