Commit Graph

471 Commits

Author SHA1 Message Date
Benjamin VanderSloot
d8fc742093 Bug 1826060 - Expose FedCM copy to localization r=anti-tracking-reviewers,fluent-reviewers,flod,timhuang
Address comments from Nick

Differential Revision: https://phabricator.services.mozilla.com/D178443
2023-06-07 12:52:38 +00:00
Narcis Beleuzu
b7a7c0cea0 Backed out changeset 8a5e6b282c10 (bug 1826060) for multiple failures to tabbrowser.js . CLOSED TREE 2023-06-06 18:56:30 +03:00
Benjamin VanderSloot
1d63c49cca Bug 1826060 - Expose FedCM copy to localization r=anti-tracking-reviewers,fluent-reviewers,flod,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D178443
2023-06-06 14:39:22 +00:00
Greg Tatum
bd594a17f3 Bug 1821038 - Expose the translations.ftl file to localization; r=nordzilla,fluent-reviewers,flod
Note that this does not expose the about:translations localization file
since that is a developer-focused view that's not ready or planned for
general usage.

Differential Revision: https://phabricator.services.mozilla.com/D179360
2023-05-29 19:19:55 +00:00
Stanca Serban
e8e8ffbc64 Backed out 9 changesets (bug 1831963, bug 1821038) for causing mochitests failures in browser_preferences_usage.js. CLOSED TREE
Backed out changeset 8e03224a019c (bug 1821038)
Backed out changeset 2b8bba99a0df (bug 1831963)
Backed out changeset 44cd611f57ce (bug 1831963)
Backed out changeset 5b15a7632c91 (bug 1831963)
Backed out changeset 522ef5669a6b (bug 1831963)
Backed out changeset f730091705fd (bug 1831963)
Backed out changeset 493c07c8a519 (bug 1831963)
Backed out changeset c4811197740c (bug 1831963)
Backed out changeset baaaaff4b660 (bug 1831963)
2023-05-29 21:32:21 +03:00
Greg Tatum
cc5911885c Bug 1821038 - Expose the translations.ftl file to localization; r=nordzilla,fluent-reviewers,flod
Note that this does not expose the about:translations localization file
since that is a developer-focused view that's not ready or planned for
general usage.

Differential Revision: https://phabricator.services.mozilla.com/D179360
2023-05-29 15:04:39 +00:00
Hannah Peuckmann
f8ce125f0a Bug 1823338 - Strip url when copying from url bar.r=pbz,flod,adw
Differential Revision: https://phabricator.services.mozilla.com/D174251
2023-05-11 14:14:41 +00:00
Greg Tatum
f97f548dd3 Bug 1826437 - Implement the full page translations panel; r=nordzilla,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D174682
2023-04-12 16:13:24 +00:00
Francesco Lodolo (:flod)
1dfecb77f0 Bug 1826755 - Move Firefox account Fluent term to toolkit, r=fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,mconley,sclements,sgalich,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D175097
2023-04-12 15:51:42 +00:00
Greg Tatum
b03d53626b Bug 1820229 - Stub out a button in the URL bar for translations; r=nordzilla,desktop-theme-reviewers,flod,Itiel
This code is untested since it's stubbing out functionality, which will
eventually use PageActions to open up a popup. The final code with the
popup will get tested, but for now rely on the existing test behavior,
without asserting new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173196
2023-03-24 18:27:30 +00:00
Butkovits Atila
020306bd49 Backed out 12 changesets (bug 1813781, bug 1815343, bug 1820229, bug 1823925, bug 1813779, bug 1823702) for causing failures at browser_full_page.js. CLOSED TREE
Backed out changeset 841d7b8b856b (bug 1823925)
Backed out changeset a62d77bfac0b (bug 1823925)
Backed out changeset 2590940e3b67 (bug 1815343)
Backed out changeset 807a38bb5ad4 (bug 1813781)
Backed out changeset b1d2cbba17a2 (bug 1813781)
Backed out changeset e83c3f386ef1 (bug 1813781)
Backed out changeset 18cf612336be (bug 1820229)
Backed out changeset d3ae326dcdf7 (bug 1820229)
Backed out changeset 793ba36c54b5 (bug 1813779)
Backed out changeset bbf9177668dc (bug 1823702)
Backed out changeset 1cc80a5cbcdb (bug 1823702)
Backed out changeset 22a87b7171d4 (bug 1823702)
2023-03-24 06:36:15 +02:00
Greg Tatum
e77bf2ce5f Bug 1820229 - Stub out a button in the URL bar for translations; r=nordzilla,desktop-theme-reviewers,flod,Itiel
This code is untested since it's stubbing out functionality, which will
eventually use PageActions to open up a popup. The final code with the
popup will get tested, but for now rely on the existing test behavior,
without asserting new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173196
2023-03-23 22:00:36 +00:00
Francesco Lodolo (:flod)
fa28bcb157 Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D172643
2023-03-15 17:00:48 +00:00
Emilio Cobos Álvarez
f2a114d310 Bug 1821763 - Restore center alignment for not-in-content dialog. r=Gijs
So I overlooked in the regressing bug that most of the time
.dialogOverlay is a flexbox (in which case we do want center alignment).

It's only for in-content dialogs where it's a grid (and we want the
unset/stretch behavior).

Since the new rule also applies to window-modal-dialog, remove the
unneeded align="" attribute there.

Differential Revision: https://phabricator.services.mozilla.com/D172328
2023-03-13 17:41:00 +00:00
DJ
0a24edca4c Bug 1810052 - update strings for protections panel and expose to localization. r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D168011
2023-02-06 19:09:01 +00:00
Emilio Cobos Álvarez
9673a4cf84 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
8821d0456a 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
d93c65fc11 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
322dfcca33 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
0668c2ff68 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
a10c7530d7 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
76a51e659b 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
113c848c6c 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
77f0749aa7 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
b0e251a324 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
6af1c13f43 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
d40bb4f33c 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)
2405be9e14 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
3d8aa98b41 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
772c40ee48 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
030a4eb213 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
b28f2af150 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
51af54fe65 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
030742706f 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
154874275b 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
6f9040ae80 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
3d38874a02 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
7b2d12b04d 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
d7e35a511b 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
e4a09e1f3f 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
a30935cd88 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
6d6ce3b1d1 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
83b59b248c 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
64175b6c73 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
84e23c5194 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
d4e563138d 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
6aa62ca44e 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
f157e7c832 Backed out changeset ec019c0205a9 (bug 1725430) for causing failures on dbg-toggling-tools.js 2021-09-28 00:42:30 +03:00
Emma Malysz
058eca39a9 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
64df090f34 Backed out changeset ceaaed353b66 (bug 1725430) for assertion failure on ErrorResult.h . CLOSED TREE 2021-09-22 01:09:22 +03:00