Commit Graph

1225 Commits

Author SHA1 Message Date
James Teow
cbce85c154 Bug 1915856 - Enable region restrictions for SERP categorization - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D220911
2024-09-18 13:58:35 +00:00
Mark Banner
3a3d0b8465 Bug 1917530 - Fix some ESLint no-shadow issues in misc code. r=frontend-codestyle-reviewers,perftest-reviewers,translations-reviewers,omc-reviewers,migration-reviewers,webcompat-reviewers,urlbar-reviewers,dao,twisniewski,sparky,mconley,emcminn,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221443
2024-09-12 21:08:44 +00:00
Sandor Molnar
6a28b1e440 Backed out 8 changesets (bug 1917532, bug 1575506, bug 1917530) for causing node newtab failures CLOSED TREE
Backed out changeset 8d6f7bc74d08 (bug 1917532)
Backed out changeset 7c963e72cf06 (bug 1575506)
Backed out changeset d5e110187781 (bug 1917530)
Backed out changeset 1d2325ffded6 (bug 1917530)
Backed out changeset 8a361e37e32c (bug 1917530)
Backed out changeset c4011d92c7f7 (bug 1917530)
Backed out changeset 1a45047dfb3c (bug 1917530)
Backed out changeset ed6b35444c45 (bug 1917530)
2024-09-12 20:45:28 +03:00
Mark Banner
d86856155e Bug 1917530 - Fix some ESLint no-shadow issues in misc code. r=frontend-codestyle-reviewers,perftest-reviewers,translations-reviewers,omc-reviewers,migration-reviewers,webcompat-reviewers,urlbar-reviewers,dao,twisniewski,sparky,mconley,emcminn,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221443
2024-09-12 16:41:58 +00:00
Yazan Al Macki
24072971dd Bug 1917292 - Remove redundant canUseForTab from icon data payload and replace with not isRichIcon. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D221339
2024-09-10 14:33:32 +00:00
Yazan Al Macki
410ea98758 Bug 1772264 - Part 2: Identifying a rich icon and passing down the info - r=mak
Differential Revision: https://phabricator.services.mozilla.com/D217109
2024-09-04 08:38:10 +00:00
Noemi Erli
c0c60b1274 Backed out changeset 10ac3f66133d (bug 1896232) for causing bug 1915806 CLOSED TREE 2024-08-30 16:33:37 +03:00
Niklas Baumgardner
8765064061 Bug 1896232 - Wait for screenshot to download before closing overlay. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D216083
2024-08-29 03:21:44 +00:00
Florian Quèze
4becb062ca Bug 1915228 - Remove expired telemetry scalar pictureinpicture.opened_method, r=chutten.
Depends on D220237

Differential Revision: https://phabricator.services.mozilla.com/D220314
2024-08-28 19:44:27 +00:00
Iulian Moraru
86609d57f1 Backed out 2 changesets (bug 1908205, bug 1896232) for causing bc assertion failures on nsUrlClassifierDBService.cpp. CLOSED TREE
Backed out changeset 859b4c639883 (bug 1908205)
Backed out changeset 519e88d21955 (bug 1896232)
2024-08-22 22:20:42 +03:00
Niklas Baumgardner
8ffd9717b8 Bug 1896232 - Wait for screenshot to download before closing overlay. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D216083
2024-08-22 18:36:48 +00:00
Florian Quèze
4c8e00605d Bug 1913624 - Remove expired telemetry histograms PERMISSION_REQUEST_ORIGIN_SCHEME and PERMISSION_REQUEST_HANDLING_USER_INPUT, r=chutten,firefox-desktop-core-reviewers .
Depends on D219437

