Commit Graph

7131 Commits

Author SHA1 Message Date
ffxbld
01fdd66543 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D188236
2023-09-14 12:30:50 +00:00
Tom Marble
9e40a719f2 Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Marco Bonardo
e9ffac0820 Bug 1846781 - Use recalc_frecency for updating origins frecency instead of triggers. r=daisuke
Until now we updated origins frecency using direct SQL triggers.
While that guaranteed good performance, it also had some downsides:
 * replacing the algorithms is complicate, the current system only works
   with a straight sum of page frecencies. We are planning to experiment with
   different algorithms in the future.
 * it requires using multiple temp tables and DELETE triggers, that is error
   prone for consumers, that may forget to DELETE from the temp tables, and thus
   break data coherency.
 * there's not much atomicity, since the origins update must be triggered apart
   and a crash would lose some of the changes

This patch is changing the behavior to be closer to the recalc_frecency one that
is already used for pages.
When a page is added, visited, or removed, recalc_frecency of its origin is set
to 1. Later frecency of invalidated origins will be recalculated in chunks.
While this is surely less efficient than the existing system, it solves the
problems presented above.
A threshold is recalculated at each chunk, and stored in the moz_meta table.
This patch continues using the old STATS in the moz_meta table, to allow for
easier downgrades. Once a new threshold will be introduced we'll be able to
stop updating those.

The after delete temp table is maintained because there's no more efficient way
to remove orphan origins promptly. Thus, after a removal from moz_places,
consumers MUST still DELETE from the temp table to cleanup orphan origins.
This also introduces a delayed removal of orphan origins when their frecency
becomes 0.

Differential Revision: https://phabricator.services.mozilla.com/D186070
2023-09-13 13:58:30 +00:00
Mark Banner
07a6921e17 Bug 1851797 - Remove nsIScriptableUnicodeConverter convertToByteArray and convertToInputStream. r=jfkthame,perftest-reviewers,application-update-reviewers,AlexandruIonescu,bytesized,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D187548
2023-09-13 08:38:19 +00:00
Neil Deakin
3331d1bd85 Bug 1852236, treat null string formActionOrigin values as not present in certain cases, also restores some checks of formActionOrigin that got lost, r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D187842
2023-09-12 17:48:15 +00:00
ffxbld
aaf9d5d5f4 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D187886
2023-09-11 12:20:02 +00:00
ffxbld
4a0d68ade5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D187661
2023-09-07 12:04:47 +00:00
Neil Deakin
d260d8969f Bug 1850553, remove most infromation from a login that has been synced when it is deleted, r=credential-management-reviewers,sync-reviewers,sgalich,markh
Differential Revision: https://phabricator.services.mozilla.com/D187053
2023-09-03 10:58:20 +00:00
ffxbld
a80e4e3d96 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D187190
2023-08-31 12:05:50 +00:00
Cristian Tuns
f71f1a118e Merge autoland to mozilla-central. a=merge 2023-08-28 17:18:28 -04:00
Mozilla Releng Treescript
ddb4ab256d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-08-28 14:03:43 +00:00
ffxbld
805f3396f5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D186931
2023-08-28 12:11:51 +00:00
ffxbld
8db3cd0954 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D186775
2023-08-24 11:26:14 +00:00
ffxbld
0641d24c70 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D186624
2023-08-21 11:05:16 +00:00
ffxbld
ad07dd2025 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D186462
2023-08-17 14:43:05 +00:00
Neil Deakin
5fae98f0e4 Bug 1846036, replace usage of findLogins with searchLoginsAsync, r=credential-management-reviewers,sync-reviewers,joschmidt,markh
One caller in modifyLogin is switched to synchronous searchLogins, we can switch this later to add an asyncronous version of modifyLogin

Differential Revision: https://phabricator.services.mozilla.com/D184840
2023-08-15 00:21:05 +00:00
ffxbld
bed3ff8584 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D186122
2023-08-14 12:24:40 +00:00
ffxbld
0625a2a435 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D185907
2023-08-10 15:16:15 +00:00
Mark Banner
36b18bec43 Bug 1844784 - Ensure Synced Tabs in the history menu is properly removed when FxAccounts are disabled. r=sync-reviewers,places-reviewers,lina,markh
Differential Revision: https://phabricator.services.mozilla.com/D185719
2023-08-09 15:00:20 +00:00
ffxbld
ca66812172 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D185543
2023-08-07 12:05:55 +00:00
Sandor Molnar
f0fc62f087 Backed out changeset b463b9cd8aef (bug 1846036) for causing failures in toolkit/components/passwordmgr/test/mochitest/test_prompt.html CLOSED TREE 2023-08-05 02:15:47 +03:00
Neil Deakin
a60cb82de8 Bug 1846036, replace usage of findLogins with searchLoginsAsync, r=credential-management-reviewers,sync-reviewers,joschmidt,markh
One caller in modifyLogin is switched to synchronous searchLogins, we can switch this later to add an asyncronous version of modifyLogin

