Marian-Vasile Laza
ac8ed92c6a
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
4a2f7b7309
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
0cf8d92417
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
3b1f991f19
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
85eaed3782
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
962c68d8ab
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
Gijs Kruitbosch
1113bc0e43
Bug 1475606 - remove loadOneTab and switch its callers over, r=dao,perftest-reviewers,sparky
...
Depends on D165774
Differential Revision: https://phabricator.services.mozilla.com/D165775
2023-01-03 22:24:44 +00:00
Mark Banner
34d6fb8d94
Bug 1806503 - Automatically replace Cu.reportError with console.error (browser/actors, browser/base). r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D165068
2022-12-27 10:08:58 +00:00
Nika Layzell
6687b848c0
Bug 1800149 - Part 1: Stop sending some values from a content process in nsContextMenu, r=Gijs,extension-reviewers,robwu
...
Currently we are sending some values, such as principals, from the content
process when creating a nsContextMenu. This information is already available in
the parent process on WindowGlobalParent, so changes the code to fetch the
values from there instead.
Differential Revision: https://phabricator.services.mozilla.com/D161835
2022-12-13 18:35:18 +00:00
Sandor Molnar
cb53312f62
Backed out 2 changesets (bug 1800149) for causing mochitest failures in browser/base/content/test/referrer/browser_referrer_open_link_in_container_tab2.js CLOSED TREE
...
Backed out changeset 93299d2ad98a (bug 1800149)
Backed out changeset 0873ce3fa677 (bug 1800149)
2022-12-13 04:28:40 +02:00
Nika Layzell
0f0ad22af4
Bug 1800149 - Part 1: Stop sending some values from a content process in nsContextMenu, r=Gijs,extension-reviewers,robwu
...
Currently we are sending some values, such as principals, from the content
process when creating a nsContextMenu. This information is already available in
the parent process on WindowGlobalParent, so changes the code to fetch the
values from there instead.
Differential Revision: https://phabricator.services.mozilla.com/D161835
2022-12-12 23:41:22 +00:00
Nika Layzell
c401277cf6
Bug 1538028 - Part 4: Pass TriggeringRemoteType through the frontend, r=Gijs,emilio
...
Propagate the ability to pass triggeringRemoteType through the desktop frontend
in various places, such that it is set when using the context menu or content
click handler.
Differential Revision: https://phabricator.services.mozilla.com/D161834
2022-11-29 20:41:46 +00:00
Eemeli Aro
e3e6e8927f
Bug 1791178 - Convert nsContextMenu saveHelper() localization to Fluent. r=Gijs,fluent-reviewers,flod
...
These strings are only used from browser, so it doesn't make sense to keep them under toolkit.
Differential Revision: https://phabricator.services.mozilla.com/D158466
2022-11-09 23:32:29 +00:00
BryanMacoy
62558d8fd6
Bug 1790226 - Convert ContextMenu JSM modules to ESMs. r=mconley.
...
Differential Revision: https://phabricator.services.mozilla.com/D157041
2022-10-19 20:21:12 +00:00
Niklas Baumgardner
9559227be6
Bug 1790855 - Enable screenshots button on about pages when screenshots component is enabled. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D157355
2022-10-04 13:23:19 +00:00
Sandor Molnar
9a4a56ad39
Backed out changeset 45ea391514c0 (bug 1790855) for causing bc failures in browser_contextmenu CLOSED TREE
2022-10-04 06:41:48 +03:00
Niklas Baumgardner
f8ddf4dd71
Bug 1790855 - Enable screenshots button on about pages when screenshots component is enabled. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D157355
2022-10-04 02:09:08 +00:00
Sandor Molnar
624e213832
Backed out changeset d8835c4ab04f (bug 1790855) for causing bc failures in browser/components/screenshots/tests/browser/browser_screenshots_test_toggle_pref.js CLOSED TREE
2022-10-04 04:12:42 +03:00
Niklas Baumgardner
cc57189ab5
Bug 1790855 - Enable screenshots button on about pages when screenshots component is enabled. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D157355
2022-10-04 00:03:56 +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
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
Calixte
843cc91c4f
Bug 1790039 - Update pdf.js to new version a274f63d50ebcd25efe4973283ded17fa1428fd4 r=pdfjs-reviewers,marco
...
Differential Revision: https://phabricator.services.mozilla.com/D156975
2022-09-09 19:07:34 +00:00
Greg Tatum
685e2b36d8
Bug 1783261 - Add telemetry text recognition API timing; r=nordzilla
...
Differential Revision: https://phabricator.services.mozilla.com/D154893
2022-08-29 13:30:38 +00:00
Mark Banner
24d0fe0f57
Bug 1786899 - Remove unused BrowserSearch.loadAddEngines and remove formatURL. r=jteow,preferences-reviewers
...
formatURL is only used in one other place - nsContextMenu.js, so we don't really need that when we can call the necessary function direct.
Also moves `searchEnginesURL` into SearchUIUtils, as that seems a reasonable place to start storing things like that.
Differential Revision: https://phabricator.services.mozilla.com/D155496
2022-08-26 07:55:44 +00:00
Greg Tatum
00e9172bc5
Bug 1782981 - Only show the macOS context menu if it is supported; r=nordzilla
...
This code path gets executed by existing tests, and I don't believe
there is a way to execute this behavior using our CI, since it's a macOS
version check.
Differential Revision: https://phabricator.services.mozilla.com/D154172
2022-08-17 15:41:12 +00:00
Daisuke Akatsuka
3b1b2f0270
Bug 1784242: Make opening in new tab by context menu on tile target for inheritance of sponsored session. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154487
2022-08-16 04:38:46 +00:00
Daisuke Akatsuka
3fcf717749
Bug 1784369: Make opening in new window target for inheritance of sponsored sessions. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154483
2022-08-16 00:41:01 +00:00
Norisz Fay
e7039bb6db
Backed out 3 changesets (bug 1784369, bug 1784242) for causing node newtab failures CLOSED TREE
...
Backed out changeset f19a8a76a85b (bug 1784242)
Backed out changeset 0722fc4bb4fa (bug 1784242)
Backed out changeset 2d4131b0ca28 (bug 1784369)
2022-08-16 03:19:32 +03:00
Daisuke Akatsuka
600f62d943
Bug 1784242: Make opening in new tab by context menu on tile target for inheritance of sponsored session. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154487
2022-08-15 23:45:33 +00:00
Daisuke Akatsuka
a42205a33c
Bug 1784369: Make opening in new window target for inheritance of sponsored sessions. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154483
2022-08-15 23:45:32 +00:00
Shane Hughes
509e6cf163
Bug 1783207 - Add ellipsis to some menu label strings. r=flod
...
The copy guidance recommends adding an ellipsis to the end of labels for
controls that require an additional step to complete the action
specified by the label. We have some menuitems and panel buttons that
open a bookmark dialog or the edit bookmark panel that don't have an
ellipsis, so add that. Also, the form "Bookmark this x" has been changed
to "Bookmark x" in menuitems. Also, there's a "Print Selection" menuitem
that needed an ellipsis. Thanks for the review!
Differential Revision: https://phabricator.services.mozilla.com/D154320
2022-08-11 17:48:11 +00:00
Greg Tatum
781360bd91
Bug 1782578 - Build out the text recognition modal r=nordzilla,fluent-reviewers,Jamie,flod
...
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.
I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.
Note that the tests are in the following patch in order to keep the line
count small for this patch.
Differential Revision: https://phabricator.services.mozilla.com/D153396
2022-08-10 19:38:45 +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
dc8d9ecb6c
Bug 1782578 - Build out the text recognition modal r=nordzilla,fluent-reviewers,Jamie,flod
...
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.
I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.
Note that the tests are in the following patch in order to keep the line
count small for this patch.
Differential Revision: https://phabricator.services.mozilla.com/D153396
2022-08-10 16:08:45 +00:00
Gijs Kruitbosch
92c61677a9
Bug 923514 - add plaintext paste (paste without formatting) item to page context menu for richtext / contenteditable inputs, r=bgrins,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D153457
2022-08-08 18:33:45 +00:00
Daisuke Akatsuka
7e4536e9fd
Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-08-01 00:27:50 +00:00
Butkovits Atila
fe05967e94
Backed out 2 changesets (bug 1776609) for causing failures at browser_topsites_annotation.js. CLOSED TREE
...
Backed out changeset cac795fd16d2 (bug 1776609)
Backed out changeset 88ec1cca8540 (bug 1776609)
2022-08-01 00:52:35 +03:00
Daisuke Akatsuka
63fc1e0ed5
Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-07-31 20:26:30 +00:00
Butkovits Atila
efbdfe270f
Backed out 2 changesets (bug 1776609) for causing gtest failures. CLOSED TREE
...
Backed out changeset 7630fea97777 (bug 1776609)
Backed out changeset 426cbe0fac73 (bug 1776609)
2022-07-29 13:42:33 +03:00
Daisuke Akatsuka
e6ed592635
Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-07-29 09:24:28 +00:00
Calixte
588ee9249e
Bug 1777695 - Add some entries in the context menu when editing a PDF r=mconley
...
It adds the entries Undo, Redo, Cut, Copy, Paste, Delete and Select all,
only when the pdf editing mode is enabled.
Differential Revision: https://phabricator.services.mozilla.com/D151122
2022-07-08 08:27:18 +00:00
Emilio Cobos Álvarez
9f2d5720b9
Bug 1372276 - Remove HTML menuitem. r=smaug,mconley,agi
...
This removes HTMLMenuItemElement and all the code and tests preffed off
by dom.menuitem.enabled.
The HTML parser changes are the result of applying the previous patch.
Differential Revision: https://phabricator.services.mozilla.com/D149979
2022-06-22 22:31:42 +00:00
Tom Schuster
214369e07f
Bug 1738694 - Pass around hasValidUserGestureActivation and fromExternal when opening links from the UI or command-line. r=Gijs,edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D147515
2022-06-15 19:01:02 +00:00
Greg Tatum
722d640bc5
Bug 1759504 - Put the text recognition UI behind an experimental feature r=emilio,nordzilla,fluent-reviewers,preferences-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D146829
2022-06-03 16:01:34 +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
dd8f77d8d9
Bug 1759504 - Put the text recognition UI behind an experimental feature r=emilio,nordzilla,fluent-reviewers,preferences-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D146829
2022-06-02 14:31:43 +00: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
Niklas Baumgardner
66c8860916
Bug 1770390 - Check if take screenshot should show on frame. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D147545
2022-06-02 14:30:31 +00:00
Calixte
9eafb7c7a0
Bug 1766030 - Add an optional source URL when saving an URL. r=Gijs
...
In pdf.js, files are saved thanks to a blob but the original URL is lost.
Consequently, the download panel doesn't contain any information about the
origins of a saved pdf.
The saveURL, internalSave and nsITransfer.init functions has now a parameter for this originalURL.
Differential Revision: https://phabricator.services.mozilla.com/D147651
2022-05-31 17:25:29 +00:00