Commit Graph

80 Commits

Author SHA1 Message Date
Zibi Braniecki
040635ddea Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881
2019-09-18 16:53:54 +00:00
Andreea Pavel
2d8f061258 Backed out 2 changesets (bug 1581185) for linting failure at xul.py on a CLOSED TREE
Backed out changeset 86f77b5cc705 (bug 1581185)
Backed out changeset 5bb71874a9f3 (bug 1581185)
2019-09-18 19:43:45 +03:00
Zibi Braniecki
586aab69e1 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881
2019-09-18 16:25:27 +00:00
Erica Wright
e101b37466 Bug 1561184 - Show tooltip text for protection report in app menu r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45583
2019-09-17 12:56:43 +00:00
Brian Grinstead
49bfaf30e0 Bug 1580978 - Rename browser-urlbar-identity-button to urlbar-identity-button r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45831
2019-09-13 12:14:37 +00:00
Brian Grinstead
4df8db31c0 Bug 1580978 - Migrate the notification-popup-box element to ftl r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D45758
2019-09-13 12:14:26 +00:00
Brian Grinstead
71c3e165f6 Bug 1579540 - Migrate urlbar.viewSiteInfo.label from dtd to ftl r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45467
2019-09-11 16:36:14 +00:00
Brian Grinstead
6575e9a69f Bug 1579540 - Introduce browser.ftl and load it in browser.xhtml r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45466
2019-09-11 16:36:10 +00:00
Marco Zehe
ff7d9dc348 Bug 569313 - Get rid of redundant "Toolbar" in name of "Navigation" and "bookmarks" toolbars, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44810
2019-09-05 12:25:13 +00:00
Brian Grinstead
f9b8523642 Bug 1578569 - Restore padding-bottom on certain menupopups inside BMB_bookmarksPopup r=mak
This was removed in Bug 1573158, where the following line change forced it to 0px:
https://hg.mozilla.org/integration/autoland/rev/3f54e52c52eb#l2.12

This uses shadow parts instead of Shadow DOM + XBL selectors into the arrowscrollbox,
which unblocks arrowscrollbox Custom Element conversion and appears to have the same
visual effect as far as I can tell.

Differential Revision: https://phabricator.services.mozilla.com/D44556
2019-09-04 18:37:04 +00:00
harry
625fe4d474 Bug 1576447 - Stop duplicating one-offs container on UrlbarInput uninit. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D44227
2019-08-30 18:12:02 +00:00
Emily McMinn
0957dd5911 Bug 1551588 - Added a tab stop to the "info" and "dismiss" buttons in the FxA Bookmark Panel Message r=k88hudson
The Bookmark Panel Message now has tab stops on the info button, message dismiss icon, and message link, as well as all form fields and CTA buttons.

Differential Revision: https://phabricator.services.mozilla.com/D42692
2019-08-30 13:58:08 +00:00
Johann Hofmann
8336aac0ce Bug 1576072 - Add a new icon for granted permissions in the identity block + panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D43950
2019-08-29 15:30:51 +00:00
Dão Gottwald
b0cc98ae01 Bug 1575238 - Remove tabs-newtab-button class. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D42656
2019-08-28 13:45:21 +00:00
Dão Gottwald
ab9abdc5d0 Bug 1575822 - Rename #urlbar-display-box and friends and consolidate related styling. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D43045
2019-08-22 17:17:41 +00:00
Dão Gottwald
903b2a76fe Bug 1575563 - Improve Megabar input layout. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D42864
2019-08-21 19:13:15 +00:00
Dão Gottwald
035da46f46 Bug 1561533 - Increase quantumbar input size on focus and visually integrate the view. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D42149
2019-08-20 15:14:25 +00:00
dennisschagt
a069b171e7 Bug 1317138 - Summary: Add extra info in new-tab tooltip when containers are enabled r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D37611
2019-08-16 08:47:19 +00:00
Mike Conley
2c1f0890e2 Bug 1568320 - Add a context menu to the Picture-in-Picture toggle to allow for easy hiding. r=NeilDeakin,JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D40305
2019-08-13 18:29:29 +00:00
Csoregi Natalia
d5f4c67bf0 Backed out changeset 1c7a1d0fda0e (bug 1317138) for browser-chrome failures on browser_duplicateIDs.js. CLOSED TREE 2019-08-13 16:50:08 +03:00
dennisschagt
36f327cb09 Bug 1317138 - Summary: Add extra info in new-tab tooltip when containers are enabled r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D37611
2019-08-13 11:50:17 +00:00
James Teh
b64fa8a05b Bug 1567377: Correct a11y semantics for address bar. r=dao
For accessibility, the address bar is now exposed as a parent combo box which contains the input and the results list.
The combo box role on urlbarView-body-inner is no longer needed and has therefore been removed.
This means screen readers no longer report an extraneous combo box whenever the results list is opened.

