4650 Commits

Author SHA1 Message Date
Norisz Fay
ed87104874 Backed out 6 changesets (bug 1915419) for causing xpcshell failures on test_bounce_tracking_protection.js
Backed out changeset 65896495cce9 (bug 1915419)
Backed out changeset 042d3bc01bdb (bug 1915419)
Backed out changeset 8185b8989a78 (bug 1915419)
Backed out changeset ec3186533ad3 (bug 1915419)
Backed out changeset 0507ac7bb539 (bug 1915419)
Backed out changeset dfde58cea10c (bug 1915419)
2024-09-20 20:50:27 +03:00
Paul Zuehlcke
ad88d3127b Bug 1915419 - Extend deleteDataFromSite to support OriginAttributesPattern filtering. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D220606
2024-09-20 15:46:36 +00:00
Paul Zuehlcke
1b68b5cb25 Bug 1915419 - Refactor deleteDataFromBaseDomain to deleteDataFromSite. r=anti-tracking-reviewers,geckoview-reviewers,owlish,timhuang
- Renames deleteDataFromBaseDomain to deleteDataFromSite.
 - Cleans up terminology for (schemeless site) to better align with standards.
 - deleteDataFromSite requires a schemeless site to be passed in. We will no longer
   implicitly convert the host to a site.
 - Removes the host fallback for SiteDataManager and ForgetAboutSite. The new schemeless site
   helper Services.eTLD.getSchemelessSiteFromHost accounts for this.

Differential Revision: https://phabricator.services.mozilla.com/D220605
2024-09-20 15:46:35 +00:00
Florian Quèze
a04b206140 Bug 1918702 - Migrate telemetry events to use Glean APIs for partner_link, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D222604
2024-09-20 13:58:18 +00:00
Florian Quèze
e061accc4d Bug 1918702 - Migrate telemetry events to use Glean APIs for installation.first_seen, r=chutten,nalexander.
Differential Revision: https://phabricator.services.mozilla.com/D222603
2024-09-20 13:58:17 +00:00
Florian Quèze
96ab8a3106 Bug 1918702 - Migrate telemetry events to use Glean APIs for homepage.preference events, r=chutten,extension-reviewers,robwu.
Differential Revision: https://phabricator.services.mozilla.com/D222167
2024-09-20 13:58:14 +00:00
Florian Quèze
8aee9b101f Bug 1918702 - Migrate telemetry events to use Glean APIs for pictureinpicture.settings, r=chutten,settings-reviewers,pip-reviewers,firefox-desktop-core-reviewers ,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D222128
2024-09-20 13:58:13 +00:00
Butkovits Atila
d779b4bd81 Backed out 12 changesets (bug 1915419) for causing failures at test_bouncetracking_purge.js. CLOSED TREE
Backed out changeset e5c32a502e0f (bug 1915419)
Backed out changeset 8cbcbb25fc99 (bug 1915419)
Backed out changeset 947379a2f167 (bug 1915419)
Backed out changeset 4cfe3a954ade (bug 1915419)
Backed out changeset 94fba1a2786b (bug 1915419)
Backed out changeset 477b4f7c2760 (bug 1915419)
Backed out changeset ed6c8d9d39d4 (bug 1915419)
Backed out changeset e534c390101c (bug 1915419)
Backed out changeset bc3fe74a8b03 (bug 1915419)
Backed out changeset afefdce605f9 (bug 1915419)
Backed out changeset e58887b90d39 (bug 1915419)
Backed out changeset 114298b7b855 (bug 1915419)
2024-09-18 17:49:45 +03:00
Paul Zuehlcke
295ae95b7c Bug 1915419 - Extend deleteDataFromSite to support OriginAttributesPattern filtering. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D220606
2024-09-18 12:50:37 +00:00
Paul Zuehlcke
50221d0ada Bug 1915419 - Refactor deleteDataFromBaseDomain to deleteDataFromSite. r=anti-tracking-reviewers,geckoview-reviewers,owlish,timhuang
- Renames deleteDataFromBaseDomain to deleteDataFromSite.
 - Cleans up terminology for (schemeless site) to better align with standards.
 - deleteDataFromSite requires a schemeless site to be passed in. We will no longer
   implicitly convert the host to a site.
 - Removes the host fallback for SiteDataManager and ForgetAboutSite. The new schemeless site
   helper Services.eTLD.getSchemelessSiteFromHost accounts for this.

