Commit Graph

25192 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
d37eb95bc7 Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs
To more properly support Linux having a different default at runtime.

Expose the resolved value in appinfo for convenience, and use it in the
front-end as needed.

Differential Revision: https://phabricator.services.mozilla.com/D129004
2021-10-21 09:07:12 +00:00
Iulian Moraru
00e4364a54 Backed out 2 changesets (bug 1735721, bug 1736825) for causing mochitests browser chrome failures on browser_startup_syncIPC.js, CLOSED TREE
Backed out changeset 80d2e27ea03f (bug 1735721)
Backed out changeset b265817ccc60 (bug 1736825)
2021-10-20 21:19:14 +03:00
Luca Greco
bc07ed9ca0 Bug 1736825 - Improve manifest.json files parsing in browser_all_files_referenced.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D129019
2021-10-20 14:07:25 +00:00
Harry Twyford
45025048ce Bug 1701929 - Define positioning required for Mac fullscreen slide in CSS to avoid frame reconstruction. r=mstange,Gijs
Baseline profile: https://share.firefox.dev/3p5PgDn (jank)
Profile with just setting pinned tab position to absolute: https://share.firefox.dev/30jKR5p (jank)
Profile with just moving relative positioning to CSS: https://share.firefox.dev/3p6c5a7 (jank)
Profile with this patch: https://share.firefox.dev/3FRLmnK (no jank)

Markus said setting abspos pinned tabs would be safe as long as there were no relative-positioned ancestors in the tab overflow scrollbox. The only notable ancestor of a pinned tab is the tab arrowscrollbox itself, so there aren't any surprise ancestors here. Manual testing indicates things work fine.

I also confirmed that this patch fixes bug 1725151.

Differential Revision: https://phabricator.services.mozilla.com/D121403
2021-10-20 13:59:23 +00:00
Leslie Orellana
53c6a810bf Bug 1723679 - Align Selection Button with other items. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128851
2021-10-20 10:09:22 +00:00
Joel Maher
f72bcee13e Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Neil Deakin
0d6adaeabb Bug 1733786, replace uitour implementation of show how button with one that focuses the item on the app menu and submenu instead, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128428
2021-10-19 14:54:45 +00:00
Evgenia Kotovich
685e68c48b Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli
b1ebbba564 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich
59d14912a7 Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Mark Banner
5dd0f0a1a6 Bug 1735500 - When we do not have the initial URI the first browser in a window is loading, default the browser to the PRIVILEGEDABOUT_REMOTE_TYPE. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128357
2021-10-16 07:57:56 +00:00
Emilio Cobos Álvarez
2119007c36 Bug 1736038 - Remove -moz-toolbar-prefers-color-scheme. r=dao
By making prefers-color-scheme return the ColorSchemeForChrome(), which
accounts for the Firefox theme.

Differential Revision: https://phabricator.services.mozilla.com/D128611
2021-10-15 16:53:08 +00:00
Dan Mosedale
802ea71c8f Bug 1731153 - fix HCM SubDialogs bleeding into background,r=Gijs,morgan
Differential Revision: https://phabricator.services.mozilla.com/D128499
2021-10-15 16:32:06 +00:00
Alexandru Michis
fdd29e992c Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich
8d5d1cda5f Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Ed Lee
129b1a36c1 Bug 1735691 - Quickly clicking "explore colorways" then "keep previous" twice makes upgrade spotlight stuck r=pdahiya
Remember that advance is busy to cancel other advances.

Differential Revision: https://phabricator.services.mozilla.com/D128432
2021-10-14 22:31:14 +00:00
Emilio Cobos Álvarez
607de2af06 Bug 1584678 - Ensure we don't change activeness when remoteness changes. r=mconley
The tab switcher seems confused, sometimes?

However this seems a better approach regardless.

