From ca683a78bb0d746114d5bd0e423e71416c6b4b63 Mon Sep 17 00:00:00 2001 From: Gavin Lazar Suntop Date: Mon, 13 May 2019 21:43:54 +0000 Subject: [PATCH] Bug 1550289 - changing pocket url r=thecount Differential Revision: https://phabricator.services.mozilla.com/D30557 --HG-- extra : moz-landing-system : lando --- browser/components/pocket/content/Pocket.jsm | 2 +- .../pocket/test/browser_pocket_library_menu_action.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/components/pocket/content/Pocket.jsm b/browser/components/pocket/content/Pocket.jsm index 49f49e5a270d..a5e9dd07205b 100644 --- a/browser/components/pocket/content/Pocket.jsm +++ b/browser/components/pocket/content/Pocket.jsm @@ -13,7 +13,7 @@ ChromeUtils.defineModuleGetter(this, "BrowserUtils", var Pocket = { get site() { return Services.prefs.getCharPref("extensions.pocket.site"); }, - get listURL() { return "https://" + Pocket.site + "/?src=ff_ext"; }, + get listURL() { return "https://" + Pocket.site + "/firefox_learnmore?src=ff_library"; }, openList(event) { let win = event.view; diff --git a/browser/components/pocket/test/browser_pocket_library_menu_action.js b/browser/components/pocket/test/browser_pocket_library_menu_action.js index 61a74d205caa..af5c2787e10f 100644 --- a/browser/components/pocket/test/browser_pocket_library_menu_action.js +++ b/browser/components/pocket/test/browser_pocket_library_menu_action.js @@ -26,12 +26,12 @@ add_task(async function() { info("clicking on pocket library button"); let pocketPagePromise = BrowserTestUtils.waitForNewTab(gBrowser, - "https://example.com/browser/browser/components/pocket/test/pocket_actions_test.html/?src=ff_ext"); + "https://example.com/browser/browser/components/pocket/test/pocket_actions_test.html/firefox_learnmore?src=ff_library"); pocketLibraryButton.click(); await pocketPagePromise; is(gBrowser.currentURI.spec, - "https://example.com/browser/browser/components/pocket/test/pocket_actions_test.html/?src=ff_ext", + "https://example.com/browser/browser/components/pocket/test/pocket_actions_test.html/firefox_learnmore?src=ff_library", "pocket button in library menu button opens correct page"); BrowserTestUtils.removeTab(tab);