Bug 1147337 - Stop checking article URL as AboutReader.jsm gets created separately every time anyway. r=margaret, a=sledru
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 09 Apr 2015 00:15:37 +0100
changeset 258423 948241aa9d1a
parent 258422 d2bade84e15e
child 258424 f5f2adb88968
push id4665
push userryanvm@gmail.com
push date2015-04-10 17:13 +0000
treeherdermozilla-beta@6d9fdd280e65 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, sledru
bugs1147337
milestone38.0
Bug 1147337 - Stop checking article URL as AboutReader.jsm gets created separately every time anyway. r=margaret, a=sledru
toolkit/components/reader/AboutReader.jsm
--- a/toolkit/components/reader/AboutReader.jsm
+++ b/toolkit/components/reader/AboutReader.jsm
@@ -599,17 +599,17 @@ AboutReader.prototype = {
     } else {
       article = yield this._getArticle(url);
     }
 
     if (this._windowUnloaded) {
       return;
     }
 
-    if (article && article.url == url) {
+    if (article) {
       this._showContent(article);
     } else if (this._articlePromise) {
       // If we were promised an article, show an error message if there's a failure.
       this._showError();
     } else {
       // Otherwise, just load the original URL. We can encounter this case when
       // loading an about:reader URL directly (e.g. opening a reading list item).
       this._win.location.href = url;