Commit Graph

1243 Commits

Author SHA1 Message Date
Edgar Chen
fab8d0936d Bug 1905851 - Enable dom.block_multiple_popups by default for tests; r=smaug
Some tests only set `dom.disable_open_during_load` to `true` and expect the
popup blocker to be enabled, e.g. https://searchfox.org/mozilla-central/rev/b368ed8b48c0ea8ed2f1948e4776a6fbb5976dff/browser/base/content/test/popups/browser_popup_blocker.js#21,
but it might not have complete popup blocker behavior as we also check `dom.block_multiple_popups`
in https://searchfox.org/mozilla-central/rev/b368ed8b48c0ea8ed2f1948e4776a6fbb5976dff/docshell/base/BrowsingContext.cpp#2246.

I think it would be nice if we could simplify this by having `dom.block_multiple_popups`
enabled on test profile by default as well, so we could use only `dom.disable_open_during_load`
to control whether popup blocker is enabled and also test the popup blocker properly.

Differential Revision: https://phabricator.services.mozilla.com/D216007
2024-10-11 11:45:08 +00:00
Chris H-C
b0893778ce Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D223833
2024-10-08 20:14:42 +00:00
Daisuke Akatsuka
fc16a1663e Bug 1911489: Remove PlacesCompletionCallback r=places-reviewers,mak
Depends on D218737

Differential Revision: https://phabricator.services.mozilla.com/D218738
2024-10-08 02:27:16 +00:00
Daisuke Akatsuka
6b8921c893 Bug 1911489: Make nsIFaviconService.setFaviconForPage() returns Promise r=places-reviewers,migration-reviewers,home-newtab-reviewers,nbarrett,mconley,mak,yazan
Depends on D218511

Differential Revision: https://phabricator.services.mozilla.com/D218737
2024-10-08 02:27:16 +00:00
Sandor Molnar
28496b0baf Backed out 2 changesets (bug 1911489) for causing build bustages @ FaviconHelpers.cpp CLOSED TREE
Backed out changeset 1f24313b74af (bug 1911489)
Backed out changeset 6badc2766d0f (bug 1911489)
2024-10-08 00:22:13 +03:00
Sandor Molnar
fc1cd91320 Backed out 5 changesets (bug 1920562) for causing xpc assertion failures. CLOSED TREE
Backed out changeset 8f085ab589a8 (bug 1920562)
Backed out changeset 4405387ae770 (bug 1920562)
Backed out changeset a68fd13a33ae (bug 1920562)
Backed out changeset cd3672fc08ed (bug 1920562)
Backed out changeset 62ab18879eea (bug 1920562)
2024-10-08 00:16:13 +03:00
Daisuke Akatsuka
2ce021dec9 Bug 1911489: Remove PlacesCompletionCallback r=places-reviewers,mak
Depends on D218737

Differential Revision: https://phabricator.services.mozilla.com/D218738
2024-10-07 19:30:58 +00:00
Daisuke Akatsuka
e8d9b61a28 Bug 1911489: Make nsIFaviconService.setFaviconForPage() returns Promise r=places-reviewers,migration-reviewers,home-newtab-reviewers,nbarrett,mconley,mak,yazan
Depends on D218511

Differential Revision: https://phabricator.services.mozilla.com/D218737
2024-10-07 19:30:57 +00:00
Chris H-C
27ba170e6f Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D223833
2024-10-07 17:29:57 +00:00
Tom Schuster
2517066579 Bug 1912403 - Remove inline click handlers from navigator-toolbox that react to tab navigation. r=pip-reviewers,tabbrowser-reviewers,mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D220817
2024-10-02 07:58:41 +00:00
Florian Quèze
ce72f422e3 Bug 1918702 - Migrate telemetry events to use Glean APIs for security.ui.protections, r=chutten,frontend-codestyle-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D223616
2024-09-27 11:48:58 +00:00
Florian Quèze
9aa79879eb Bug 1918702 - Migrate telemetry events to use Glean APIs for password manager, r=chutten,settings-reviewers,credential-management-reviewers,mossop,mtigley,dimi.
Differential Revision: https://phabricator.services.mozilla.com/D222608
2024-09-25 10:00:41 +00:00
Sandor Molnar
39cae4f44b Backed out 5 changesets (bug 1918702) for causing bc failures @ browser_aaa_eventTelemetry_run_first.js CLOSED TREE
Backed out changeset f55480885aeb (bug 1918702)
Backed out changeset db1eaf09430d (bug 1918702)
Backed out changeset a9179f6e684d (bug 1918702)
Backed out changeset f9d3349e6fe3 (bug 1918702)
Backed out changeset 10d2957bbfe8 (bug 1918702)
2024-09-25 12:38:05 +03:00
Florian Quèze
dba3737cb0 Bug 1918702 - Migrate telemetry events to use Glean APIs for password manager, r=chutten,settings-reviewers,credential-management-reviewers,mossop,mtigley,dimi.
Differential Revision: https://phabricator.services.mozilla.com/D222608
2024-09-25 07:19:05 +00:00
Stephanie Cunnane
0a7cee8778 Bug 1920167 - Add missing .length property in looping logic of 'extractDomainsFromDocument' method. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D222997
2024-09-20 20:24:16 +00:00
Florian Quèze
9e014bf725 Bug 1918702 - Migrate telemetry events to use Glean APIs for screenshots, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D222607
2024-09-20 13:58:19 +00:00
Florian Quèze
ea46ebf2d4 Bug 1918702 - Migrate telemetry events to use Glean APIs for aboutprivatebrowsing, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D222419
2024-09-20 13:58:16 +00:00
Florian Quèze
63c614af60 Bug 1918702 - Migrate telemetry events to use Glean APIs for pictureinpicture, r=chutten,pip-reviewers,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D222409
2024-09-20 13:58:15 +00:00
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