gecko-dev/toolkit/components/thumbnails
Doug Thayer b3eef35a05 Bug 1421703 - replace onVisit with onVisits r=mak
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
2017-12-20 14:27:24 -08:00
..
content Bug 1399200 - Don't stop loading thumbnail when image redirects r=Mardak 2017-09-12 14:07:33 -04:00
test Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
BackgroundPageThumbs.jsm Bug 1409691 - Fix initialisation of doneReason in Capture (BackgroundPageThumbs.jsm). r=Mardak 2017-11-22 12:35:52 +00:00
jar.mn Bug 1338215 - use a windowless browser for thumbnail hosting, r=markh 2017-02-27 19:58:55 +00:00
moz.build Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw 2017-06-05 10:04:06 -04:00
nsIPageThumbsStorageService.idl Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw 2017-06-05 10:04:06 -04:00
nsPageThumbsModule.cpp Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw 2017-06-05 10:04:06 -04:00
PageThumbs.jsm Bug 1421703 - replace onVisit with onVisits r=mak 2017-12-20 14:27:24 -08:00
PageThumbsComponents.manifest Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw 2017-06-05 10:04:06 -04:00
PageThumbsProtocol.cpp Bug 1426501 - Change C++ code to use NS_MutateURI when changing URI r=mayhemer 2018-01-08 15:20:35 +01:00
PageThumbsProtocol.h Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw 2017-06-05 10:04:06 -04:00
PageThumbsStorageService.js Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw 2017-06-05 10:04:06 -04:00
PageThumbsWorker.js Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric 2017-08-19 15:04:13 +09:00
PageThumbUtils.jsm Bug 1399200 - Don't stop loading thumbnail when image redirects r=Mardak 2017-09-12 14:07:33 -04:00