mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
b3eef35a05
There's a heavy enough overhead to going through XPConnect for every observer for every visit on the nsINavHistoryObserver interface, so this patch reduces that by replacing the single- visit notification with one which accepts an array of visits. Some notes: To avoid problems with the orderings of the various ways in which we notify about visits, we have to send our bulk onVisits notification before doing any of the others. This does mean it technically behaves slightly different than the prior approach of interleaving the notifications, but I can't find any way in which this has any consequences to the end result, and it doesn't break any tests. MozReview-Commit-ID: GdeooH8mCkg --HG-- extra : rebase_source : 48b5f886c4650a756e70f4657cb9d62c8ce40f74 |
||
---|---|---|
.. | ||
content | ||
test | ||
BackgroundPageThumbs.jsm | ||
jar.mn | ||
moz.build | ||
nsIPageThumbsStorageService.idl | ||
nsPageThumbsModule.cpp | ||
PageThumbs.jsm | ||
PageThumbsComponents.manifest | ||
PageThumbsProtocol.cpp | ||
PageThumbsProtocol.h | ||
PageThumbsStorageService.js | ||
PageThumbsWorker.js | ||
PageThumbUtils.jsm |