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 551713 caf079c5cb2f90c8a7b10bf91935a457b1b9b128
parent 551712 8739644d06a3b558d2a8c440e33168a412bad9e2
child 621630 e9de711b8463501b67cf5d567b44b77e4b377f2a
push id51149
push users.kaspari@gmail.com
push dateMon, 27 Mar 2017 11:35:35 +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 || AppConstants.MOZ_ANDROID_ACTIVITY_STREAM) {
-          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);