Commit graph

2316 commits

Author SHA1 Message Date
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
Jared Wein
06a8a7870b Bug 1673403 - Show the Bookmarks Toolbar in customize mode as long as it's not set to Never show. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95777
2020-11-04 17:11:26 +00:00
Razvan Maries
0e61089dc5 Backed out changeset e52abe08f115 (bug 1673403) for multiple bc perma failures. CLOSED TREE 2020-11-04 01:36:06 +02:00
Jared Wein
e3af91d1c7 Bug 1673403 - Show the Bookmarks Toolbar in customize mode as long as it's not set to Never show. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95777
2020-11-03 22:26:41 +00:00
emcminn
112cbb6dae Bug 1669483 - Restore keyboard navigation to WhatsNewPanel footer r=Jamie,andreio
`oncommand` has been replaced with `onclick` for the checkbox in the WhatsNewPanel footer. `oncommand` was
causing the checkbox state to get out of sync with the pref when the keyboard was used. Since PanelMultiView treats
'enter' and 'space' presses as click events, using `onclick` gives us keyboard navigation while keeping the
pref in sync.

Differential Revision: https://phabricator.services.mozilla.com/D94454
2020-11-02 18:42:38 +00:00
Brad Werth
5b1f5cfb74 Bug 1634556 Part 1: Make web extension sidebars listen to zoom enlarge/reduce events. r=mixedpuppy
These events are fired for all parent process documents by the code that
handles native mousewheel events. This change adds listeners to those events
and handles them similarly to how they are handled for browsers.

Differential Revision: https://phabricator.services.mozilla.com/D84767
2020-10-26 16:20:59 +00:00
Gijs Kruitbosch
4432491ff4 Bug 1673409 - show icon and label for import button in customize mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D94783
2020-10-28 17:02:29 +00:00
Csoregi Natalia
49474cbbcf Backed out changeset e9f3001bd7bd (bug 1673409) for failures on browser_palette_labels.js. CLOSED TREE 2020-10-28 02:52:37 +02:00
Gijs Kruitbosch
22999a3242 Bug 1673409 - show icon and label for import button in customize mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D94783
2020-10-28 00:09:49 +00:00
Gijs Kruitbosch
7caa3b1422 Bug 1673388 - use keepbroadcastattributeswhencustomizing for the print button to make it behave better wrt customize mode, r=mconley
Embarrassingly, I forgot I added this in bug 1388990 when we had similar issues
with the back/forward buttons. It's a more straightforward solution for this
problem.

Differential Revision: https://phabricator.services.mozilla.com/D94751
2020-10-26 20:51:04 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Gijs Kruitbosch
89428b7ffb Bug 1673341 - fix menu bar toggling to persist the correct state, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D94729
2020-10-26 14:52:56 +00:00
Jared Wein
3d2a8005c8 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-26 02:32:07 +00:00
Bogdan Tara
da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
smolnar
05727ab7bc Backed out changeset 38627c09131d (bug 1671619) for causing crashes (bug 1672560). DONTBUILD a=backout 2020-10-23 12:42:38 +03:00
Mihai Alexandru Michis
f11e661f24 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Dorel Luca
1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Jared Wein
e0e5f6bba3 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Brian Grinstead
e1294f35fc Bug 1671619 - Use [hidden] instead of [collapsed] for the browser container when entering and exiting Customize Mode r=Gijs
This is using collapsed as a carryover from XBL days, where setting the element to hidden would destroy bindings.
But it's causing a side effect of shrinking the browser element to 0x0 which causes the content to resize, leading to
some flickering and poor performance when switching back to content from a Customize Mode tab.
By setting hidden we instead are just toggling the display property.

Differential Revision: https://phabricator.services.mozilla.com/D94057
2020-10-20 15:23:46 +00:00
Narcis Beleuzu
8945877156 Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
0e83701c0c Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Gijs Kruitbosch
b85bab8fe4 Bug 1670907 - moving buttons in customize mode should not disable them, r=mconley
When we move items in customize mode, we unwrap them, then move them, then wrap
them again. The unwrapping sets the `command` attribute back on the button, and
that also sets the `disabled` attribute on the button. The wrapping removes the
`command` attribute but leaves the `disabled` attribute.
When the `disabled` attribute is removed from the command, this does not
propagate to the button because the command attribute has not been put back.

To fix this, the patch avoids adding and immediately removing the command
attribute when moving items while in customize mode.

