Commit graph

456 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
cae250f709 Bug 1802142 - Remove no longer used browser-bottombox. r=dao
I don't see anything else using it, it's just an empty box.

I found this while looking at layer="" attribute usage.

Differential Revision: https://phabricator.services.mozilla.com/D162850
2022-11-23 16:03:46 +00:00
William Durand
fdf5b0dddd Bug 1794385 - Move unified-extensions-item custom element to its own file. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D162288
2022-11-17 20:52:40 +00:00
Tomislav Jovanovic
dcf742cb73 Bug 1798777 - Move originControls.ftl and unifiedExtensions.ftl Fluent files out of preview r=willdurand,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161714
2022-11-10 13:59:56 +00:00
Mike Conley
61e5d4682f Bug 1798702 - Move Unified Extension strings into the default string set. r=NeilDeakin
This is to fix Fluent errors being thrown because the Unified Extension panel
isn't created dynamically anymore, and is part of the DOM (in a <template>).

Differential Revision: https://phabricator.services.mozilla.com/D161081
2022-11-03 14:23:41 +00:00
Paul Zuehlcke
2cbc80b675 Bug 1795041 - Add a cookie banner handling per-site toggle to the protection panel. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D160254
2022-11-01 13:34:56 +00:00
Benjamin VanderSloot
0c1ac2904a Bug 1782088, part 1 - Create draft doorhanger for FedCM account choice, r=pbz,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D158778
2022-10-25 16:31:54 +00:00
Butkovits Atila
1a4dfaa163 Backed out 4 changesets (bug 1782088)for causing build bustages. CLOSED TREE
Backed out changeset a7423c6d52b7 (bug 1782088)
Backed out changeset 50a3cc77e38b (bug 1782088)
Backed out changeset 7dca17d480bb (bug 1782088)
Backed out changeset f1e6e1226a8c (bug 1782088)
2022-10-25 06:03:22 +03:00
Benjamin VanderSloot
21b507a43c Bug 1782088, part 1 - Create draft doorhanger for FedCM account choice, r=pbz,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D158778
2022-10-25 02:00:26 +00:00
Eemeli Aro
dc1a3bfffa Bug 1793572 - Convert WebRTCParent.jsm from .properties to Fluent. r=mconley,flod
The code is slightly cleaned up to not construct identifiers by concatenating strings, and to avoid using the requestTypes array when determining the prompt contents.

A few messages are moved to and from browser.ftl to group them better, though all of the "WebRTC Pop-up notifications" messages could also be moved from there to webrtcIndicator.ftl, which is now also included by browser.xhtml.

The message `webrtc-allow-share-audio-capture-unsafe-delegation` is added, as it appears to have been missed previously -- it's referred to in code, but the message itself was not defined.

Differential Revision: https://phabricator.services.mozilla.com/D158762
2022-10-08 07:35:29 +00:00
Greg Tatum
43adfeafe7 Bug 1782578 - Rename and move the context menu for text recognition r=nordzilla,fluent-reviewers,flod
This matches what is in the Figma spec.

Differential Revision: https://phabricator.services.mozilla.com/D153394
2022-08-10 19:38:44 +00:00
Norisz Fay
8bc30afa79 Backed out 6 changesets (bug 1782578, bug 1782579) for causing mochitest failures on browser_parsable_css.js CLOSED TREE
Backed out changeset bdb42cfe6213 (bug 1782579)
Backed out changeset 5f17ee4cc4df (bug 1782578)
Backed out changeset 4f969d46dd37 (bug 1782578)
Backed out changeset b4c51d1ffa99 (bug 1782578)
Backed out changeset 98d0d6bcd37b (bug 1782578)
Backed out changeset 8332d678079e (bug 1782578)
2022-08-10 20:19:31 +03:00
Greg Tatum
a895f79b4c Bug 1782578 - Rename and move the context menu for text recognition r=nordzilla,fluent-reviewers,flod
This matches what is in the Figma spec.

