Bug 1546590 - Disable hardcoded layout to avoid expiration issues r=andreio
authorEd Lee <edilee@mozilla.com>
Wed, 24 Apr 2019 07:58:20 +0000
changeset 470600 7be98a7e5fc4382c74eef141fe4f53abc8357f92
parent 470599 eea1f01aa27ca7dd81d7f50c1f2075d47093c54a
child 470601 137ccf02eefc0049a4887b2541db7355ce00205c
push id35910
push usercbrindusan@mozilla.com
push dateWed, 24 Apr 2019 21:51:39 +0000
treeherdermozilla-central@b9a625eff9e3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersandreio
bugs1546590
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1546590 - Disable hardcoded layout to avoid expiration issues r=andreio Differential Revision: https://phabricator.services.mozilla.com/D28603
browser/components/newtab/lib/ActivityStream.jsm
--- a/browser/components/newtab/lib/ActivityStream.jsm
+++ b/browser/components/newtab/lib/ActivityStream.jsm
@@ -230,17 +230,17 @@ const PREFS_CONFIG = new Map([
         "CA": ["en-CA", "en-GB", "en-US", "en-ZA"],
       })[geo];
       const isEnabled = IS_NIGHTLY_OR_UNBRANDED_BUILD && locales && locales.includes(locale);
       return JSON.stringify({
         api_key_pref: "extensions.pocket.oAuthConsumerKey",
         collapsible: true,
         enabled: isEnabled,
         show_spocs: showSpocs({geo}),
-        hardcoded_layout: true,
+        hardcoded_layout: false,
         personalized: false,
         // This is currently an exmple layout used for dev purposes.
         layout_endpoint: "https://getpocket.cdn.mozilla.net/v3/newtab/layout?version=1&consumer_key=$apiKey&layout_variant=basic",
       });
     },
   }],
   ["discoverystream.endpoints", {
     title: "Endpoint prefixes (comma-separated) that are allowed to be requested",