mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -10:00
Add a revision tag to moz-page-thumb URLs. Change it whenever a new thumbnail is captured and stored to disk. This prevents new loads from re-using the old cached value even if the document context matches the stored loadId of the cache entry. Also drop no-longer needed wait in browser_thumbnails_update.js test. Restores behaviour of test/head.js:retrieveImageDataForURL to that of before bug 897880 - i.e. load the thumbnail image in the context of the top level chrome document (rather than a new tab every time). It's likely that bug 1192394 is the reason for the test failures observed in bug 897880 comment #11.