Differential Revision: https://phabricator.services.mozilla.com/D153394
2022-08-10 16:08:44 +00:00
Francesco Lodolo (:flod)
ea3fb60843 Bug 1775309 - Move firefoxView.ftl to locales/en-US for localization, r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D153462
2022-08-03 10:04:47 +00:00
William Durand
5a2ee397e7 Bug 1777481 - Introduce a new extension button on the toolbar. r=rpl,mstriemer,fluent-reviewers,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D151497
2022-07-20 11:08:40 +00:00
Butkovits Atila
9f6e3b1ee1 Backed out 2 changesets (bug 1777481, bug 1778722) for causing failures at browser_unified_extensions.js. CLOSED TREE
Backed out changeset 43863430aaa7 (bug 1778722)
Backed out changeset c4a72d22cd4f (bug 1777481)
2022-07-19 19:02:53 +03:00
William Durand
e0a2e35190 Bug 1777481 - Introduce a new extension button on the toolbar. r=rpl,mstriemer,fluent-reviewers,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D151497
2022-07-19 15:10:00 +00:00
Ben Hearsum
d74bb5919c Bug 1758961: remove parenthesis from private browsing title strings to match new shortcut strings r=nalexander,fluent-reviewers,flod
This is something that came up in QA on this bug -- an inconsistency between the hover text on a running Firefox's Private Browser shortcut, and the hover text when it was not running (but pinned), largely captured in https://bugzilla.mozilla.org/show_bug.cgi?id=1758961#c11

Differential Revision: https://phabricator.services.mozilla.com/D150800
2022-07-05 17:31:01 +00:00
Emilio Cobos Álvarez
7829e5aab5 Bug 1774378 - Make select code harder to mess up. r=Gijs
Right now we rely on the menulist to be injected by hand in all the
relevant windows. Instead create it lazily, making the select code more
standalone.

The DevTools window was missing it, for example.

Differential Revision: https://phabricator.services.mozilla.com/D149620
2022-06-21 21:42:58 +00:00
Greg Tatum
eb3e44ad22 Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>

Depends on D140874

Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-03 16:01:32 +00:00
criss
6362d2b06a Backed out 7 changesets (bug 1759504) for causing Android build bustages on NodeListBinding.cpp
Backed out changeset d1f1173aecfc (bug 1759504)
Backed out changeset a14a874c57b0 (bug 1759504)
Backed out changeset b9beaecf9708 (bug 1759504)
Backed out changeset dc1be2f0e0b6 (bug 1759504)
Backed out changeset a0b089fb747b (bug 1759504)
Backed out changeset b5f762f1f22e (bug 1759504)
Backed out changeset a21b8153ca2a (bug 1759504)
2022-06-02 19:52:05 +03:00
Greg Tatum
3bd6018cb4 Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>

Depends on D140874

Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-02 14:31:41 +00:00
Sam Foster
0d6499a7fb Bug 1768376 - Restore previous order of aero-related rules by loading browser-aero.css for XP_WIN only from browser.xhtml. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D147112
2022-05-25 00:19:00 +00:00
Sebastian Hengst
7b130b3d98 Bug 1768079 - only load myFirefox.ftl in Nightly. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145676
2022-05-07 14:57:37 +00:00
Sam Foster
eb3471f09d Bug 1764139 - Rename about:myfirefox to about:firefoxview and all the other files and references. r=dao,fluent-reviewers,flod
Depends on D145697

Differential Revision: https://phabricator.services.mozilla.com/D145699
2022-05-06 10:31:47 +00:00
Dão Gottwald
dc4180987f Bug 1762903 - Implement Firefox View toolbar button. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D144735
2022-05-04 16:25:54 +00:00
mcheang
d28e21ce8c Bug 1748923 - Show Search Engine Removal Infobar on restart or 5 seconds idle. r=Standard8,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D136818
2022-02-03 08:02:49 +00:00
Iulian Moraru
29074fb140 Backed out changeset 8e0d1f35d3cc (bug 1748923) for causing mochitest failures on browser_ProcessHangNotifications.js. CLOSED TREE 2022-02-03 07:33:00 +02:00
mcheang
c160b33ac4 Bug 1748923 - Show Search Engine Removal Infobar on restart or 5 seconds idle. r=Standard8,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D136818
2022-02-03 03:56:20 +00:00
Emilio Cobos Álvarez
b651bfe99a Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert
With this patch on its own we get some a11y tests failures, but those
are fixed on a later patch.