Differential Revision: https://phabricator.services.mozilla.com/D220605
2024-09-18 12:50:36 +00:00
Norisz Fay
d2360aaab4 Backed out 12 changesets (bug 1915419) for causing clearDataFromBaseDomain related gv-junit failures CLOSED TREE
Backed out changeset 6baf34e653ef (bug 1915419)
Backed out changeset 3015863afd5d (bug 1915419)
Backed out changeset 90558f317a75 (bug 1915419)
Backed out changeset 5f07cb9268dd (bug 1915419)
Backed out changeset aedba16d4af7 (bug 1915419)
Backed out changeset d9a2d5c2ba53 (bug 1915419)
Backed out changeset 4a250c451004 (bug 1915419)
Backed out changeset c6da2e632da6 (bug 1915419)
Backed out changeset 9256540ed21a (bug 1915419)
Backed out changeset 7621d766d6a4 (bug 1915419)
Backed out changeset 16d6589ba330 (bug 1915419)
Backed out changeset b3eebd764439 (bug 1915419)
2024-09-16 18:29:55 +03:00
Emilio Cobos Álvarez
5e05eb6892 Bug 1918659 - Remove nsIClearDataService.CLEAR_SESSION_HISTORY. r=smaug,pbz,sessionstore-reviewers,sfoster
Other than in one test, we don't use it separate from CLEAR_HISTORY.

They are two different bits because in the past one bit could only have
one cleaner associated to it, but that is no longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D222107
2024-09-16 14:12:21 +00:00
Paul Zuehlcke
05355e1604 Bug 1915419 - Extend deleteDataFromSite to support OriginAttributesPattern filtering. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D220606
2024-09-16 13:25:28 +00:00
Paul Zuehlcke
b5ef9be728 Bug 1915419 - Refactor deleteDataFromBaseDomain to deleteDataFromSite. r=anti-tracking-reviewers,geckoview-reviewers,owlish,timhuang
- Renames deleteDataFromBaseDomain to deleteDataFromSite.
 - Cleans up terminology for (schemeless site) to better align with standards.
 - deleteDataFromSite requires a schemeless site to be passed in. We will no longer
   implicitly convert the host to a site.
 - Removes the host fallback for SiteDataManager and ForgetAboutSite. The new schemeless site
   helper Services.eTLD.getSchemelessSiteFromHost accounts for this.

