Commit Graph

761 Commits

Author SHA1 Message Date
Marco Bonardo
640c3e2aef Bug 1612653 - Update 'Bookmark This Page' menuitems when the star state changes. r=Standard8
Instead of updating the Bookmark This Page / Edit Bookmark menuteitems on popupshowing,
update them when the star button is suppposed to change. This better supports MacOS behavior
where the native menubar can't be updated after being shown, and avoids many callpoints in
favor of just a few.

Differential Revision: https://phabricator.services.mozilla.com/D64399
2020-02-27 12:04:15 +00:00
Dave Townsend
a20bb56569 Bug 1617679: Reword the SSB menus and add a page action icon. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63920
2020-02-26 22:15:19 +00:00
Arthur Iakab
c41a41df37 Backed out 6 changesets (bug 1144438, bug 1617208, bug 1597378) for causing devtools failures on browser_all_files_referenced.js
Backed out changeset eef173a3678d (bug 1617208)
Backed out changeset cc21fa09b88d (bug 1597378)
Backed out changeset b802ce66aa59 (bug 1597378)
Backed out changeset c65103d7bf0b (bug 1597378)
Backed out changeset 35da034acf03 (bug 1597378)
Backed out changeset 4e152220ad14 (bug 1144438)
2020-02-26 03:22:40 +02:00
Greg Tatum
8d53b2a910 Bug 1597378 - Create new UI for the profiler popup; r=julienw
This commit implements the actual UI changes. A follow-up commit adds the
tests for the changes. The CSS is a little bit awkard since it uses lots of
ID selectors rather than class selectors. I wanted to be able to write quick
selects, since it's selecting across the entire browser document. I feel
a little conflicted with the approach, as I would prefer to use classes in
general.

The panel.jsm.js file collects all of the UI handling changes rather than
having everything in menu-button.jsm.js, as the latter can get loaded
at startup. I'm not sure if it's completely worth the trouble of having
two files, as most of it should be pretty light.

This commit does not handle localization for the panel, as we should be moving
to Fluent. Rather than solve that here, I will follow-up with it in Bug 1599774.

Differential Revision: https://phabricator.services.mozilla.com/D62914
2020-02-25 20:39:27 +00:00
Arthur Iakab
7008c5fc33 Backed out 6 changesets (bug 1144438, bug 1617208, bug 1597378) for causing mochitest failures on test_perf-settings-entries.html.
Backed out changeset 2181d8a99229 (bug 1617208)
Backed out changeset 38c8db44b398 (bug 1597378)
Backed out changeset b2f0cf9a387e (bug 1597378)
Backed out changeset 4d1ff8bd4e64 (bug 1597378)
Backed out changeset 9b760d8fc1dc (bug 1597378)
Backed out changeset bc5727185383 (bug 1144438)
2020-02-25 20:51:07 +02:00
Greg Tatum
b3fb1bfd84 Bug 1597378 - Create new UI for the profiler popup; r=julienw
This commit implements the actual UI changes. A follow-up commit adds the
tests for the changes. The CSS is a little bit awkard since it uses lots of
ID selectors rather than class selectors. I wanted to be able to write quick
selects, since it's selecting across the entire browser document. I feel
a little conflicted with the approach, as I would prefer to use classes in
general.

The panel.jsm.js file collects all of the UI handling changes rather than
having everything in menu-button.jsm.js, as the latter can get loaded
at startup. I'm not sure if it's completely worth the trouble of having
two files, as most of it should be pretty light.

This commit does not handle localization for the panel, as we should be moving
to Fluent. Rather than solve that here, I will follow-up with it in Bug 1599774.

Differential Revision: https://phabricator.services.mozilla.com/D62914
2020-02-25 16:47:19 +00:00
Zibi Braniecki
3db43c6b8d Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D60096
2020-01-17 19:29:09 +00:00
Shane Caraveo
d8954b0e4d Bug 1544975 remove private window extension change notification r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D57716
2020-01-03 23:01:54 +00:00
Erica Wright
831516af01 Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D58044
2020-01-09 17:50:11 +00:00
Noemi Erli
883f769112 Backed out changeset bc55dd49ef82 (bug 1603545) for causing build bustages CLOSED TREE 2020-01-09 18:25:18 +02:00
Erica Wright
e12d63e48f Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D58044
2020-01-09 15:57:02 +00:00
Dave Townsend
7b961641a1 Bug 1603272: List installed site specific browsers in the app menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D57015
2019-12-23 18:58:03 +00:00
Vijay Budhram
f918b4fd31 Bug 1597994 - Update FxA menu manage account labels r=markh,flod
Differential Revision: https://phabricator.services.mozilla.com/D57548
2019-12-23 14:42:09 +00:00
Zibi Braniecki
4f3f3794ce Bug 1600528 - Migrate browser-context.inc to Fluent. r=Gijs,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55396
2019-12-18 06:26:58 +00:00
Henri Sivonen
b08d4fd730 Bug 1604158 - Hide the encoding detector submenu in hamburger/toolbar cases when chardetng is enabled. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D57305
2019-12-16 13:43:15 +00:00
Mike Conley
e6e6674159 Bug 1594227 - Add Fission testing menu items to the File menu. r=NeilDeakin
These menu items are only visible in Nightly when Fission is enabled,
and they're only for testing, which is why I've opted to not use Fluent
for localization, and just hard-coded the strings and accesskeys. These
menu items will never ride to release.

Differential Revision: https://phabricator.services.mozilla.com/D55004
2019-11-27 19:23:08 +00:00
Brian Grinstead
628c0a5dcc Bug 1596591 - Rename inc.xul files to inc.xhtml r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53843
2019-11-21 09:46:01 +00:00
Morgan Reschenberg
8206682dac Bug 1592719: Label zoom buttons (+/-) and full-screen button in hamburger menu. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D51153
2019-10-31 16:57:26 +00:00
Edouard Oger
fddfd3485f Bug 1588793 - Load Sync Now string at startup. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49296
2019-10-15 17:17:52 +00:00
Dorel Luca
91de557f00 Backed out changeset 7f353853da83 (bug 1588793) as requsted by the dev. CLOSED TREE 2019-10-15 18:43:25 +03:00
Edouard Oger
838f8d43c9 Bug 1588793 - Load Sync Now string at startup. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49296
2019-10-15 15:26:24 +00:00
Edouard Oger
e83405078d Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410
2019-10-11 17:06:57 +00:00
Andreea Pavel
fc6a865f03 Backed out changeset 4695136f7e82 (bug 1549049) for assertion failures at ErrorResult.h on a CLOSED TREE 2019-10-11 00:53:42 +03:00
Edouard Oger
8cc6f44e0d Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410
2019-10-10 21:08:01 +00:00
Vijay Budhram
b38a094ee3 Bug 1587143 - Updated the Fxa toolbar devices button link r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D48589
2019-10-08 18:42:46 +00:00
Greg Tatum
12b7d2f523 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
Daniel Varga
6ab8a46eeb Backed out 2 changesets (bug 1580469, bug 1581975) for devtools failure at browser/browser_aboutdebugging_serviceworker_timeout.js
Backed out changeset f44e632769d7 (bug 1580469)
Backed out changeset 5a3661caf52f (bug 1581975)
2019-10-05 01:17:45 +03:00
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