Bug 1550289 - changing pocket url r=thecount

Differential Revision: https://phabricator.services.mozilla.com/D30557

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gavin Lazar Suntop 2019-05-13 21:43:54 +00:00
Родитель ad81a9d9d9
Коммит ca683a78bb
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

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

Просмотреть файл

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