Commit Graph

1040 Commits

Author SHA1 Message Date
Emma Malysz
cd7913b263 Bug 1686523, remove home button if proton is enabled and the button hasn't been used r=mstriemer,mconley
Differential Revision: https://phabricator.services.mozilla.com/D103796
2021-02-10 16:58:53 +00:00
Paul Zuehlcke
b6fbc9a3ff Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-02-05 13:40:42 +00:00
Emma Malysz
9b9a274040 Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 22:29:30 +00:00
Mihai Alexandru Michis
ca51b2e40a Backed out changeset dfbbd3864b2f (bug 1689372) for causing bc failures in browser_history_recently_closed.js
CLOSED TREE
2021-02-05 22:15:25 +02:00
Emma Malysz
f093eaf48b Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 18:01:55 +00:00
Noemi Erli
cc16aca188 Backed out changeset 14a7af25b9f4 (bug 1689372) for causing failures in browser_history_recently_closed.js 2021-02-05 02:36:20 +02:00
Emma Malysz
fcad90f633 Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-04 23:19:28 +00:00
Csoregi Natalia
99dc2b7d0d Backed out changeset a6d2e03d3069 (bug 1689372) for failures on browser_history_recently_closed.js. CLOSED TREE 2021-02-04 21:08:03 +02:00
Emma Malysz
9f887e0335 Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-04 17:40:18 +00:00
Luca Greco
ecc3c2550a Bug 1525179 - Use aboutaddons.html at the root of about:addons. r=robwu
- Moved aboutaddons.html at the root of the about:addons page
- renamed aboutaddons.js `initialize` global function to `initializeView` (and renamed `show` and `hide` global functions accordingly)
- Simplify initial load logic a bit more:
  - remove gCategories
  - moved responsability of the CategoriesBox initialization to the `initializationView` function
  - replaced initialization logic based on `gPendingInitializations` and `notifyInitialized` with
    a `promiseInitialized` global resolved when `initializeView` method has been called and its return value resolved
- Fix test helpers and test failures
  - InlineOptionsBrowser: take into account that browser-custom-element does opt-in the delayedConnectedCallback behavior
    and browser.loadURI may throw if called while the document is still loading.

Differential Revision: https://phabricator.services.mozilla.com/D96472
2021-02-03 17:08:14 +00:00
Narcis Beleuzu
926d2f6257 Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke
2c4fecbca6 Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-01-29 16:11:08 +00:00
Gijs Kruitbosch
92360a48e9 Bug 1681138 - avoid delaying loading the bookmarks toolbar in new windows post-startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101689
2021-01-22 12:42:25 +00:00
Mike Conley
9a71ff4019 Bug 1683419 - Fork Help menu strings for use in the AppMenu. r=Gijs,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D100957
2021-01-20 18:12:33 +00:00
Henri Sivonen
dc81bb2634 Bug 1648464 - Add an Autodetect item to the Text Encoding menu. r=emk,chutten,Gijs
Take a step towards replacing the encoding menu with a single menu item that
triggers the autodetection manually. However, don't remove anything for now.

* Add an autodetect item.
* Add telemetry for autodetect used in session.
* Add telemetry for non-autodetect used in session.
* Restore and revise telemetry for how the encoding that is being overridden
  was discovered.

Differential Revision: https://phabricator.services.mozilla.com/D81132
2021-01-14 07:06:53 +00:00
Oriol Brufau
ee54cfda2d Bug 1551239 - Keep tab icon when reloading Customize Mode tab. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100784
2021-01-05 18:25:59 +00:00
Oriol Brufau
ada9bcf0e0 Bug 1621984 - Fix title for lazy tab in customize mode r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100620
2021-01-04 15:31:24 +00:00
Emilio Cobos Álvarez
136e604164 Bug 1635914 - Move active flag handling explicitly to BrowsingContext. r=nika
And have it mirror in the parent process more automatically.

The docShellIsActive setter in the browser-custom-element side needs to
be there rather than in the usual DidSet() calls because the
AsyncTabSwitcher code relies on getting an exact amount of notifications
as response to that specific setter. Not pretty, but...

BrowserChild no longer sets IsActive() on the docshell itself for OOP
iframes. This fixes bug 1679521. PresShell activeness is used to
throttle rAF as well, which handles OOP iframes nicely as well.

Differential Revision: https://phabricator.services.mozilla.com/D96072
2020-12-11 15:43:19 +00:00
Kagami Sascha Rosylight
d08e4cd912 Bug 1675883 - Update edit control test to match the change r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97388
2020-11-19 13:43:30 +00:00
Jared Wein
7d0327cac7 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
038da7739d Backed out changeset e52abe08f115 (bug 1673403) for multiple bc perma failures. CLOSED TREE 2020-11-04 01:36:06 +02:00
Jared Wein
0efb8a4c3d 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
068da3c345 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
Gijs Kruitbosch
32732be7ca 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
ac65ad4313 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
f9bc544f40 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
b3b0b65d9e 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
Gijs Kruitbosch
efd63d908a 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
64176c986d 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
smolnar
b581b26df4 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
dc6c624799 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Jared Wein
8debd64190 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
1d325e3bdf 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
8c2c851d6a 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
dae078ac27 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
a040958b42 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
Tooru Fujisawa
43e45e7d59 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
Gijs Kruitbosch
d10e66f2d7 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
0b36c3342a Backed out changeset ffe1c9f9f9df (bug 1663173) for multiple bc perma failures. CLOSED TREE 2020-09-10 01:46:46 +03:00
Gijs Kruitbosch
7259b3e087 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
Dan Mosedale
c12df05128 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
Dan Mosedale
f14a9fad10 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
3748d2b321 Backed out changeset 2f4bf8bab6cf (bug 1643776) for causing bug 1660323. CLOSED TREE 2020-08-21 04:34:24 +03:00
Dan Mosedale
fc5fca3570 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
c6be7eea6f 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
2c6910f146 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
1ba54818c3 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
8d18c184da 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
James Teh
bc1095594f Bug 1657182: browser_PanelMultiView_keyboard.js: Use a capturing event listener on the browser/iframe to capture the load event from the child document. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86112
2020-08-07 12:23:12 +00:00
Emma Malysz
7500e5f316 Bug 1657161, enable print.tab_modal.enabled for EARLY_BETA_OR_EARLIER and hide page range section r=mstriemer,fluent-reviewers,preferences-reviewers,flod
We want this to be turned on for nightly users by default. The page range is still a WIP,
so we should hide that section for now.
This also adds the pref to the "Nightly Experiment" panel, turned on by default.

Differential Revision: https://phabricator.services.mozilla.com/D85907
2020-08-06 23:02:13 +00:00