Differential Revision: https://phabricator.services.mozilla.com/D219438
2024-08-20 10:26:50 +00:00
Jan-Niklas Jaeschke
81eef3ca60 Bug 1911339 - Text Fragments: Preserve user activation when opening a link in a new tab or window. r=dom-core,tabbrowser-reviewers,dao,farre
Differential Revision: https://phabricator.services.mozilla.com/D218655
2024-08-20 08:47:49 +00:00
Narcis Beleuzu
4c8a2afa38 Backed out 2 changesets (bug 1908205, bug 1896232) for causing mochitests failures . CLOSED TREE
Backed out changeset 873bbe70aa8c (bug 1908205)
Backed out changeset 0385fdac5693 (bug 1896232)
2024-08-19 19:04:38 +03:00
Niklas Baumgardner
0d4a517ee1 Bug 1896232 - Wait for screenshot to download before closing overlay. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D216083
2024-08-19 14:40:42 +00:00
James Teow
8f62636f66 Bug 1909979 - Add ad_popover to components found on SERPs and add the ability to ignore sponsored links - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D217999
2024-08-07 18:30:19 +00:00
Daisuke Akatsuka
3c9b3372cc Bug 1910338: Only store favicons having data URL r=mak
Differential Revision: https://phabricator.services.mozilla.com/D218040
2024-08-06 21:36:19 +00:00
Mark Banner
ff161e617c Bug 1911729 - Move openContextMenu from the browser window to ContextMenuParent.sys.mjs. r=firefox-desktop-core-reviewers ,dao
Differential Revision: https://phabricator.services.mozilla.com/D218617
2024-08-06 14:25:30 +00:00
Jan-Ivar Bruaroey
9f11d7ee02 Bug 1609427 - Persist SitePermissions.PROMPT for cam/mic when ☐ Remember this decision is unchecked. r=pbz,mt
Differential Revision: https://phabricator.services.mozilla.com/D183066
2024-08-06 13:53:20 +00:00
Niklas Baumgardner
cb47677536 Bug 1894516 - Make screenshots face focusable via the keyboard. r=sfoster,desktop-theme-reviewers,fluent-reviewers,bolsson,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D213100
2024-07-29 16:59:14 +00:00
Norisz Fay
e0f5a39b7b Backed out changeset 41d7f0b670ae (bug 1894516) for causing bc failures on browser_screenshots_focus_test.js CLOSED TREE 2024-07-25 23:50:34 +03:00
Niklas Baumgardner
215d98de56 Bug 1894516 - Make screenshots face focusable via the keyboard. r=sfoster,desktop-theme-reviewers,fluent-reviewers,bolsson,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D213100
2024-07-25 14:32:27 +00:00
Mark Banner
259b5fe656 Bug 1909201 - Stop trying to handle messages in ContentSearchParent when the associated browser has been removed. r=search-reviewers,jteow
Differential Revision: https://phabricator.services.mozilla.com/D217264
2024-07-22 16:33:23 +00:00
James Teow
b13d4d952b Bug 1907097 - Add telemetry for when ads_blocked are counted - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D216208
2024-07-16 07:16:42 +00:00
James Teow
628fb4e82e Bug 1906945 - Switch to using checkVisibility in child process - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D216082
2024-07-10 19:51:16 +00:00
James Teow
86867f4ca8 Bug 1905095 - Loosen the heuristic for ads_visible - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D215283
2024-07-08 14:57:13 +00:00
Niklas Baumgardner
a6770d4f73 Bug 1905468 - Prevent some more mouse events from reaching the content page. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D215515
2024-07-08 14:41:02 +00:00
Yazan Al Macki
d55f12c70b Bug 1902323 - Ensure mimetype info is passed when creating new blobs in order to correctly render application provided search engine icons if they are svg based. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D213671
2024-06-20 15:55:42 +00:00
Andreas Farre
e548ff16d6 Bug 1886222 - Start reload by calling reload in the parent. r=Gijs,canadahonk,smaug
Differential Revision: https://phabricator.services.mozilla.com/D211519
2024-06-19 05:49:45 +00:00
Greg Stoll
6f8ac18b15 Bug 1754759 - remove modal state from tab when moving to new window r=tabbrowser-reviewers,pbz,mak
Differential Revision: https://phabricator.services.mozilla.com/D213156
2024-06-14 11:33:28 +00:00
Henrik Skupin
a8b43da1b3 Bug 1901489 - [browser] Return promptType in DOMModalDialogClosed event details. r=Gijs,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D213074
2024-06-14 09:26:44 +00:00
Sandor Molnar
0cfc9f0d0b Backed out changeset 5dd7e419a011 (bug 1886222) for causing perma bc failures CLOSED TREE 2024-05-28 13:44:54 +03:00
Andreas Farre
3331e68b44 Bug 1886222 - Start reload by calling reload in the parent. r=Gijs,canadahonk
Differential Revision: https://phabricator.services.mozilla.com/D211519
2024-05-28 07:36:22 +00:00
Niklas Baumgardner
82745ae4d2 Bug 1897371 - Handle selectionchange events in screenshots overlay.r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D210813
2024-05-27 16:38:53 +00:00
Niklas Baumgardner
da75251680 Bug 1890721 - Prevent events from reaching the content page. r=sfoster,smaug
Differential Revision: https://phabricator.services.mozilla.com/D207749
2024-05-15 20:17:21 +00:00
Sandor Molnar
907f5bc3c9 Backed out changeset cc14c4f9f46e (bug 1890721) for causing bc failures @ browser/components/screenshots/tests/browser/browser_screenshots_page_unload.js CLOSED TREE 2024-05-15 21:03:34 +03:00
Niklas Baumgardner
3a74a799bd Bug 1890721 - Prevent events from reaching the content page. r=sfoster,smaug
Differential Revision: https://phabricator.services.mozilla.com/D207749
2024-05-15 13:45:25 +00:00
abhishekmadan30
18273683a5 Bug 1142123 - Updated strings for checkbox for Camera and Microphone popup notifications. r=pbz,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D210221
2024-05-14 18:22:37 +00:00
Leeya
ff029afb05 Bug 1742889 - Rewrite consumers of whereToOpenLink to use BrowserUtils.whereToOpenLink. r=Gijs,search-reviewers,places-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,reusable-components-reviewers,hjones,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D208680
2024-05-08 14:33:17 +00:00
Niklas Baumgardner
6eb9b2d8f2 Bug 1893680 - Offset screenshots overlay when scrollMin is negative. r=sfoster,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D208769
2024-05-04 19:41:59 +00:00
Niklas Baumgardner
49219fbed3 Bug 1801957 - Create region with keyboard for screenshots. r=sfoster,firefox-desktop-core-reviewers ,accessibility-frontend-reviewers,Gijs,morgan
The problem I'm trying to solve: There is currently no way to create a selected region in the screenshots overlay with the keyboard.
I recently added support for resizing a selected region in bug 1801954, but a user still needs to create a region with the mouse before the keyboard can be used.