Differential Revision: https://phabricator.services.mozilla.com/D128197
2021-10-14 21:42:14 +00:00
Mark Banner
f5f5e0511d Bug 1378173 - Remove Promise.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128098
2021-10-14 08:28:28 +00:00
Michael Kohler
87790d1825 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak
Differential Revision: https://phabricator.services.mozilla.com/D127588
2021-10-14 07:51:14 +00:00
Claudia
b76124608e Bug 1733425 - Change SessionStore.getClosedTabData to always return an object insteaf of a string. r=Standard8,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D128272
2021-10-14 07:01:30 +00:00
Ed Lee
f349dc2560 Bug 1735388 - Keep the variant when changing colorways on upgrade spotlight and about:welcome r=pdahiya
Rework theme and variant activation to make variants sticky. Reorder Default to show Light then Auto so that Light and Soft are the same index. Also select the initial index based on current dark or light theme. Add transitions for variation children. Compute about:welcome variant index based on active theme instead of specifying both default variants for system and colorways.

Differential Revision: https://phabricator.services.mozilla.com/D128404
2021-10-14 00:40:23 +00:00
Cosmin Sabou
3242939660 Backed out 2 changesets (bug 1735500, bug 1649599) for causing both Bug 1735649 and Bug 1735650.
Backed out changeset c7b8bd49a741 (bug 1649599)
Backed out changeset 8f569a8aacf0 (bug 1735500)
2021-10-14 00:47:48 +03:00
James Teh
ddea713bee Bug 1735454 - Provide a more useful a11y label on the theme variation radio buttons in the upgrade spotlight r=pdahiya
Wait for fluent-dom to translate the radio button elements to then copy over the text as aria-label.

Differential Revision: https://phabricator.services.mozilla.com/D128330
2021-10-13 21:31:18 +00:00
Dão Gottwald
430a5f2bcb Bug 1706534 - Fix up popup notification link alignment and button focus rings, and clean up how we set the link color for dark themes. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D114475
2021-10-13 16:37:56 +00:00
Mark Banner
1893b193f9 Bug 1735500 - When we do not have the initial URI the first browser in a window is loading, default the browser to the PRIVILEGEDABOUT_REMOTE_TYPE. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128357
2021-10-13 14:45:54 +00:00
Cristian Tuns
11ed5baad6 Backed out changeset 3132e2d5dc45 (bug 1706534) for causing mochitest failures on browser_creditCard_doorhanger.js. CLOSED TREE 2021-10-13 10:48:47 -04:00
pestanoah
a54cb4eeba Bug 1724284 - Renamed Browser Tools id to browserToolsMenu. r=mhowell,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D125331
2021-10-13 14:19:02 +00:00
Dão Gottwald
e2f8616427 Bug 1706534 - Fix up popup notification link alignment and button focus rings, and clean up how we set the link color for dark themes. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D114475
2021-10-13 12:39:06 +00:00
Emilio Cobos Álvarez
15155e8511 Bug 1584678 - Revert patch that landed accidentally.
MANUAL PUSH: Backout of accidentally-landed patch CLOSED TREE
2021-10-12 18:34:55 +02:00
Emilio Cobos Álvarez
d25b769c6a Bug 1584678 - Ensure we don't change activeness when remoteness changes. r=mconley!
The tab switcher seems confused, sometimes?

However this seems a better approach regardless.

Differential Revision: https://phabricator.services.mozilla.com/D128197
2021-10-12 18:14:34 +02:00
Emilio Cobos Alvarez
2edef0e001 Bug 1735318 - Unify "native" vs. "fullscreen" window controls. r=desktop-theme-reviewers,dao
I've tested this (both with and without titlebar) in Linux, Win10,
Win11, Win7 and macOS.

 * On macOS behavior doesn't change at all (since on fullscreen we didn't
show the buttons to begin with).

 * Linux now shows "native" buttons on fullscreen (which is also an
improvement).

 * On Windows 10/11 the sizing of the buttons is now the same when
fullscreen vs. not (which is an improvement).

 * On Windows 7 we now use regular native-looking buttons (like on
   windows 10) instead of the custom windowControls.png. That could be
   considered a slight regression I guess, but is consistent with win10.

