Commit graph

827 commits

Author SHA1 Message Date
Yi Xiong Wong
87a29d2ac8 Bug 1880914 - Move view source functions. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D206198
2024-04-08 17:21:01 +00:00
Erik Nordin
1713c91f62 Bug 1878721 - Open SelectTranslationsPanel at Context Menu r=translations-reviewers,gregtatum
Opens the SelectTranslationsPanel at the location of the context menu
from which the open event was invoked, rather than opening at the
Application Menu always.

Differential Revision: https://phabricator.services.mozilla.com/D205731
2024-04-06 02:07:31 +00:00
Erik Nordin
07c63ba137 Bug 1870316 - SelectTranslationsPanel Translate on open r=translations-reviewers,fluent-reviewers,bolsson,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D204978
2024-04-06 02:07:28 +00:00
Erik Nordin
546771f245 Bug 1870316 - Refactor getTranslationsActor r=translations-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D204973
2024-04-06 02:07:26 +00:00
Dave Townsend
95ccf713ef Bug 1864896: Autofix unused function arguments (browser/base/content). r=Gijs,application-update-reviewers,tabbrowser-reviewers,places-reviewers,bytesized,dao
Differential Revision: https://phabricator.services.mozilla.com/D202949
2024-03-19 14:59:20 +00:00
Calixte
f9c21feb32 Bug 1867739 - Add an entry in the context menu in order to be able to highlight the selected text in a pdf r=Gijs,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D202335
2024-03-12 16:53:50 +00:00
Mark Banner
9fe8bde13c Bug 1884623 - Update more jsm references in production code and docs in browser/. r=mossop,extension-reviewers,omc-reviewers,migration-reviewers,robwu,mconley,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D204182
2024-03-11 15:26:28 +00:00
Natalia Csoregi
d54b26b28c Backed out changeset f319d88c8aad (bug 1867739) for causing failures on browser_pdfjs_editing_contextmenu.js CLOSED TREE 2024-03-11 13:56:21 +02:00
Calixte
a6291cbfce Bug 1867739 - Add an entry in the context menu in order to be able to highlight the selected text in a pdf r=Gijs,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D202335
2024-03-11 11:23:07 +00:00
Sergey Galich
3de8f5dc53 Bug 1864896: Polishing autofix of unused function arguments (credential management). r=credential-management-reviewers,dimi
Depends on D202958

Differential Revision: https://phabricator.services.mozilla.com/D203314
2024-03-05 00:08:04 +00:00
Erik Nordin
1178328f4b Bug 1870327 - Populate Select Translations Panel menulists r=translations-reviewers,gregtatum
Implements the logic to determine which from-language
and which to-language should be automatically selected
when the SelectTranslationsPanel is opened, based on the
context in which it was opened.

Depends on D201282

Differential Revision: https://phabricator.services.mozilla.com/D201283
2024-02-23 21:30:39 +00:00
Gregory Pappas
6d4dbd8b79 Bug 1708289 - Implement AllowFileSelectionDialogs policy r=fluent-reviewers,mkaply,emilio,Gijs,bolsson,win-reviewers,rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D199328
2024-02-01 00:48:24 +00:00
Erik Nordin
f8122389ec Bug 1871642 - Disallow Select Translations when Full Page Translations is active r=translations-reviewers,gregtatum
Ensures that the Select Translations context menu item
will not appear while Full Page Translations is active,
even in situations where it would otherwise be expected
to appear. Select Translations is not available on top
of Full Page Translations.

Depends on D197226

Differential Revision: https://phabricator.services.mozilla.com/D197227
2024-01-05 18:50:15 +00:00
Erik Nordin
9bed554614 Bug 1870306 - Enable Select Translations context menu item for hyperlinked text r=translations-reviewers,fluent-reviewers,bolsson,gregtatum
Adds the functionality for the Select Translations
context menu item to appear when a hyperlink is clicked
even if no text is selected. Selected text takes precedence
if a link is clicked while there is also an active selection.

Depends on D197225

Differential Revision: https://phabricator.services.mozilla.com/D197226
2024-01-05 18:50:14 +00:00
Erik Nordin
a9937472c5 Bug 1870305 - Show Select Translations context menu item when text is selected r=translations-reviewers,fluent-reviewers,bolsson,gregtatum
Ensures that the Select Translations context menu
item only appears when there is actively selected text
at the time the context menu is invoked.

Depends on D197224

Differential Revision: https://phabricator.services.mozilla.com/D197225
2024-01-05 18:50:14 +00:00
Erik Nordin
bd6bcc5071 Bug 1870305 - Add Select Translations context menu item r=translations-reviewers,fluent-reviewers,bolsson,gregtatum
Adds the Select Translations context menu item
to the right-click context menu with an initial
localized label value.

Depends on D197223

Differential Revision: https://phabricator.services.mozilla.com/D197224
2024-01-05 18:50:13 +00:00
Erik Nordin
b3825e67b6 Bug 1870305 - Rename textSelected to selectedText in nsContextMenu.js r=translations-reviewers,gregtatum
Renames the data member textSelected to selectedText.
I think textSelected sounds more like a boolean, rather
than a string, and I think selectedText is a better name.

Depends on D197222