Differential Revision: https://phabricator.services.mozilla.com/D184840
2023-08-04 18:36:03 +00:00
Mark Banner
98a950aa76 Bug 1846758 - Automatically mark *.worker.?js files as belonging to the worker environment. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185321
2023-08-04 09:51:15 +00:00
ffxbld
da3d59d058 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D185284
2023-08-03 14:11:06 +00:00
Mark Banner
674bbb9d67 Bug 1846570 - Convert more jsm style imports to ES modules (services). r=markh,sync-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185070
2023-08-02 13:43:07 +00:00
Gregory Pappas
8a35d5cf5f Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Sammy Khamis
a4efac9ebc Bug 1841866: History engine roundtrips data it doesn't know about r=lina,mak
Differential Revision: https://phabricator.services.mozilla.com/D183224
2023-08-01 18:45:08 +00:00
Narcis Beleuzu
15de925e05 Merge mozilla-central to autoland. CLOSED TREE 2023-07-31 19:37:03 +03:00
Mozilla Releng Treescript
52aa09e803 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-07-31 15:25:42 +00:00
Mark Banner
26f043124f Bug 1845252 - Update consumers of FxAccountsCommon to import the ES module directly. r=markh,settings-reviewers,credential-management-reviewers,sync-reviewers,sgalich,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184780
2023-07-31 13:05:44 +00:00
Mark Banner
c88cd62744 Bug 1845252 - Convert FxAccountsCommon.js to an ES module. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D184779
2023-07-31 13:05:43 +00:00
Stanca Serban
65e766744a Backed out 2 changesets (bug 1845252) for causing mochitests failures in browser_fxa_web_channel.js. CLOSED TREE
Backed out changeset d58bbd55cb35 (bug 1845252)
Backed out changeset 683a87892126 (bug 1845252)
2023-07-28 21:29:30 +03:00
Mark Banner
b08a8b3acd Bug 1845252 - Update consumers of FxAccountsCommon to import the ES module directly. r=markh,settings-reviewers,credential-management-reviewers,sync-reviewers,sgalich,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184780
2023-07-28 17:30:39 +00:00
Mark Banner
5c4443ef9e Bug 1845252 - Convert FxAccountsCommon.js to an ES module. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D184779
2023-07-28 17:30:39 +00:00
ffxbld
4af75d67bf No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D184712
2023-07-27 13:31:37 +00:00
Gregory Pappas
3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Mark Banner
3b3305e7cf Bug 1845253 - Replace lazy getters in FxAccountsCommon.js. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D184475
2023-07-26 15:13:14 +00:00
Mark Banner
6fe765f7ca Bug 1845079 - Update more consumers to import ES modules directly. r=arai,settings-reviewers,credential-management-reviewers,sync-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D184371
2023-07-24 15:32:45 +00:00
ffxbld
67fc396208 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D184363
2023-07-24 11:57:32 +00:00
ffxbld
6741174e61 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D184089
2023-07-20 14:12:03 +00:00
Tooru Fujisawa
6934f07e3f Bug 1843796 - Part 3: Rewrite services/fxaccounts/FxAccountsClient.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=markh
Depends on D183694

Differential Revision: https://phabricator.services.mozilla.com/D183695
2023-07-19 12:06:18 +00:00
Tooru Fujisawa
ea29dd03e7 Bug 1843796 - Part 2: Rewrite services/fxaccounts/FxAccounts.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=markh
Depends on D183693

Differential Revision: https://phabricator.services.mozilla.com/D183694
2023-07-19 12:06:17 +00:00
Tooru Fujisawa
0822d0a2c9 Bug 1843796 - Part 1: Remove unused imports for services/common/hawkclient.sys.mjs in html/xhtml. r=markh
Depends on D183692

Differential Revision: https://phabricator.services.mozilla.com/D183693
2023-07-19 12:06:17 +00:00
Mike Kaply
134b5be624 Bug 1826608 - Implement open tabs from other device in new Firefox View. r=sclements,kcochrane,fluent-reviewers,fxview-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D180836
2023-07-18 19:08:04 +00:00
Neil Deakin
2483a0cbf2 Bug 1807618, replace all usage of getAllLogins with the asynchronous version, removing the syncronous version, r=credential-management-reviewers,sync-reviewers,sgalich,skhamis
Differential Revision: https://phabricator.services.mozilla.com/D178406
2023-07-16 20:15:31 +00:00
Gregory Pappas
1468978431 Bug 1839520 - Convert tps.jsm to ES module r=Standard8,sync-reviewers,skhamis
Co-authored-by: Mark Banner <standard8@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D181610
2023-07-14 03:31:26 +00:00
ffxbld
be81e7343c No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D183485
2023-07-13 13:07:40 +00:00
Mark Banner
0b2d2afdea Bug 1837176 - Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
Differential Revision: https://phabricator.services.mozilla.com/D181159
2023-07-12 13:38:34 +00:00
Mark Banner
182b6db303 Bug 1792824 - Convert ObjectUtils.jsm to an ES module. r=barret,necko-reviewers,devtools-reviewers,kershaw
Depends on D183308

Differential Revision: https://phabricator.services.mozilla.com/D183309
2023-07-12 08:07:23 +00:00
ffxbld
44adec3919 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D183161
2023-07-10 14:23:03 +00:00