Differential Revision: https://phabricator.services.mozilla.com/D128196
2021-10-12 13:20:13 +00:00
Gijs Kruitbosch
06229c5d20 Bug 1718571, r=mtigley,pbz
Differential Revision: https://phabricator.services.mozilla.com/D127696
2021-10-12 11:19:04 +00:00
Andrei Oprea
b4213316e5 Bug 1731035 - Highlight the primary button in the Messaging System doorhager r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D127954
2021-10-12 09:19:34 +00:00
Kagami Sascha Rosylight
4e97df82b2 Bug 1733511 - Set currentDropTarget in PMDH_onDragOver r=mak
PMDH_onDragEnter sets it but it can be immediately nullified by a dragleave listener of a menu popup. Having null ultimately triggers closeParentMenus() by closeMenuTimer, and setting the proper drop target in dragover prevents that.

Running closeMenuTimer immediately after openen a popup sounds weird but that's an existing behavior and is out of scope of this patch.

Differential Revision: https://phabricator.services.mozilla.com/D127971
2021-10-11 15:12:53 +00:00
Christoph Kerschbaumer
4366e7bd3e Bug 1733924: Update tests within browser/base/content/test/webrtc/ to work with https-first enabled r=florian
Differential Revision: https://phabricator.services.mozilla.com/D127427
2021-10-11 11:25:53 +00:00
Tomislav Jovanovic
dc5b62d25a Bug 1708243 - Part 4: Remove tab-content.js and onExtensionBrowser.js, stop touching .content eagerly r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127750
2021-10-09 22:45:28 +00:00
Dana Keeler
79424fae76 Bug 1705360 - "hide" NSS DBs from meddling third party software r=jschanck,bbeurdouche,perftest-reviewers,sparky
Some crash reports appear to be indicating that initializing NSS' certificate
and key databases is taking on the order of minutes in some cases, which is
unexpected. One hypothesis is that third-party software is opening these DBs at
the same time that NSS is operating on them, causing contention and thus
slowness. This patch experimentally (in Nightly only) renames these DBs in the
hopes that third-party software might not recognize them as the DBs it's
looking for, and will thus leave them alone.

Differential Revision: https://phabricator.services.mozilla.com/D126028
2021-10-08 18:33:46 +00:00
Sebastian Hengst
db91af550c Bug 1733426 - restrict exception for autocomplete-item.css in browser_parsable_css.js to Windows. r=tgiles
The exception got added in this bug, the usage of the CSS rule in bug 1696132
which started the Windows-only failures.

Differential Revision: https://phabricator.services.mozilla.com/D127975
2021-10-08 16:55:39 +00:00
Julien Wajsberg
ee82ef8964 Bug 1730893 - [devtools profiler] Properly localize buttons in the profiler popup r=jdescottes,fluent-reviewers,desktop-theme-reviewers,nbaumgardner,harry,flod
This fixes a warning when Fluent translates these buttons: previously it
was removing the content, which we don't control. The proper way is
assigning attributes instead.

This also required touching the style a bit.

Differential Revision: https://phabricator.services.mozilla.com/D127678
2021-10-08 11:47:34 +00:00
Ed Lee
4ac98a358d Bug 1734264 - Upgrade spotlight visual adjustments from design feedback r=pdahiya
Fix background sizing of horizontal color circles with updated hover styles and improved spacing among/around. Position primary button with invisible secondary button. Update noodle svg to avoid aliasing. Adjust variant disc and color circles gradient colors and direction (vertical) now always with black variant text and increased button font size. Also adjust about:welcome thank you confetti and fancy header. Update a couple backgrounds and positioning.

