Bug 1546590 - Reenable hardcoded layout with expiration fixed r=andreio
authorEd Lee <edilee@mozilla.com>
Thu, 25 Apr 2019 07:55:38 +0000
changeset 530125 d4f22be5eb413a9d2cb5eb610d6f9c0cee6039cf
parent 530124 1d5e9d6d4dffe8de0d1f110f78f12b5002af4b7b
child 530126 b9f3ca50c00e6226e0c4877ef9199c714f8a5a5b
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [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 - Reenable hardcoded layout with expiration fixed r=andreio Differential Revision: https://phabricator.services.mozilla.com/D28765
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: false,
+        hardcoded_layout: true,
         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",