Bug 1348820 - Always collect metadata from visited pages. r?grisha draft
authorSebastian Kaspari <s.kaspari@gmail.com>
Tue, 21 Mar 2017 12:08:30 +0100
changeset 502171 40329f3320d8ef034f474f6e563316aecef8b1de
parent 502170 ed85d991a058bd46098489790bd185e1a1e6f6fd
child 550090 1b7a2f4f83fe82a6529fa73218b549f676bf090c
push id50209
push users.kaspari@gmail.com
push dateTue, 21 Mar 2017 11:11:06 +0000
reviewersgrisha
bugs1348820
milestone55.0a1
Bug 1348820 - Always collect metadata from visited pages. r?grisha We are going to need this in the future and starting collection even before releasing Activity Stream will create a better experience once we turn it on. And this flag is hard to miss. So let's just get rid of it. MozReview-Commit-ID: 5oDzXhpQdSA
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -4065,20 +4065,18 @@ Tab.prototype = {
           let listener = function() {
             this.browser.removeEventListener("click", ErrorPageEventHandler, true);
             this.browser.removeEventListener("pagehide", listener, true);
           }.bind(this);
 
           this.browser.addEventListener("pagehide", listener, true);
         }
 
-        if (AppConstants.NIGHTLY_BUILD) {
-          if (!docURI.startsWith("about:")) {
-            WebsiteMetadata.parseAsynchronously(this.browser.contentDocument);
-          }
+        if (!docURI.startsWith("about:")) {
+          WebsiteMetadata.parseAsynchronously(this.browser.contentDocument);
         }
 
         break;
       }
 
       case "DOMFormHasPassword": {
         LoginManagerContent.onDOMFormHasPassword(aEvent,
                                                  this.browser.contentWindow);