Differential Revision: https://phabricator.services.mozilla.com/D93338
2020-10-14 14:04:02 +00:00
Michael Kaply
f82d5c549f Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-10-06 20:13:00 +00:00
Emilio Cobos Álvarez
4ad501e86f Bug 1666497 - Don't flush layout from popuppositioned events. r=mconley,Gijs,smaug
We don't need to flush before dispatching the event because we know that
if the values we cared about changed, then we'd get another event.

Differential Revision: https://phabricator.services.mozilla.com/D92444
2020-10-06 16:28:41 +00:00
Emma Malysz
2e792e6fb4 Bug 1669188, hide shortcut if print.tab_modal.enabled is false r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92525
2020-10-06 11:26:54 +00:00
Tooru Fujisawa
7a98582567 Bug 1558642 - Part 2: Use EventUtils.synthesizeNative* where possible. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D39604
2020-09-29 20:01:12 +00:00
Razvan Maries
7979196254 Backed out changeset 2b2e72856dc1 (bug 1665237) for perma failures on browser_popupNode.js. CLOSED TREE 2020-09-25 06:03:12 +03:00
Michael Kaply
baf3127120 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 20:08:17 +00:00
Itiel
e28cf185f0 Bug 1631202 - Convert all uses of :-moz-any to :is in browser/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90690
2020-09-21 19:35:35 +00:00
Gijs Kruitbosch
b7978dc940 Bug 1663173 - disable commands that don't need to be enabled in customize mode, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D89289
2020-09-11 20:40:28 +00:00
Razvan Maries
6a6b5b8430 Backed out changeset ffe1c9f9f9df (bug 1663173) for multiple bc perma failures. CLOSED TREE 2020-09-10 01:46:46 +03:00
Gijs Kruitbosch
84321be33c Bug 1663173 - disable commands that don't need to be enabled in customize mode, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D89289
2020-09-09 20:02:22 +00:00
Michael Kaply
ac05a3c153 Bug 1498688 - Add ManagedBookmarks policy. r=fluent-reviewers,emalysz,Standard8,flod
Differential Revision: https://phabricator.services.mozilla.com/D76009
2020-09-08 20:09:35 +00:00
Dan Mosedale
f852bf592b Bug 1659871 - Clean up tests + manifest parsing, add an Alpenglow test, r=pdahiya,florian
Differential Revision: https://phabricator.services.mozilla.com/D89005
2020-09-02 16:46:37 +00:00
Emma Malysz
defa918a51 Bug 1661618, update shortcut in app menu and toolbar tip for the toolbarbutton r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D88521
2020-08-31 19:14:11 +00:00
Dan Mosedale
147ed3c440 Bug 1643776 - Add Alpenglow theme, r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-21 17:20:07 +00:00
Razvan Maries
15cd0824da Backed out changeset 2f4bf8bab6cf (bug 1643776) for causing bug 1660323. CLOSED TREE 2020-08-21 04:34:24 +03:00
Dan Mosedale
eb0f5b96d9 Bug 1643776 - Add Alpenglow theme, r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-21 00:43:03 +00:00
Razvan Maries
5746cb6bd9 Backed out changeset 2a1fa73b1a63 (bug 1643776) for perma failures on browser_all_files_referenced.js. CLOSED TREE 2020-08-21 01:02:18 +03:00
Dan Mosedale
a33a060360 Bug 1643776 - Add Alpenglow theme r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-20 21:04:57 +00:00
Razvan Maries
6bd97d7a62 Backed out changeset 6ffb6196daf7 (bug 1643776) for perma failures on browser_all_files_referenced.js. CLOSED TREE 2020-08-20 22:26:31 +03:00
Dan Mosedale
84eb4977dc Bug 1643776 - Add Alpenglow theme r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-20 17:52:09 +00:00
Jared Wein
972dd7e8cd Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is behind a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-14 15:56:36 +00:00
Mihai Alexandru Michis
ff85a31698 Backed out changeset 8b917683232d (bug 1656277) for causing xpcshell failures in test_IE_bookmarks.js
CLOSED TREE
2020-08-14 08:36:35 +03:00
Jared Wein
2f679b3933 Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is behind a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-14 03:27:22 +00:00
Csoregi Natalia
324be7e980 Backed out changeset 4fc26e678c18 (bug 1656277) for failures on test_Edge_db_migration.js. CLOSED TREE 2020-08-14 04:21:35 +03:00
Jared Wein
3cce4b4e65 Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is controlled by a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-13 21:56:40 +00:00