oops: forgot about why we can't do this. Will leave the commented out code in there as a reminder.

This commit is contained in:
gorhill 2015-03-22 09:30:41 -04:00
parent e750e99ffa
commit 53b55a6b13

View file

@ -508,11 +508,11 @@ PageStore.prototype.init = function(tabId, pageURL) {
/******************************************************************************/ /******************************************************************************/
PageStore.prototype.reuse = function(pageURL, context) { PageStore.prototype.reuse = function(pageURL, context) {
// This can very well happen under normal circumstances. Leave the context // We can't do this: when force refreshing a page, the page store data
// unchanged when this happens. // needs to be reset
if ( pageURL === this.pageURL ) { //if ( pageURL === this.pageURL ) {
return this; // return this;
} //}
// If URL changes without a page reload (more and more common), then we // If URL changes without a page reload (more and more common), then we
// need to keep all that we collected for reuse. In particular, not // need to keep all that we collected for reuse. In particular, not