Commit Graph

734 Commits

Author SHA1 Message Date
Greg Tatum
f5e92e8381 Bug 1580469 - Create end to end profile capture tests; r=julienw
This patch creates the first full mochitest that exercises the profiler
popup's mechanisms of capturing profiles. The test tries to use user-focused
mechanisms–clicking buttons to fully capture a profile.

In addition, it fixes two leaks that were uncovered by the leaktest check.
The first has to do with the iframe src creating an about:blank page when
set to an empty string. The next was the Services.obs.addObserver call
in the perfFrontInterface not being removed when the page was unloaded.

Differential Revision: https://phabricator.services.mozilla.com/D45530
2019-10-04 18:23:48 +00:00
Vijay Budhram
5bbd1a2229 Bug 1570568 - Update Fxa menu to reflect decoupling r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D46891
2019-10-03 18:04:56 +00:00
Mark Hammond
1b70b4f1c7 Bug 1584076 - Hide the 'Firefox Services' label when there are no services. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D47720
2019-10-01 14:33:01 +00:00
Andrei Oprea
9f5a14e402 Bug 1583231 - Fix indentation, tooltip use, and CSS of what's new panel and toolbarbutton r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D46931
2019-09-26 11:06:30 +00:00
Vijay Budhram
7c4c928301 Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725
2019-09-20 17:00:51 +00:00
Tim Nguyen
5a65c130f6 Bug 1582316 - Fix CSS broken by un-blockification of display: -moz-box - round 2. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46497
2019-09-20 18:13:45 +00:00
Gurzau Raul
17457f6c33 Backed out changeset 4ce6c9d4041a (bug 1575706) for failing at browser_duplicateIDs.js on a CLOSED TREE. 2019-09-20 00:54:38 +03:00
Vijay Budhram
8ba3f6f335 Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725
2019-09-19 19:27:02 +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
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Mark Striemer
246fdf3991 Bug 1575208 - Fix partially hidden buttons in extension notification panels r=dao
Differential Revision: https://phabricator.services.mozilla.com/D45684
2019-09-12 19:16:47 +00:00
Edouard Oger
524d154c78 Bug 1570569 p1 - Add Sync Disabled state to Synced Tabs menu. r=vbudhram,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D44484
2019-09-11 01:17:46 +00:00
Brian Grinstead
dae05cdfda Bug 1579470 - Remove goOfflineCmd.label and replace with menu-file-go-offline from ftl r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D45033
2019-09-06 20:18:11 +00:00
Edouard Oger
06a5bd1580 Bug 1575704 - Redirect to Sync preferences in Send Tab sign-in button. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D44251
2019-09-03 15:40:29 +00:00
Vijay Budhram
55df4a8377 Bug 1569620 - Update Fxa toolbar menu to latest skyline ux designs r=markh
Differential Revision: https://phabricator.services.mozilla.com/D40103
2019-08-07 18:07:23 +00:00
Vijay Budhram
a5a9bd160b Bug 1568866 - Update send to device panel for skyline r=markh
Differential Revision: https://phabricator.services.mozilla.com/D40049
2019-08-07 18:07:06 +00:00
Andreea Pavel
b23b5a26e7 Backed out 2 changesets (bug 1568866) bc failures at browser_misused_characters_in_strings.js on a CLOSED TREE
Backed out changeset d87d16fa1fa5 (bug 1568866)
Backed out changeset 75fb52a6d1f8 (bug 1568866)
2019-08-06 22:29:49 +03:00
Vijay Budhram
cef3fe3765 Bug 1568866 - Update send to device panel for skyline r=markh
Differential Revision: https://phabricator.services.mozilla.com/D40049
2019-08-06 15:00:30 +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
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
Marco Zehe
0b731d21bf Bug 1569931 - Make the What's New contents panel a document for easier browsing for screen readers, r=andreio
This way, screen reader users can more easily browse all content provided by the What's New sections. Otherwise, only the buttons would be read, and screen reader users would have to use cumbersome navigation techniques to get to the rest of the contents.

This patch adds an WAI-ARIA role "document" to the container, which only changes screen reader behavior, but has otherwise no effect on styling or browser behavior.

Differential Revision: https://phabricator.services.mozilla.com/D39887
2019-07-30 16:14:42 +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
Erica Wright
f6b89b4245 Bug 1563547 - Update app menu to lead to the protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39549
2019-07-29 19:15:11 +00:00
Johann Hofmann
15324e6021 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Differential Revision: https://phabricator.services.mozilla.com/D37556
2019-07-12 21:36:58 +00:00
Dorel Luca
8de55ca96d Backed out 3 changesets (bug 1562575) for Mochitest failures in browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js. CLOSED TREE
Backed out changeset fce18a9477b0 (bug 1562575)
Backed out changeset c9b01b908020 (bug 1562575)
Backed out changeset de006229ba8f (bug 1562575)
2019-07-12 18:42:19 +03:00
Johann Hofmann
b8c3d65a54 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Differential Revision: https://phabricator.services.mozilla.com/D37556
2019-07-12 10:27:24 +00:00
Ricky Rosario
ae80b6cd4f Bug 1561349 - Implement message templates for What's New panel r=andreio
This needs to land together or right around when the `whatsnew-panel` branch is merged and exported.

