Commit Graph

33295 Commits

Author SHA1 Message Date
Alexandre Poirot
0d20bb1ccb Bug 1700909 - [devtools] Stop exposing Toolbox.descriptorFront. r=jdescottes
Instead we should we querying Toolbox.commands.descriptorFront.

Differential Revision: https://phabricator.services.mozilla.com/D157942
2022-09-29 14:43:24 +00:00
Andrew McCreight
670df172aa Bug 1792457 - Revert workarounds for weak references to XPCWJS crashes. r=Gijs
I have fixed the underlying XPConnect issue, so these workarounds should
no longer be needed.

There are also two more in browser/base/content/browser-siteProtections.js
that I have not fixed.

Differential Revision: https://phabricator.services.mozilla.com/D158158
2022-09-29 11:40:19 +00:00
Mark Banner
a49b8ef78f Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Niklas Baumgardner
7d97f19898 Bug 1792441 - Keep window open when restoring with hidden tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158233
2022-09-29 03:08:06 +00:00
Daisuke Akatsuka
da0b24b1c8 Bug 1786427: Extract inspector tests to a separate file. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D158242
2022-09-28 23:56:04 +00:00
Daisuke Akatsuka
8b4b5b6ea2 Bug 1786427: Extract tab refocus tests to a separate file. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D158181
2022-09-28 23:56:03 +00:00
Emilio Cobos Álvarez
2e072c2520 Bug 1792337 - Make about dialog use modern flexbox emulation, and size to a smaller width. r=Gijs,bytesized,application-update-reviewers,preferences-reviewers
That was presumably the intention of the explicit width in the CSS but
that wasn't working.

While at it, use a proper deck rather than a hand-rolled one.

Differential Revision: https://phabricator.services.mozilla.com/D158223
2022-09-28 20:27:57 +00:00
negin
124dd1b1a1 Bug 1791010 - The backgrounds of the images from the "about:welcome" page are not visible if the "High Contrast Mode" is active r=emcminn
Added high contrast rule for mr background images.

To test this in macOS enable the following:

{F4178464}

and enable a dark theme for firefox

Differential Revision: https://phabricator.services.mozilla.com/D158264
2022-09-28 20:08:33 +00:00
hanna alemu
d1d82341cd Bug 1791647 - Check home page checkbox by default for colorway upgrade screen r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D157989
2022-09-28 17:55:13 +00:00
Ben Hearsum
942df42ed0 Bug 1787121: write runtime shortcuts log in UTF-16LE encoding r=bytesized
It turns out that the INI parser used by NSIS only supports UTF-16LE encoding. Our INI parser doesn't support UTF-16 at all, so we need to a bit of work ourselves to write this file correctly.

Differential Revision: https://phabricator.services.mozilla.com/D157378
2022-09-28 13:17:41 +00:00
Mark Banner
e73ca1c871 Bug 1792673 - Correctly set the separate private default urlbar result preference from experiments. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D158249
2022-09-28 09:54:46 +00:00
Mark Banner
c34ea601d2 Bug 1634555 - Send event telemetry for search default engine changes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D157471
2022-09-28 09:40:36 +00:00
Mark Banner
bb78b2f75f Bug 1634555 - Use the testEngine_setup helper in more urlbar xpcshell-tests. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D157793
2022-09-28 09:40:36 +00:00
Paul Zuehlcke
e7cfc2f19d Bug 1792428 - Remove telemetry probe 'privacy.dfpi_rollout_tcpByDefault_feature'. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D158168
2022-09-28 02:33:39 +00:00
hanna alemu
e78bca6f49 Bug 1792226 - Fx view CFR profile age of atleast two days r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D158040
2022-09-28 00:39:35 +00:00
Shane Hughes
63dd81f4fe Bug 1792570 - Update quick action unit tests for beta simulation. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D158215
2022-09-27 21:49:11 +00:00
Daisuke Akatsuka
22b7b8178c Bug 1792195: Apply ellipsis style to label. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D158113
2022-09-27 20:38:36 +00:00
Ben Hearsum
6f438568a2 Bug 1790242: guard Windows taskbar handling usage behind a platform check in BrowserContentHandler.jsm r=mhowell
I suspect this was causing more than just the issue reported -- on Linux (and presumably Mac) this function ended up throwing an exception, which seems like it could interfere with handling of more than just `-private-window`.