Differential Revision: https://phabricator.services.mozilla.com/D220605
2024-09-16 13:25:27 +00:00
Mark Banner
aabcf18c26 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
Nick Alexander
4a95cfd465 Bug 1918473 - Add missing awaits to install and uninstall background tasks. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D222007
2024-09-12 18:46:14 +00:00
Sandor Molnar
b59809ee6a 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
e3981e1099 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
Florian Quèze
e78f5e8ed2 Bug 1917838 - Remove expired telemetry event webrtc.ui.share_display, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D221649
2024-09-12 13:42:22 +00:00
Yazan Al Macki
4ba72736ae 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
Paul Zuehlcke
38b09dc22d Bug 1915608 - Update nsIClearDataService call in SiteDataManager to use CLEAR_COOKIES_AND_SITE_DATA flag. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D220560
2024-09-06 16:12:18 +00:00
Luca Greco
4161c2f288 Bug 1915662 - Use the popupnotification learnmore link in webextension permissions dialog. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D220588
2024-09-05 13:26:41 +00:00
Luca Greco
0667275d77 Bug 1915662 - Refactor addon permissions dialog DOM elements manipulations out of ExtensionsUI.sys.mjs. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D218591
2024-09-05 13:26:40 +00:00
Yazan Al Macki
ac70c4c73b 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
Dão Gottwald
ddb9309ce9 Bug 1915599 - Consolidate tabbrowser arrowscrollbox initialization and overflow/overflowing attribute checks. r=extension-reviewers,desktop-theme-reviewers,jswinarton,emilio,robwu
Differential Revision: https://phabricator.services.mozilla.com/D220594
2024-09-04 08:18:46 +00:00
Marco Bonardo
ab7bf983d3 Bug 1902342 - Bookmarks Toolbar empty message flickers with opening new windows. r=daisuke,desktop-theme-reviewers,places-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D220058
2024-09-03 10:06:57 +00:00
isaacylee
cfa004f3c1 Bug 1558149 - Use 'loadFlags' instead of 'flags' for flags eventually passed to 'loadURI' or 'fixupAndLoadURIString' r=Gijs,geckoview-reviewers,tabbrowser-reviewers,dao,owlish
Differential Revision: https://phabricator.services.mozilla.com/D216324
2024-08-31 22:00:59 +00:00
Chris H-C
d394230f7e Bug 1915851 - Skip recording and testing object metric browser.ui.toolbar_widgets in Artefact Builds r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D220705
2024-08-30 13:53:02 +00:00
Chris H-C
70207b0300 Bug 1913362 - Collect UI widget positions in Glean r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D220300
2024-08-29 14:52:07 +00:00
David P
cbefd73d45 Bug 1900225: Part 2 - Inform user of system UX issues initiated by geolocation request r=gstoll,emilio,bolsson,pbz
This patch installs the framework for various platforms to inform the user of
one of two things: 1) a coming system dialog asking for system geolocation
permission that will be presented after the Firefox doorhanger asking for
permission for the page, and 2) that we will open a system preferences window,
where the user can enable geolocation for Firefox because it is currently not
enabled.  The code that handles this has been remoted to the parent process
since implementations will not be able to operate in the content process
sandbox.

Here, it stubs the behavior so this does nothing on every platform.
In this patch series, the behavior will be implemented for Windows.

Note: The code will run the geolocation for the page if the user granted it in
Firefox, regardless of whether the user granted or canceled the system
permission.  This respects the user's instruction and provides a work-around in
the event of a bug, although it would usually either fail to get a location or
it will get a very poor one (e.g. via IP lookup).

Differential Revision: https://phabricator.services.mozilla.com/D216473
2024-08-27 22:47:32 +00:00
Paul Zuehlcke
357607b180 Bug 1754005 - Temporary allow for site permissions. r=permissions-reviewers,nchevobbe,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D219396
2024-08-26 10:05:34 +00:00
Dave Townsend
4730d31595 Bug 1913765: profileGroupId should default to the clientId for existing clients and should reset at the same time. r=chutten
This also changes `removeClientId` to `resetIdentifiers` and actually
generates the new identifiers. Everywhere that currently calls
`removeClientId` already immediately re-creates the client ID anyway.

Differential Revision: https://phabricator.services.mozilla.com/D219594
2024-08-23 12:45:33 +00:00
Jan-Niklas Jaeschke
de1c63ce2a 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
Gijs Kruitbosch
8cb7eed51a Bug 1907474 - open a new window to show certificate window information if none are open, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D216994
2024-08-16 14:59:06 +00:00
Daniele Ferla
6de60b0677 Bug 1910505 - Add telemetry probes for PiP auto-trigger feature. r=mconley,settings-reviewers,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218481
2024-08-14 16:23:11 +00:00
Gijs Kruitbosch
189bdc25f8 Bug 1909440 - move popup blocking event listeners into PopupBlockerObserver.sys.mjs, r=mossop
This moves everything except DOMUpdateBlockedPopups, where the current forwarding handler is helpful because it avoids loading
this module entirely until/unless we actually get blocked popups.