Differential Revision: https://phabricator.services.mozilla.com/D40917
2019-08-12 14:06:27 +00:00
Alexander Surkov
b2f6a8c01e Bug 1539651 - Convert places-popup-base and places-popup-arrow bindings to Custom Elements r=mak
Differential Revision: https://phabricator.services.mozilla.com/D33821
2019-08-08 14:28:36 +00:00
Andrei Oprea
8400c70ae8 Bug 1567522 - Show info message in the Protection panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D39042
2019-08-07 17:57:48 +00:00
Cosmin Sabou
c5b9a9ad02 Backed out changeset f4cbaa7f6db9 (bug 1567377) for causing several browser chrome failures. CLOSED TREE 2019-08-07 12:58:29 +03:00
James Teh
75fd033a4f Bug 1567377: Correct a11y semantics for address bar. r=dao
For accessibility, the address bar is now exposed as a parent combo box which contains the input and the results list.
The combo box role on urlbarView-body-inner is no longer needed and has therefore been removed.
This means screen readers no longer report an extraneous combo box whenever the results list is opened.

Differential Revision: https://phabricator.services.mozilla.com/D40917
2019-08-07 08:01:43 +00:00
Tim Huang
38ec2b7b99 Bug 1567422 - Part 2: Update the tooltip of the tracking protection icon. r=johannh
This patch modify the way how tooltip works on the tracking protection
icon. We use <tooltip> instead of 'tooltiptext' attribute in order to
limit the width of the tooltip in 500px.

Differential Revision: https://phabricator.services.mozilla.com/D40416
2019-08-06 06:01:17 +00:00
Zibi Braniecki
400445daef Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379
2019-08-02 16:07:44 +00:00
Vijay Budhram
f86d68dcc0 Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961
2019-08-02 13:55:19 +00:00
Andreea Pavel
921dcaad5c Backed out changeset 7a06c08bf267 (bug 1501886) for bc failures e.g. browser_window_menu_list.js on a CLOSED TREE 2019-08-02 05:44:47 +03:00
Zibi Braniecki
b831bb432e Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379
2019-08-01 14:21:13 +00:00
Tim Huang
86b8ed8b58 Bug 1555231 - Part 3: Add the tooltip for showing the earliest record of the blocked tracker. r=nhnt11
This patch implements the tooltip for showing the earliest date of the
block tracker record. The tooltip will be set during the initiation
gProtectionHandler module. And it will be updated if history has been
cleared. If there is no record, we won't do anyhting since the tracker
counter will be hidden entirely.

We also add an event handler for the hovar and focus state on the shield
icon in order to pre-fetch the data from tracking database. And we will
update the date here in case that there is no record during initition
but a new record comes later. The focus event is for the keyboard
navigation feature.

Differential Revision: https://phabricator.services.mozilla.com/D39694
2019-07-31 15:27:12 +00:00
Tim Nguyen
17537bff2f Bug 1569375 - Refactor browser panel CSS to reduce shadow DOM traversal after CE conversion. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39594
2019-07-31 15:22:08 +00:00
Brindusan Cristian
24ae813975 Backed out 5 changesets (bug 1555231) for bc leaks at browser_354894_perwindowpb.js. CLOSED TREE
Backed out changeset 016f5882a4cb (bug 1555231)
Backed out changeset 7110eb5e7ab1 (bug 1555231)
Backed out changeset 2569f3cff021 (bug 1555231)
Backed out changeset 0bc58dafb302 (bug 1555231)
Backed out changeset 35fe7ce18534 (bug 1555231)
2019-07-31 13:12:37 +03:00
Tim Huang
4ebe4aba64 Bug 1555231 - Part 3: Add the tooltip for showing the earliest record of the blocked tracker. r=nhnt11
This patch implements the tooltip for showing the earliest date of the
block tracker record. The tooltip will be set during the initiation
gProtectionHandler module. And it will be updated if history has been
cleared. If there is no record, we won't do anyhting since the tracker
counter will be hidden entirely.

We also add an event handler for the hovar and focus state on the shield
icon in order to pre-fetch the data from tracking database. And we will
update the date here in case that there is no record during initition
but a new record comes later. The focus event is for the keyboard
navigation feature.

Differential Revision: https://phabricator.services.mozilla.com/D39694
2019-07-31 09:05:43 +00:00
Tim Huang
3e39bfe9fe Bug 1552716 - Part 1: Fix the keyboard navigation of the tracking protection icon. r=Jamie
This patch fixes the issue that the keyboard navigation doesn't work for
the tracking protection icon.

