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
--- 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);