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 266974 091fa522326bd7bc6619902d419761b55278f8d3
parent 266973 ec764eab656798a9042d8ff9cd88e79c9585ef94
child 266975 1889221f549157378503579d60b8fa7dd89373f7
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, sledru
bugs1147337
milestone39.0a2
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;