Combobox select no longer creates frames for its <options>, nor an
nsListControlFrame. Instead, it computes its right intrinsic size using
the largest size of the options. This is better, because we render the
option text using the select style so if the select and option styles
are mismatched it'd cause changes in the size of the select when text
changes. See the following in a build without the patch, for example:

  <select>
    <option>ABC</option>
    <option style="font-size: 1px">Something long</option>
  </select>

This seems like a rather obscure case, but it's important to get it
right, see bug 1741888.

With this patch we use the same setup in content and parent processes
(this needs bug 1596852 and bug 1744152). This means we can remove a
bunch of the native view and popup code in nsListControlFrame. A couple
browser_* tests are affected by this change and have been tweaked
appropriately (the changes there are trivial).

Not creating an nsListControlFrame for dropdown select means that we
need to move a bunch of the event handling code from nsListControlFrame
to a common place that nsComboboxControlFrame can also use. That place
is HTMLSelectEventListener, and I think the setup is much nicer than
having the code intertwined with nsListControlFrame. It should be
relatively straight-forward to review, mostly moving code from one part
to another.

Another thing that we need to do in HTMLSelectEventListener that we
didn't use to do is listening for DOM mutations on the dropdown. Before,
we were relying on changes like text mutations triggering a reflow of
the listcontrolframe, which also triggered a reflow of the
comboboxcontrolframe, which in turn updated the text of the anonymous
content. Now we need to trigger that reflow manually.

There are some further simplifications that can be done after this
lands (cleanup naming of openInParentProcess and so on, among others),
but I'd rather land this first (after the merge of course) and work on
them separately.

Differential Revision: https://phabricator.services.mozilla.com/D132719
2022-01-17 11:10:05 +00:00
Marian-Vasile Laza
35a88d897e Backed out 2 changesets (bug 1744009) for causing reftest failures on select-3.html.
Backed out changeset 3e44e31d3d12 (bug 1744009)
Backed out changeset 619389788775 (bug 1744009)
2022-01-17 11:14:27 +02:00
Emilio Cobos Álvarez
a8d469a8d0 Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert
With this patch on its own we get some a11y tests failures, but those
are fixed on a later patch.

Combobox select no longer creates frames for its <options>, nor an
nsListControlFrame. Instead, it computes its right intrinsic size using
the largest size of the options. This is better, because we render the
option text using the select style so if the select and option styles
are mismatched it'd cause changes in the size of the select when text
changes. See the following in a build without the patch, for example:

  <select>
    <option>ABC</option>
    <option style="font-size: 1px">Something long</option>
  </select>

This seems like a rather obscure case, but it's important to get it
right, see bug 1741888.

With this patch we use the same setup in content and parent processes
(this needs bug 1596852 and bug 1744152). This means we can remove a
bunch of the native view and popup code in nsListControlFrame. A couple
browser_* tests are affected by this change and have been tweaked
appropriately (the changes there are trivial).

Not creating an nsListControlFrame for dropdown select means that we
need to move a bunch of the event handling code from nsListControlFrame
to a common place that nsComboboxControlFrame can also use. That place
is HTMLSelectEventListener, and I think the setup is much nicer than
having the code intertwined with nsListControlFrame. It should be
relatively straight-forward to review, mostly moving code from one part
to another.

Another thing that we need to do in HTMLSelectEventListener that we
didn't use to do is listening for DOM mutations on the dropdown. Before,
we were relying on changes like text mutations triggering a reflow of
the listcontrolframe, which also triggered a reflow of the
comboboxcontrolframe, which in turn updated the text of the anonymous
content. Now we need to trigger that reflow manually.

There are some further simplifications that can be done after this
lands (cleanup naming of openInParentProcess and so on, among others),
but I'd rather land this first (after the merge of course) and work on
them separately.