I tried to look at what other browsers are doing in this scenario. Unfortunately there isn't much to go off. Most browsers, I can't even take a screenshot and the only browser that I found to have keyboard support for screenshots is MS Edge. In Edge, when you open screenshots, if your mouse isn't over the content area it will immediately move your mouse to the center of the page. If your mouse is over the content, it remains in place. Then, arrow keys will move the cursor around and you can hit space/enter to start creating a region.

I didn't like that Edge moved the mouse immediately after opening screenshots so I took a different approach.

My approach:
Screenshots will not move the mouse until an arrow key is pressed.
How it works:
If your cursor is above the content and an arrow key is pressed, the cursor will move in the direction of the arrow key that was pressed.
If your cursor is not above the content and a arrow key is pressed, the cursor will be moved to the middle of the content. Screenshots will not move the cursor until an arrow key is pressed.

When moving around the overlay with the keyboard: only hitting an arrow key will move the cursor around by 1px. If shift + arrow key, the cursor will move around by 10px.
When space is clicked while moving the cursor, it will start a region. Moving the arrow keys allows the region to sized.
When the cursor is above an element and the hover element rect is visible, hitting enter will select that region. If no hover element region exists, enter will behave the same as space.

I am also keeping the screenshots UI focused in this patch. Tab/shift + tab will keep focus to screenshots UI. Shift + F6 will escape the focus loop I've made in this patch if needed. Although, if a user has entered screenshots, it makes sense that for the current time, only screenshots UI is focusable.

