Commit graph

36 commits

Author SHA1 Message Date
Erica Wright
2e621affde Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy,ahal
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-20 21:40:14 +00:00
Bogdan Tara
7b40f0b246 sBacked out changeset 26f7d3a8b1b6 (bug 1595858) for overrides related mochitest failures CLOSED TREE 2020-11-18 01:42:59 +02:00
Erica Wright
a0437a3853 Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-17 19:49:36 +00:00
Bogdan Tara
ca56bb2db5 Backed out changeset d86e4d6c2be4 (bug 1595858) for browser_ext_chrome_settings_overrides_home.js failures CLOSED TREE 2020-11-13 06:11:35 +02:00
Erica Wright
afcd271556 Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-13 02:02:47 +00:00
Emma Malysz
f1842454d9 Bug 1634031, lazy load appmenu and extension notification panel by using a template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73389
2020-05-08 16:53:45 +00:00
Artem
c7560c016c Bug 1625480 - convert remaining notifications strings from browser.dtd to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D69307

--HG--
extra : moz-landing-system : lando
2020-04-03 21:10:49 +00:00
Brian Grinstead
d497e5fd20 Bug 1596591 - Rename inc.xul files to inc.xhtml r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53843

--HG--
rename : browser/base/content/browser-allTabsMenu.inc.xul => browser/base/content/browser-allTabsMenu.inc.xhtml
rename : browser/base/content/macWindow.inc.xul => browser/base/content/macWindow.inc.xhtml
rename : browser/components/controlcenter/content/identityPanel.inc.xul => browser/components/controlcenter/content/identityPanel.inc.xhtml
rename : browser/components/controlcenter/content/protectionsPanel.inc.xul => browser/components/controlcenter/content/protectionsPanel.inc.xhtml
rename : browser/components/customizableui/content/customizeMode.inc.xul => browser/components/customizableui/content/customizeMode.inc.xhtml
rename : browser/components/customizableui/content/panelUI.inc.xul => browser/components/customizableui/content/panelUI.inc.xhtml
rename : browser/components/downloads/content/downloadsCommands.inc.xul => browser/components/downloads/content/downloadsCommands.inc.xhtml
rename : browser/components/downloads/content/downloadsContextMenu.inc.xul => browser/components/downloads/content/downloadsContextMenu.inc.xhtml
rename : browser/components/downloads/content/downloadsPanel.inc.xul => browser/components/downloads/content/downloadsPanel.inc.xhtml
rename : browser/components/downloads/content/downloadsStrings.inc.xul => browser/components/downloads/content/downloadsStrings.inc.xhtml
rename : browser/components/places/content/bookmarksHistoryTooltip.inc.xul => browser/components/places/content/bookmarksHistoryTooltip.inc.xhtml
rename : browser/components/places/content/editBookmarkPanel.inc.xul => browser/components/places/content/editBookmarkPanel.inc.xhtml
rename : browser/components/places/content/placesCommands.inc.xul => browser/components/places/content/placesCommands.inc.xhtml
rename : browser/components/places/content/placesContextMenu.inc.xul => browser/components/places/content/placesContextMenu.inc.xhtml
extra : moz-landing-system : lando
2019-11-21 09:46:01 +00:00
Mark Banner
e075d5cd6e Bug 1579420 - Fix ESLint no-async-promise-executor issues in extensions code. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45009

--HG--
extra : moz-landing-system : lando
2019-09-17 13:03:24 +00:00
Victor Porof
1f830c96da Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Andrew Swan
a745ec6099 Bug 1519577 Convert toolbarbutton to a custom element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D31941

--HG--
extra : rebase_source : 3709ef713f1a7dc9fbc2d0ac97f16bea757fcd2b
2019-05-20 10:01:02 -07: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
Cosmin Sabou
a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02: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
Daniel Varga
1e9aa9e1fc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 03:51:05 +02:00
Alexander Surkov
1649231cef Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595

--HG--
rename : toolkit/content/widgets/text.xml => toolkit/content/widgets/text.js
2019-02-12 19:14:40 -05:00
Brian Grinstead
04c18529e4 Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17699

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/popupnotification.js
extra : moz-landing-system : lando
2019-02-07 22:16:26 +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
Gijs Kruitbosch
d36a59550f Bug 1497921 - make sure the window in which we try to show the ExtensionControlledPopup can show popups, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D8240

--HG--
extra : moz-landing-system : lando
2018-10-12 11:29:39 +00:00
shindli
6dbc16f83e Backed out changeset 7bd7b375eb2e (bug 1497921) per developer's request CLOSED TREE 2018-10-12 01:19:46 +03:00
Gijs Kruitbosch
e05e19fa8b Bug 1497921 - make sure the window in which we try to show the ExtensionControlledPopup can show popups, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D8240

--HG--
extra : moz-landing-system : lando
2018-10-11 14:56:40 +00:00
Brendan Dahl
f6923ccc24 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

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

--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00
Mark Banner
6feaa5a9c3 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 1e31ff288280d09ae226cdc698331263ba969205
2018-07-25 09:10:07 +01:00
Narcis Beleuzu
d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner
180233c593 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 67dc15c0cdff0234d3274f1a8978d1f2a5b3f411
2018-07-25 09:10:07 +01:00
Kris Maglione
fcedebb912 Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
MozReview-Commit-ID: Fqlv5BRuuW8

--HG--
extra : rebase_source : 348f037abd9cecfa080183bc365e5f005eac1bd6
extra : amend_source : 05dbfd12f553fc3f2a93374402e34d271e26d767
2018-06-25 19:30:21 -07:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Kris Maglione
1e03e83e35 Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq

--HG--
extra : rebase_source : 7766537d472ae8d6a25c4c824a50c0bb6bc49865
2018-05-12 16:49:35 -07:00
Michael Kaply
ded5417e96 Bug 1461805 - Don't show doorhanger for distribution add-ons. r=aswan,mstriemer
MozReview-Commit-ID: GjtVOWO8UFg

--HG--
extra : rebase_source : 66941e9620fcac340033e43fe9ed938bed94782c
2018-05-15 15:26:39 -05:00
Nan Jiang
401acab6cf Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
MozReview-Commit-ID: EjDFjUvreEp

--HG--
extra : rebase_source : 7c75890bf7f45672623e36ade1dcdbc8dd2c85dc
2018-05-16 11:15:47 -04:00
Mark Striemer
fdfd71bdc7 Bug 1438363 - Show a doorhanger when an extension first hides a tab r=aswan,dao
MozReview-Commit-ID: DQCr3SSaZTV

--HG--
extra : rebase_source : c72f53e9b03fa6c876051ee6c66675ed0b684054
2018-04-24 09:07:32 -05:00
Mark Striemer
847b01e89d Bug 1397809 - Part 2: Add a doorhanger when an extension changes the homepage r=aswan,Gijs
MozReview-Commit-ID: CwZ3E32xROS

--HG--
extra : rebase_source : 304392af1ae5ff0bc5677ad25e90bbd1f9f0ecac
2018-01-11 18:59:32 -06:00
Mark Striemer
ddc263525f Bug 1397809 - Part 1: Convert New Tab doorhanger to a generic class r=aswan,Gijs
MozReview-Commit-ID: 40RwrXjtsJJ

--HG--
extra : rebase_source : f688846407d32d3ec68ef96ea7432da9ed08a145
2017-12-19 13:56:04 -06:00