-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1192394 - Force an image load whenever the thumbnail file changes…
…. r=adw 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.
- Loading branch information
1 parent
3889d78
commit 52ec170
Showing
4 changed files
with
59 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters