| Index: ui/file_manager/image_loader/request.js
|
| diff --git a/ui/file_manager/image_loader/request.js b/ui/file_manager/image_loader/request.js
|
| index 11fc7c1ec6c158a49245efa3aadbf65871d59b70..c45551c135d9c484da455eb7f5fd53f86834f97e 100644
|
| --- a/ui/file_manager/image_loader/request.js
|
| +++ b/ui/file_manager/image_loader/request.js
|
| @@ -273,8 +273,14 @@ AuthorizedXHR.prototype.load = function(url, onSuccess, onFailure) {
|
| }.bind(this);
|
|
|
| // Do not request a token for local resources, since it is not necessary.
|
| - if (url.indexOf('filesystem:') === 0) {
|
| - this.xhr_ = AuthorizedXHR.load_(null, url, onMaybeSuccess, onMaybeFailure);
|
| + if (/^filesystem:/.test(url)) {
|
| + // Add the query parameter to avoid browser cache. crbug.com/378648
|
| + var noCacheUrl = url + '?nocache=' + Date.now();
|
| + this.xhr_ = AuthorizedXHR.load_(
|
| + null,
|
| + noCacheUrl,
|
| + onMaybeSuccess,
|
| + onMaybeFailure);
|
| return;
|
| }
|
|
|
|
|