Differential Revision: https://phabricator.services.mozilla.com/D132719
2022-01-16 23:31:22 +00:00
Emma Malysz
08da538533 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-28 20:01:35 +00:00
criss
c036c2f5c2 Backed out changeset ec019c0205a9 (bug 1725430) for causing failures on dbg-toggling-tools.js 2021-09-28 00:42:30 +03:00
Emma Malysz
53a01f5fb9 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-27 17:30:35 +00:00
Narcis Beleuzu
033a7edbff Backed out changeset ceaaed353b66 (bug 1725430) for assertion failure on ErrorResult.h . CLOSED TREE 2021-09-22 01:09:22 +03:00
Emma Malysz
6fede10fc1 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-21 20:37:48 +00:00
Erik Nordin
87bb12143c Bug 1731179 - Remove browser-doctype.inc from browser.xhtml r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D125913
2021-09-17 18:24:53 +00:00
Niklas Baumgardner
6b2ff3d34a Bug 1635553 - Migrate navigator-toolbox to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125222
2021-09-15 19:31:56 +00:00
Butkovits Atila
b7b9016986 Backed out changeset b9b49ff4fca0 (bug 1635553) for causing failures complaining about menupopup. CLOSED TREE 2021-09-15 21:43:25 +03:00
Niklas Baumgardner
80e804150b Bug 1635553 - Migrate navigator-toolbox to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125222
2021-09-15 16:21:09 +00:00
Katherine Patenio
25a76b9440 Bug 1609558 - Migrate panelUI.inc.xhtml to Fluent. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D123837
2021-08-30 17:58:08 +00:00
Drew Willcoxon
01602c92b9 Bug 1709511 - Add a preview Fluent file for Firefox Suggest. r=harry,fluent-reviewers,preferences-reviewers,flod
This adds preview localizations for remaining Firefox Suggest strings.

I removed support for `payload.helpTitle` and `sponsoredText`. The `helpTitle`
code comment says it's useful for experiments with hardcoded strings, but we're
not shipping experiments as extensions anymore, and in-tree experimental/
in-development features should use preview localizations AFAICT.

Covered by existing tests:

* browser/components/urlbar/tests/browser/browser_helpUrl.js
* browser/components/urlbar/tests/browser/browser_quickSuggest*
* browser/components/preferences/tests/browser_searchQuickSuggest.js

Depends on D122550

Differential Revision: https://phabricator.services.mozilla.com/D123032
2021-08-23 19:47:16 +00:00
Emma Malysz
f7a95f14fb Bug 1721215, lazily load screenshots subscript r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120642
2021-07-22 17:10:42 +00:00
Alexandru Michis
ea1c530b9f Backed out changeset 04cfc5a3587f (bug 1721215) for causing eslint failures in screenshots.js
CLOSED TREE
2021-07-20 19:37:27 +03:00
Emma Malysz
6025f76adc Bug 1721215, lazily load screenshots subscript r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120255
2021-07-20 15:53:32 +00:00
Kajal Sah
2bf658dd41 Bug 1718713 - Creates dummy custom element in new screenshot. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119209
2021-07-19 16:47:34 +00:00
Sandor Molnar
e1f7148a90 Backed out 2 changesets (bug 1717486, bug 1718713) for causng eslint failures. CLOSED TREE
Backed out changeset 57c50b132961 (bug 1718713)
Backed out changeset 00b064dbf950 (bug 1717486)
2021-07-15 22:07:54 +03:00
Kajal Sah
ddbe972bac Bug 1718713 - Creates dummy custom element in new screenshot. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119209
2021-07-15 18:40:43 +00:00
Doug Thayer
44b5033186 Bug 1714442 - Split browser.xhtml into multiple files r=mossop
This patch brings in some work from pine, which will lessen the merge
difficulties later on.

Differential Revision: https://phabricator.services.mozilla.com/D116774
2021-06-04 19:13:15 +00:00
Neil Deakin
0b4418c6a7 Bug 1696214, use moveToAnchor to position the tab and places tooltips so that the close and mute button tooltips appear correctly, r=jaws
This involves changing moveToAnchor to be allowed while the popup is showing. This change allows the buttons within the tab to use the normal algorithm for determining the tooltip position. This also fixes bug 1695900 so that tooltips for items in bookmarks menus also appear offset as well. Only the main tab and bookmarks on the toolbar appear aligned with the button's bottom edge.

Differential Revision: https://phabricator.services.mozilla.com/D115558
2021-05-31 13:07:35 +00:00