Differential Revision: https://phabricator.services.mozilla.com/D197703
2024-05-03 22:05:52 +00:00
Stanca Serban
15a89ebab2 Backed out changeset ede7a0b15af0 (bug 1742889) for causing node tests failures. CLOSED TREE 2024-05-03 23:12:24 +03:00
Leeya
88daa6a600 Bug 1742889 - Rewrite consumers of whereToOpenLink to use BrowserUtils.whereToOpenLink. r=Gijs,search-reviewers,places-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,reusable-components-reviewers,hjones,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D208680
2024-05-03 19:05:59 +00:00
Cristian Tuns
f388d3e51f Backed out changeset 91e7087aef18 (bug 1801957) for causing bc failures in browser_keyboard_tests.js CLOSED TREE 2024-05-02 12:14:10 -04:00
Niklas Baumgardner
83b479b588 Bug 1801957 - Create region with keyboard for screenshots. r=sfoster,firefox-desktop-core-reviewers ,accessibility-frontend-reviewers,Gijs,morgan
The problem I'm trying to solve: There is currently no way to create a selected region in the screenshots overlay with the keyboard.
I recently added support for resizing a selected region in bug 1801954, but a user still needs to create a region with the mouse before the keyboard can be used.

I tried to look at what other browsers are doing in this scenario. Unfortunately there isn't much to go off. Most browsers, I can't even take a screenshot and the only browser that I found to have keyboard support for screenshots is MS Edge. In Edge, when you open screenshots, if your mouse isn't over the content area it will immediately move your mouse to the center of the page. If your mouse is over the content, it remains in place. Then, arrow keys will move the cursor around and you can hit space/enter to start creating a region.

I didn't like that Edge moved the mouse immediately after opening screenshots so I took a different approach.

My approach:
Screenshots will not move the mouse until an arrow key is pressed.
How it works:
If your cursor is above the content and an arrow key is pressed, the cursor will move in the direction of the arrow key that was pressed.
If your cursor is not above the content and a arrow key is pressed, the cursor will be moved to the middle of the content. Screenshots will not move the cursor until an arrow key is pressed.

When moving around the overlay with the keyboard: only hitting an arrow key will move the cursor around by 1px. If shift + arrow key, the cursor will move around by 10px.
When space is clicked while moving the cursor, it will start a region. Moving the arrow keys allows the region to sized.
When the cursor is above an element and the hover element rect is visible, hitting enter will select that region. If no hover element region exists, enter will behave the same as space.

I am also keeping the screenshots UI focused in this patch. Tab/shift + tab will keep focus to screenshots UI. Shift + F6 will escape the focus loop I've made in this patch if needed. Although, if a user has entered screenshots, it makes sense that for the current time, only screenshots UI is focusable.

Differential Revision: https://phabricator.services.mozilla.com/D197703
2024-05-02 15:34:39 +00:00
James Teow
e9b9a5408b Bug 1851907 - Remove SERP Telemetry v1 feature gating pref - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D207947
2024-05-01 17:41:04 +00:00
Rob Wu
b8fdc6491d Bug 1478596 - Add test-only logging to debug "doc is null" error in ContextMenuChild r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D207963
2024-04-19 18:45:52 +00:00
Niklas Baumgardner
2d0c9cc18c Bug 1887093 - Remember text selection regions during screenshots interactions. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D206696
2024-04-17 19:49:50 +00:00
Stephanie Cunnane
0f6c6ec3b1 Bug 1887943 - Refine textContent domain extraction method. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D205928
2024-04-02 16:08:19 +00:00
Gijs Kruitbosch
999878b497 Bug 1705440 - remove old modal prompt implementation, r=mconley,webdriver-reviewers,extension-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,whimboo,rpl
Differential Revision: https://phabricator.services.mozilla.com/D204759
2024-03-20 17:47:47 +00:00