Differential Revision: https://phabricator.services.mozilla.com/D158165
2022-09-27 19:56:14 +00:00
Mark Banner
92309dcd01 Bug 1792344 - Add targeting in ASRouter for distributions. r=Mardak,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D158088
2022-09-27 18:58:57 +00:00
Cristian Tuns
379cbd0e59 Backed out changeset cd3ab0559b8a (bug 1792344) for causing node failures CLOSED TREE 2022-09-27 14:44:13 -04:00
Mark Banner
87cee1d460 Bug 1792344 - Add targeting in ASRouter for distributions. r=Mardak,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D158088
2022-09-27 18:06:46 +00:00
Emilio Cobos Álvarez
4ab80589c9 Bug 1689816 - Implement <tabpanels> and <deck> without XUL layout. r=Gijs,Jamie,morgan,preferences-reviewers,mconley,TYLin
Gijs for front-end bits, layout for the new CSS properties and the
removal of nsDeckFrame / nsStackLayout, Jamie and Morgan for the a11y
changes.

As discussed in the bug, the main tricky part here is handling a11y
correctly. For <deck>, that's trivial (just use `visibility: hidden` to
hide the panels visually, while removing the unselected panels from the
a11y tree).

For <tabpanels> however we need to do something special. We do want to
hide stuff visually, but we want to preserve the contents in the a11y
tree.

For that, the easiest fix is introducing a new privileged CSS property
(-moz-subtree-hidden-only-visually), which takes care of not painting
the frame, but marks stuff offscreen in the accessibility tree. This is
not intended to be a property used widely.

Other than that, the changes are relatively straight-forward, though
some of the accessible/mac changes I could get a sanity-check on.

Differential Revision: https://phabricator.services.mozilla.com/D157875
2022-09-27 04:18:16 +00:00
scott
c38905f047 Bug 1791615 - Pocket newtab configurable cache time. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D158059
2022-09-27 00:53:35 +00:00
Mark Banner
79b9557a71 Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 21:47:50 +00:00
Marian-Vasile Laza
338fc0a451 Backed out changeset 2f74f8f2ed19 (bug 1689816) for causing reftest failures on skip-ink-multiline-position.html. 2022-09-26 23:24:03 +03:00
Marian-Vasile Laza
b7f6194b8d Backed out changeset 0679274d6ed5 (bug 1792398) for causing bc failures on browser_sendQuery.js. CLOSED TREE 2022-09-26 22:53:00 +03:00
Shane Hughes
1577034f2f Bug 1791770 - Prevent add-ons from showing Fx View tab. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158009
2022-09-26 19:33:52 +00:00
Mark Banner
5dcae1ed44 Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 18:51:57 +00:00
Dan Mosedale
d86e156394 Bug 1791873 - fix FxView sync-setup-container kbd access,r=Gijs
Backout tabIndex changes that caused the problem and add an integration test.

Differential Revision: https://phabricator.services.mozilla.com/D157988
2022-09-26 18:43:31 +00:00
Emilio Cobos Álvarez
ba878e30c1 Bug 1689816 - Implement <tabpanels> and <deck> without XUL layout. r=Gijs,Jamie,morgan,preferences-reviewers,mconley,TYLin
Gijs for front-end bits, layout for the new CSS properties and the
removal of nsDeckFrame / nsStackLayout, Jamie and Morgan for the a11y
changes.

As discussed in the bug, the main tricky part here is handling a11y
correctly. For <deck>, that's trivial (just use `visibility: hidden` to
hide the panels visually, while removing the unselected panels from the
a11y tree).

For <tabpanels> however we need to do something special. We do want to
hide stuff visually, but we want to preserve the contents in the a11y
tree.

For that, the easiest fix is introducing a new privileged CSS property
(-moz-subtree-hidden-only-visually), which takes care of not painting
the frame, but marks stuff offscreen in the accessibility tree. This is
not intended to be a property used widely.

Other than that, the changes are relatively straight-forward, though
some of the accessible/mac changes I could get a sanity-check on.