Differential Revision: https://phabricator.services.mozilla.com/D39329
2019-07-30 06:31:58 +00:00
Paul Zuehlcke
064380bb16 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428
2019-07-30 08:28:31 +00:00
Mihai Alexandru Michis
28d4f1fdf5 Backed out changeset f2b7c868c0a7 (bug 1562006) for browser chrome failures. CLOSED TREE 2019-07-29 23:37:58 +03:00
Vijay Budhram
45e4a9670f Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961
2019-07-29 16:21:22 +00:00
Bogdan Tara
d4a8c751b1 Backed out 2 changesets (bug 1552716) for failures on browser_multiselect_tabs_using_keyboard.js CLOSED TREE
Backed out changeset 63e0cc8a35a8 (bug 1552716)
Backed out changeset 45b9bfbc709b (bug 1552716)
2019-07-29 18:43:14 +03:00
Tim Huang
aeb7246adf Bug 1552716 - Part 1: Fix the keyboard navigation of the tracking protection icon. r=Jamie
This patch fixes the issue that the keyboard navigation doesn't work for
the tracking protection icon.

Differential Revision: https://phabricator.services.mozilla.com/D39329
2019-07-26 04:02:03 +00:00
Csoregi Natalia
16534798cd Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Paul Zuehlcke
2ba3aac2e1 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428
2019-07-29 08:37:55 +00:00
Dão Gottwald
bc15d82a02 Bug 1551598 - Stop using a popup window for urlbar results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D38988
2019-07-25 20:13:33 +00:00
James Teh
8f497a9db2 Bug 1567377: Remove aria-owns from URL bar to fix broken accessibility. r=dao
1. Remove aria-owns from the URL bar.
Before bug 1513337, this was a no-op because it crossed anonymous scope, which accessibility doesn't allow.
After bug 1513337 when this started taking effect, it caused some undesirable side effects.
Bug 1551598 should mitigate some of these issues, so we can re-evaluate then.

2. Revert bug 1535659, which removed role="combobox" from the URL bar results parent.
While the intention was to make a cleaner accessibility hierarchy, without aria-owns, we need this to ensure the correct role for the results list.

Differential Revision: https://phabricator.services.mozilla.com/D38825
2019-07-24 09:58:49 +00:00
Gijs Kruitbosch
d2756288b0 Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley
At a high level, this change does the following:
- move the pluginchild actor to be a JSWindowActorChild
- move the parent handling from browser-plugins into a JSWindowActorParent
- move the crash handling from ContentCrashHandlers.jsm to the parent actor,
  using a `PluginManager` object. It needs to talk to the actors (and vice
  versa), so this seemed a better fit than spreading actor implementation
  details to other JSMs.
- switch to using plugin IDs to identify plugins cross-process, instead of
  combinations of names or other properties of the plugin tag. As part of that,
  ensured plugin IDs are unique between "fake" plugins and the other ones.
- drop support for having a notification for more than 1 plugin. We only support
  Flash, in practice, so there didn't seem to be much point in the added
  complexity of trying to support more than 1 thing.

Some notes:
- the previous implementation mixes runIDs (for NPAPI plugin process "runs")
  and GMP pluginIDs when doing crashreporting. AFAICT there is no guarantee
  these don't conflict, so I've split them out to avoid issues. There's a
  pluginCrashID object I pass around instead that has either a runID or
  pluginID. Happy to rename some more for clarity.
- the previous implementation used `pluginInfo` and `plugin` for a bunch of
  different types of variables. I've tried to be consistent, where:
  * `pluginElement` is a DOM element for a plugin
  * `activationInfo` is a JS object used to track click to play state for a plugin
  * `plugin` is a plugintag as returned by the pluginhost service
  * `pluginCrashID` is an identifier for a crashed plugin (see previous point).
- I'm still using broadcastAsyncMessage to tell the content processes about
  gmp plugin crashes and plugin crash submission updates, because there's no
  guarantee the actors are instantiated (for gmp plugins) nor can the parent
  easily find out which actors to talk to (for either gmp or npapi plugins).
  Open to suggestions there, too. I think our best bet might be moving that to
  IPDL-based IPC within the GMP code, but that feels like a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D37665
2019-07-23 22:04:40 +00:00
Dão Gottwald
f7b40b4071 Bug 1567426 - Convert urlbar-go-button from class to id. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D38643
2019-07-19 13:23:28 +00:00
Dão Gottwald
d9573715fd Bug 1567406 - Use ids instead of classes for urlbar-input and urlbar-scheme. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D38631
2019-07-19 13:22:23 +00:00
Dão Gottwald
298708b354 Bug 1567141 - Stop setting the textbox-input class alongside urlbar-input and urlbar-scheme. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D38557
2019-07-18 21:22:36 +00:00
Tim Huang
fb7af30822 Bug 1562881 - Part 5: Change the anchor point of protections popup to the shield icon container and make identity popup and protection popup mutual exclusive. r=johannh
This patch changes the anchor point of the protections popup to the
shield icon container. Also remove the alt key which is needed to
open the protection icon.

In addtion, this also makes these two popups are mutual exclusive.

Differential Revision: https://phabricator.services.mozilla.com/D37791
2019-07-17 13:25:03 +00:00