Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner bdbf383b06 Bug 1578381 - When resetting the homepage preference due to an ignore list update, ensure WebExtension settings are reset correctly. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48196

--HG--
extra : moz-landing-system : lando
2019-10-07 17:05:16 +00:00
Mark Banner 526c10a89d Bug 1578381 - Rename HomePage.init to delayedStartup to better describe when it gets called normally. r=mixedpuppy
Depends on D48169

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

--HG--
extra : moz-landing-system : lando
2019-10-07 17:05:09 +00:00
Mark Banner 240f2d58f6 Bug 1583479 - Fix case-insensitive comparison when comparing against the home page ignore list when setting the home page value. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48169

--HG--
extra : moz-landing-system : lando
2019-10-04 11:45:19 +00:00
Michael Kaply 54257dc01e Bug 1579418 - Don't reset homepage unless we need to. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D45081

--HG--
extra : moz-landing-system : lando
2019-09-30 21:35:38 +00:00
Mark Banner 31fe00df28 Bug 1535049 - Add telemetry for the homepage ignore actions. r=daleharvey,chutten,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40394

--HG--
extra : moz-landing-system : lando
2019-08-05 21:53:09 +00:00
Mark Banner f41a03f6cb Bug 1535049 - Disallow setting homepages to ignored urls. r=daleharvey,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40393

--HG--
rename : browser/modules/test/unit/test_HomePage.js => browser/modules/test/unit/test_HomePage_ignore.js
extra : moz-landing-system : lando
2019-08-05 21:52:59 +00:00
Mark Banner a8f61c87b4 Bug 1535049 - If the homepage is referenced in the ignore list, reset it soon after startup or when the ignore list is updated. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D40392

--HG--
extra : moz-landing-system : lando
2019-08-05 21:52:43 +00:00
Michael Kaply 40ce0682c3 Bug 1568855 - Setting a new default homepage should switch to Custom URL in prefs. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39405

--HG--
extra : moz-landing-system : lando
2019-07-30 23:34:49 +00:00
Victor Porof af7d1d3b67 Bug 1561435 - Format browser/modules/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : f3c632037a1064c41b1f8b02f477c854b2fb4362
2019-07-05 09:55:19 +02:00
Ricky Rosario 682f9caf21 Bug 1537736 - Use HomePage.get()/set() more consistently r=nanj
MozReview-Commit-ID: 5PzW6ONmuKd

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:30:07 +00:00
Shane Caraveo 7df3401a58 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808

--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Shane Caraveo 5f1ea2b9fb Bug 1532110 handle homepage/newtab when extension settings is not initialized r=rpl
If no extension controls the settings, ExtensionSettings may not be initialized on startup.  Fall back to the defaults in that case.

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

--HG--
extra : moz-landing-system : lando
2019-03-03 20:20:53 +00:00
Shane Caraveo 8073d84e30 Bug 1529582 prevent addon-set external home pages in private browsing without permission r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21228

--HG--
extra : moz-landing-system : lando
2019-02-28 18:12:46 +00:00
Shane Caraveo fff2e14c0b Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730

--HG--
extra : moz-landing-system : lando
2019-02-19 19:19:44 +00:00
Razvan Maries 00ff5fa61a Backed out changeset 10528ad0d7a1 (bug 1525125) for frequently failing bug 1528134. a=backout 2019-02-15 18:23:14 +02:00
Shane Caraveo 75718b91a4 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730

--HG--
extra : moz-landing-system : lando
2019-02-14 19:46:00 +00:00
Bogdan Tara 55264a1e43 Backed out changeset 14f7c02566c2 (bug 1525125) for browser_ext_windows_create_tabId.js failures CLOSED TREE 2019-02-14 17:29:40 +02:00
Shane Caraveo 40e0ac9225 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730

--HG--
extra : moz-landing-system : lando
2019-02-14 12:44:07 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Axel Hecht 5bdc727943 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP

--HG--
extra : rebase_source : c2b014f2fb1c78ce04859344bd1803ef48d5d68d
2018-05-28 12:38:01 +02:00