Differential Revision: https://phabricator.services.mozilla.com/D127601
2021-10-07 19:30:32 +00:00
Harry Twyford
d21fd3e3a3 Bug 1730562 - White flash before about:home/newtab themed background is rendered. r=mconley,dao
Differential Revision: https://phabricator.services.mozilla.com/D127561
2021-10-07 18:57:27 +00:00
Tim Giles
24928d6b32 Bug 1733426: Add workaround in test due to autocomplete-item.css being treated as a non-privileged stylesheet. r=dimi
This adds a workaround in the `browser_parsable_css.js` test for the autocomplete item stylesheets.
These stylesheets are loaded via chrome:// and so are privileged stylesheets, but in automation they are loaded as non-privileged stylesheets.
Since color-mix requires chrome privileges outside of Nightly, we need this workaround in order to not permanently fail when migrating from central to beta/release.

Differential Revision: https://phabricator.services.mozilla.com/D127314
2021-10-07 17:27:34 +00:00
Drew Willcoxon
d72b6e80fa Bug 1733687 - Store in a pref the user's response to the Firefox Suggest onboarding dialog and add two new telemetry event objects. r=dao,mythmon
This does a couple of things:

* Instead of using the `not_now` telemetry event object for the cases where the
  dialog is closed by the Escape key or some other atypical way, reserve
  `not_now` -- renamed `not_now_link` -- specifically for clicks on the "Not
  now" link and add two new objects: `dismissed_escape_key` and
  `dismissed_other`. That should give us a little better understanding of how
  the dialog is being dismissed. The new `not_now_link` name is to avoid
  conflation with the previous meaning of `not_now`.
* Add a new `browser.urlbar.quicksuggest.onboardingDialogChoice` pref that
  stores exactly the same values as the telemetry event. e.g., if the dialog is
  accepted, then we'll record a telemetry event whose object is `accept` and
  we'll also store `accept` in the pref.

I figure if we decide to show the onboarding again for people who have already
seen it, (1) we'll use this pref to decide the flow for any given user, and (2)
we'll need to add another pref for the user's response to the "v2" dialog, or
maybe we could morph this one into an array of responses or something more
complex like that.

Differential Revision: https://phabricator.services.mozilla.com/D127354
2021-10-07 17:02:07 +00:00
Emilio Cobos Álvarez
3fad129a52 Bug 1733384 - Make inert not modify the computed style. r=sefeng,layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D127422
2021-10-07 17:00:36 +00:00
Butkovits Atila
64999a3215 Backed out 4 changesets (bug 1733384) for causing failures at browser_windowPrompt.js. CLOSED TREE
Backed out changeset fa609fadac26 (bug 1733384)
Backed out changeset dd1936d9fe17 (bug 1733384)
Backed out changeset 1a073e40ab1a (bug 1733384)
Backed out changeset 65708a4c708f (bug 1733384)
2021-10-07 17:52:51 +03:00
Emilio Cobos Álvarez
275f027364 Bug 1733384 - Remove some asserts from a test that no longer pass because inert is no longer observable from the computed style.
MANUAL PUSH: Orange fix CLOSED TREE
2021-10-07 16:05:34 +02:00
Rob Wu
12eb0a9f99 Bug 1659155 - Use pre-redirect URL as srcUrl in contextMenus API r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D127786
2021-10-07 10:34:24 +00:00
Ed Lee
e6345876a7 Bug 1734461 - Also check and reset newtab pref from "Firefox Home" upgrade spotlight checkbox r=pdahiya
Add newtab pref checks and record events for when checkbox button is handled. Split up trigger tests to own file and share telemetry helpers from head.js.

Differential Revision: https://phabricator.services.mozilla.com/D127722
2021-10-07 03:59:56 +00:00
Chris Martin
8dc53c93d9 Bug 1730309: Part 1 - Use Windows behavior for minimize and close buttons r=emk,emilio
Bug 1718629 did this for the maximize button.  This patch does the same for minimize and close, which we are switching to for consistent tooltip styling.

Differential Revision: https://phabricator.services.mozilla.com/D125625
2021-10-05 17:54:47 +00:00
Emilio Cobos Alvarez
5c5b0deb3d Bug 1734115 - Fix Windows-specific select popup test that was relying on -moz-Combobox to be exactly white. CLOSED TREE
MANUAL PUSH: Orange fix CLOSED TREE
2021-10-05 21:27:40 +02:00