Differential Revision: https://phabricator.services.mozilla.com/D197223
2024-01-05 18:50:13 +00:00
Johannes J. Schmidt
07bffda954 Bug 1867024 - Update String for Context Menu - Username and password fields - r=credential-management-reviewers,fluent-reviewers,kpatenio,bolsson,issammani
Differential Revision: https://phabricator.services.mozilla.com/D195257
2023-12-11 11:47:14 +00:00
Abhishek Madan
f424e10c33 Bug 1864931 - Added check to see if a webpage is internal for strip on share. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D195035
2023-12-07 20:16:05 +00:00
Abhishek Madan
64579a2665 Bug 1853998 - Updated UI to always show Copy without Site Tracking. r=pbz,anti-tracking-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188626
2023-10-19 15:05:04 +00:00
Norisz Fay
22f134f82e Backed out 2 changesets (bug 1853998, bug 1842581) for causing bc failures on browser_contextmenu.js
Backed out changeset ecb00efc209a (bug 1842581)
Backed out changeset 9c4eed63d7c0 (bug 1853998)
2023-10-17 19:02:06 +03:00
Abhishek Madan
ee0f226e60 Bug 1853998 - Updated UI to always show Copy without Site Tracking. r=pbz,anti-tracking-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188626
2023-10-17 14:16:07 +00:00
Butkovits Atila
72ec7a68f3 Backed out 2 changesets (bug 1853998, bug 1842581) for causing failures at browser_strip_on_share_link.js. CLOSED TREE
Backed out changeset 666a5cee0716 (bug 1842581)
Backed out changeset 0c698bf2cec5 (bug 1853998)
2023-10-12 08:35:28 +03:00
Abhishek Madan
ddb26a4de3 Bug 1853998 - Updated UI to always show Copy without Site Tracking. r=pbz,anti-tracking-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188626
2023-10-12 01:27:47 +00:00
Mathew Hodson
21cd613492 Bug 1564391 - Rename internal uses of mozInputSource. r=emilio,pip-reviewers,tabbrowser-reviewers,dao,kpatenio
This allows us to deprecate `mozInputSource` for the Web while
avoiding console warnings for internal uses, which now use the
ChromeOnly `inputSource` attribute.

Differential Revision: https://phabricator.services.mozilla.com/D183643
2023-07-26 09:27:45 +00:00
Sergey Galich
e3ebc963e3 Bug 1845165 - stopping polluting logs on right clicks at about: pages r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D184411
2023-07-24 20:41:28 +00:00
Itiel
cf26dda371 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-14 17:16:39 +00:00
Iulian Moraru
1a03d0ff0d Backed out changeset 76c5afdda762 (bug 1830679) for causing xpcshell failures on test_VariablesView_filtering-without-controller.js. CLOSED TREE 2023-06-12 22:03:43 +03:00
Itiel
d6ff8a9975 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-12 17:16:35 +00:00
Saira Abdulla
9691ab4a5f Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
Depends on D175553

Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Iulian Moraru
90b739a400 Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00
Saira Abdulla
2e8db5969a Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
Depends on D175553

Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 10:21:37 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Iulian Moraru
170aaf5bb7 Backed out changeset bbb3bbd9b6af (bug 1830679) for causing dt failures on browser_storage_cache_delete.js. CLOSED TREE 2023-05-18 22:09:25 +03:00
Itiel
076aaf6671 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-05-18 17:19:45 +00:00
Gregory Pappas
ccb2019c59 Bug 1833059 - Remove unreachable plugin click-to-play context menu items r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D177978
2023-05-15 15:56:45 +00:00
Norisz Fay
3f868b2c0b Backed out changeset 551a42f9309b (bug 1833059) for causing bc failures on browser_contextmenu.js CLOSED TREE 2023-05-15 14:33:29 +03:00
Gregory Pappas
101c61ea91 Bug 1833059 - Remove unreachable plugin click-to-play context menu items r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D177978
2023-05-15 10:11:52 +00:00
Hannah Peuckmann
d8d71eb576 Bug 1823337 - Strip url when copying in-content links.r=pbz,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D174253
2023-05-11 14:14:41 +00:00
Sergey Galich
470a8fec63 Bug 1825115 - Add "Use Relay email mask" to the context menu on <input type=email> r=groovecoder,credential-management-reviewers,flod,issammani
Differential Revision: https://phabricator.services.mozilla.com/D174361
2023-04-21 03:27:58 +00:00
Ebilite Uchenna
8c931cb313 Bug 1824611 - Convert consumers of toolkit/components/passwordmgr to import ES modules directly. r=Standard8,credential-management-reviewers,settings-reviewers,fxview-reviewers,sclements,sgalich,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D174446
2023-04-11 19:06:24 +00:00
Niklas Baumgardner
c057486ca0 Bug 1801019 - Add telemetry for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D164948
2023-02-25 17:26:34 +00:00
Gijs Kruitbosch
8ab15d379d Bug 1817341 - determine private state for saving links and media in the parent instead of the child, r=cmkm
Differential Revision: https://phabricator.services.mozilla.com/D170139
2023-02-24 22:52:20 +00:00
Marian-Vasile Laza
5a3faecdb0 Backed out changeset d853ddfd853e (bug 1801019) for bc failures on browser_screenshots_telemetry_tests.js. CLOSED TREE 2023-02-23 21:11:16 +02:00
Niklas Baumgardner
26e4c6bc8a Bug 1801019 - Add telemetry for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D164948
2023-02-23 17:37:01 +00:00
Butkovits Atila
f8a9ce74db Backed out changeset aaf82d1483ad (bug 1801019) for causing failures at browser_screenshots_telemetry_tests.js. CLOSED TREE 2023-02-21 23:04:05 +02:00
Niklas Baumgardner
ab7aa855c8 Bug 1801019 - Add telemetry for screenshots component. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D164948
2023-02-21 19:59:09 +00:00
Neil Deakin
1d2e8169a6 Bug 1808918, use Untitled as the default filename when saving a file rather than index, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D167028
2023-01-23 14:53:21 +00:00
Gregory Pappas
94decf4625 Bug 1808117 - Replace Cu.reportError calls with console.error in nsContextMenu r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D165765
2023-01-04 10:51:50 +00:00