Differential Revision: https://phabricator.services.mozilla.com/D217500
2024-08-13 10:54:32 +00:00
Chris H-C
cb42d634d4 Bug 1910976 - Correct browser.usage.interaction to use snake_case extra keys r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D218884
2024-08-09 19:26:33 +00:00
Sandor Molnar
6a0fcc49d0 Backed out 6 changesets (bug 1900225) for causing build bustages @ GeolocationSystemWin.cpp CLOSED TREE
Backed out changeset 2c0d4dc4c52e (bug 1900225)
Backed out changeset 092cece48dcd (bug 1900225)
Backed out changeset d9debcb16932 (bug 1900225)
Backed out changeset b389e47cd649 (bug 1900225)
Backed out changeset 0bdd05d6a2f0 (bug 1900225)
Backed out changeset 35a1d931e407 (bug 1900225)
2024-08-09 02:18:32 +03:00
David P
bc4858498c Bug 1900225: Part 2 - Inform user of system UX issues initiated by geolocation request r=gstoll,emilio,bolsson,pbz
This patch installs the framework for various platforms to inform the user of
one of two things: 1) a coming system dialog asking for system geolocation
permission that will be presented after the Firefox doorhanger asking for
permission for the page, and 2) that we will open a system preferences window,
where the user can enable geolocation for Firefox because it is currently not
enabled.  The code that handles this has been remoted to the parent process
since implementations will not be able to operate in the content process
sandbox.

Here, it stubs the behavior so this does nothing on every platform.
In this patch series, the behavior will be implemented for Windows.

Note: The code will run the geolocation for the page if the user granted it in
Firefox, regardless of whether the user granted or canceled the system
permission.  This respects the user's instruction and provides a work-around in
the event of a bug, although it would usually either fail to get a location or
it will get a very poor one (e.g. via IP lookup).

Differential Revision: https://phabricator.services.mozilla.com/D216473
2024-08-08 22:38:01 +00:00
Chris H-C
44bf9b2385 Bug 1912172 - Make default-off browser.usage.interaction event permanent r=TravisLong DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D218848
2024-08-08 14:45:37 +00:00
Daisuke Akatsuka
903da9309e 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
Jan-Ivar Bruaroey
361087b6ed Bug 1609427 - Interpret persisted PROMPT_ACTION (aka Always Ask) as "granted" for camera and mic. r=pbz,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D183065
2024-08-06 13:53:20 +00:00
Mark Striemer
5347d38678 Bug 1910623 - Fix Firefox Labs telemetry with moz-checkbox elements r=mconley,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218103
2024-08-01 21:56:48 +00:00
Emilio Cobos Álvarez
77c40caac6 Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi
Afaict the source lines are not exposed anywhere in the UI.

Differential Revision: https://phabricator.services.mozilla.com/D218115
2024-08-01 17:12:48 +00:00
spdev
56088e7d26 Bug 1882776 - gPopupBlockerObserver shouldn't live in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D210964
2024-07-22 21:45:33 +00:00
Gijs Kruitbosch
85ca3fdea4 Bug 1908965 - re-instate telemetry for toggling items in Firefox Labs, r=mstriemer,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D217150
2024-07-22 10:32:34 +00:00
Harshit Sohaney
09d49f353d Bug 1907783 - Use the new clear on shutdown branch to prevent losing pending shutdown items on unexpected shutdown. r=pbz,places-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D216616
2024-07-19 18:24:04 +00:00
Marco Bonardo
c5372e4d26 Bug 1902237 - Enable untrimOnUserInteraction and trimHttps with ScotchBonnet. r=daleharvey
This leaves out `security.insecure_connection_text.enabled` and
`security.insecure_connection_text.pbmode.enabled`, that should also be part of
ScotchBonnet, but are managed by a different component.

Differential Revision: https://phabricator.services.mozilla.com/D216181
2024-07-17 09:34:48 +00:00
Meg Viar
76dd97ec96 Bug 1904630 - Remove existing default bookmarks in toolbar to be replaced by a bookmark style configurable messaging surface r=places-reviewers,nalexander,Standard8,fluent-reviewers,flod,tabbrowser-reviewers,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D215429
2024-07-15 13:49:33 +00:00
Kelly Cochrane
b40657ff11 Bug 1897976 - Update existing tests involving sidebar-button in the nav bar for when sidebar.revamp pref is flipped on r=places-reviewers,sidebar-reviewers,urlbar-reviewers,mak,sfoster,Gijs,sclements
Differential Revision: https://phabricator.services.mozilla.com/D215253
2024-07-12 15:58:29 +00:00