Differential Revision: https://phabricator.services.mozilla.com/D157875
2022-09-26 17:40:30 +00:00
Narcis Beleuzu
95ae6b7d0f Backed out changeset 849faf753208 (bug 1792398) for bc failures on browser_sendQuery.js . CLOSED TREE 2022-09-26 20:44:40 +03:00
Mark Banner
ff212fab8b Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 16:51:10 +00:00
Ben Hearsum
89c064c808 Bug 1791981: guard against null dereference in Windows 7 taskbar pinning code r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D158140
2022-09-26 16:30:56 +00:00
Mathew Hodson
f84488ba91 Bug 1776578 - Replace init tasks with add_setup in mochitests. r=application-update-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149486
2022-09-26 13:58:49 +00:00
Alexandre Poirot
633eb069ef Bug 1791832 - [devtools] Convert devtools/startup JSM to ES Modules. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D157911
2022-09-26 10:48:05 +00:00
Dale Harvey
3e229c9f49 Bug 1790790 - Add Nimbus flag to control Search Private Default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D157605
2022-09-26 00:34:11 +00:00
Butkovits Atila
62f9f0eda3 Backed out changeset f6031e0a3a0b (bug 1790790) for causing telemetry failures. CLOSED TREE 2022-09-25 02:06:13 +03:00
Dale Harvey
3677c9ceb6 Bug 1790790 - Add Nimbus flag to control Search Private Default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D157605
2022-09-24 21:12:51 +00:00
Shane Hughes
14ba76c156 Bug 1789644 - Add a pref toggle for QuickActions, separate from the pref for suggestions. r=mak,daleharvey
Change the behavior of the QuickActions provider, so that setting the
pref `quickactions.enabled` to false will prevent showing quick action
results in all contexts, while setting `suggest.quickactions` to false
will only prevent showing quick action results in the default search
mode (i.e., quick action results will still appear in the Quick Actions
search mode enabled by typing `> ` in the urlbar).

Differential Revision: https://phabricator.services.mozilla.com/D157702
2022-09-24 00:00:46 +00:00
Emily McMinn
26f512bf05 Bug 1790396 - Fixup Feature Callout button CSS for HCM r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D158036
2022-09-23 23:59:14 +00:00
Brian
0b327f0974 Bug 1788925 - Convert AboutReader from JSM to ESM. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D157034
2022-09-23 21:19:12 +00:00
Cosmin Sabou
87e3afb738 Backed out changeset d3302226f71f (bug 1790790) for casuing xpcshell failures on test_defaultEngine_experiments.js. CLOSED TREE 2022-09-24 00:01:57 +03:00
Kirk Steuber
ff6db15116 Bug 1756450 - Add AppUpdater.STATUS.INTERNAL_ERROR r=bhearsum,fluent-reviewers,preferences-reviewers,desktop-theme-reviewers,flod
This patch adds a state to AppUpdater to represent when an internal error has occurred. It also adds the appropriate code to the Update UI to be able to handle this state, along with a panel in each UI and a string that can go in the panels to convey to the user that update has failed.

Ideally, it would be good if this message also directed the user to a SUMO article. See Bug 1787309 for details on this. But at the moment, I would prefer to address Bug 1756450 quickly rather than wait for that to be ready.

Differential Revision: https://phabricator.services.mozilla.com/D156998
2022-09-23 19:47:33 +00:00
Dale Harvey
ee07814dbd Bug 1790790 - Add Nimbus flag to control Search Private Default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D157605
2022-09-23 19:15:34 +00:00
Sam Foster
9bd8844f3d Bug 1780236 - Tighen up the spacing between section header, description and lists in fx-view. r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D157868
2022-09-23 16:09:07 +00:00
Shane Hughes
2e20c34814 Bug 1791649 - Add tests for Firefox View Spotlight promo. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D157756
2022-09-23 01:32:49 +00:00
Shane Hughes
e03548a638 Bug 1791412 - Adjust MR Onboarding Pin private browsing illustration to center it. r=pdahiya
Add 50px to the left side of mr-pinprivate.svg so it feels more centered.

Differential Revision: https://phabricator.services.mozilla.com/D157776
2022-09-22 21:32:46 +00:00
negin
bc59648a83 Bug 1791669 - tab pickup onboarding flyout has a ui misalignment r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D157964
2022-09-22 21:29:17 +00:00
Kelly Cochrane
6a3fd20663 Bug 1791707 - Check for tablets when showing Fx View mobile promo r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D157936
2022-09-22 18:45:53 +00:00
Kelly Cochrane
e1313c43f7 Bug 1789826 - Update z-index of section headers to prevent focus ring from being obscured r=dao
Differential Revision: https://phabricator.services.mozilla.com/D157664
2022-09-22 17:28:35 +00:00