mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1301715 - Only extract metadata if the Activity Stream or Nightly flag is enabled. r=ahunt
MozReview-Commit-ID: 7Ic8v1M6AAy --HG-- extra : rebase_source : aec2ce74749b19abf21f5f1f1ed098af60eaf3af
This commit is contained in:
parent
2e775e23a6
commit
8a899e5b22
@ -3933,7 +3933,9 @@ Tab.prototype = {
|
||||
this.browser.addEventListener("pagehide", listener, true);
|
||||
}
|
||||
|
||||
WebsiteMetadata.parseAsynchronously(this.browser.contentDocument);
|
||||
if (AppConstants.NIGHTLY_BUILD || AppConstants.MOZ_ANDROID_ACTIVITY_STREAM) {
|
||||
WebsiteMetadata.parseAsynchronously(this.browser.contentDocument);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -295,6 +295,13 @@ this.AppConstants = Object.freeze({
|
||||
false,
|
||||
#endif
|
||||
|
||||
MOZ_ANDROID_ACTIVITY_STREAM:
|
||||
#ifdef MOZ_ANDROID_ACTIVITY_STREAM
|
||||
true,
|
||||
#else
|
||||
false,
|
||||
#endif
|
||||
|
||||
DLL_PREFIX: "@DLL_PREFIX@",
|
||||
DLL_SUFFIX: "@DLL_SUFFIX@",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user