Differential Revision: https://phabricator.services.mozilla.com/D37320
2019-07-11 21:23:57 +00:00
harry
0868f3b12f Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-06 21:10:33 +00:00
Ricky Rosario
0960acd73a Bug 1561345 - Create UI elements for What's New button and panel r=andreio,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36548
2019-07-04 08:59:09 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Mihai Alexandru Michis
372f3445c6 Backed out changeset 3e2fe70b181a (bug 1522012) for causing failures in browser_touchbar_tests.js CLOSED TREE 2019-07-04 18:47:07 +03:00
harry
86d1612103 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-04 03:57:47 +00:00
Andreea Pavel
bcc59449cd Backed out changeset c1b80824ae88 (bug 1522012) for failing bc at browser_touchbar_tests.j on a CLOSED TREE 2019-07-03 00:19:25 +03:00
harry
809280f5cb Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-02 14:47:07 +00:00
Dão Gottwald
d78fcda4df Bug 1560398 - Merge appMenu-fxa-status with appMenu-fxa-container. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D35470
2019-06-24 20:29:46 +00:00
Dão Gottwald
89f5c3a912 Bug 1560336 - Stop using the toolbaritem-combined-buttons class for the Firefox account menu item. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35434
2019-06-20 18:56:08 +00:00
Greg Tatum
39787e7d45 Bug 1307227 - Integrate the profiler popup widget into the browser; r=jdescottes
This commit takes the popup, and wires it up the button using the
CustomizableUI interface. It is integrated with the DevTools initialization
code.

Differential Revision: https://phabricator.services.mozilla.com/D31629
2019-05-31 15:54:18 +00:00
Andrew Swan
1ab513d145 Bug 1519577 Convert toolbarbutton to a custom element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D31941
2019-05-20 10:01:02 -07:00
Sam Foster
3f524f76dc Bug 1543499 - Record telemetry event when opening the password management UI. r=MattN
* Remove the PWMGR_MANAGE_OPENED histogram and references to it
* Add a new pwmgr event category, open_management method and objects for each of the entry points
* Expect an entryPoint key to be passed to LoginHelper.openPasswordManager so it can record the event
* Update all callers of LoginHelper.openPasswordManager to pass the correct entryPoint key
* Record the event in preferences when we open the password management UI as a subdialog
* Add test assertions to confirm the telemetry events are recorded, piggybacking on existing tests where practical to avoid duplicating helpers and boilerplate

Differential Revision: https://phabricator.services.mozilla.com/D29840
2019-05-15 23:24:28 +00:00
Robert Strong
990663c430 Bug 1521427 - Display the doorhanger notification for unsupported type update notifications. r=bytesized,flod,zbraniecki
The unsupported doorhanger will persist the menu item across application restarts until an update has been found.

Differential Revision: https://phabricator.services.mozilla.com/D29927
2019-05-07 17:59:21 +00:00
Luca Greco
9ae2145e93 Bug 1544928 - Add Report extension in browserAction context menu. r=flod,jaws,mstriemer
Depends on D27294

Differential Revision: https://phabricator.services.mozilla.com/D29120
2019-05-06 18:38:19 +00:00
Vijay Budhram
abb3caec0b Bug 1542334 - Add telemetry for FxA app menu r=eoger,janerik
Differential Revision: https://phabricator.services.mozilla.com/D28347
2019-04-30 19:47:36 +00:00
Mohd Umar Alam
f1c10d6a8d Bug 1547614 View History Sidebar menu is missing label for in Library toolbutton r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D29133
2019-04-30 13:04:47 +00:00
Andreea Pavel
3407eee236 Bug 1533533 - add spacing after comma in panelUI.inc.xul on a CLOSED TREE 2019-04-26 09:57:53 +03:00
Mohd Umar Alam
af86d46266 Bug 1533533-Add a label to hide synced tabs sidebar when it is shown r=sfoster,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D28177
2019-04-26 06:10:43 +00:00
Vijay Budhram
27bbee7a6e Bug 1542334 - Add FxA toolbar menu to app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26377
2019-04-19 14:05:24 +00:00
Christian Frey
94c0fa6cd8 Bug 1523757 - Convert panelUI.inc.xul to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26447
2019-04-15 18:10:46 +00:00
James Teh
ea887cd7b3 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

Differential Revision: https://phabricator.services.mozilla.com/D25905
2019-04-15 01:38:08 +00:00
Nicholas Cowles
50c9c30a0d Bug 1523747 - Move customize mode strings over to fluent, r=Gijs,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D26418
2019-04-10 15:46:31 +00:00