Mike Conley
75b0f95fcc
Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-07-12 13:50:02 +00:00
Dorel Luca
57801f8ba0
Backed out changeset 5ca5387a57ce (bug 1712750) on Dev's request. CLOSED TREE
2021-07-06 19:26:21 +03:00
Mike Conley
56e7baaf05
Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-06-22 20:43:41 +00:00
Alexandru Michis
b07cc86a4a
Backed out changeset dc5c5ba21183 (bug 1712750) for causing bc failures in browser_interventions.js
...
CLOSED TREE
2021-06-18 00:47:32 +03:00
Mike Conley
d90592e793
Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-06-17 15:47:16 +00:00
David Parks
9c8a6dec0d
Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
...
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.
Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-06 19:28:13 +00:00
Csoregi Natalia
d68661e2cc
Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
...
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks
f85199c17c
Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
...
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.
Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-05 23:48:36 +00:00
Johann Hofmann
0e57e4e491
Bug 1675018 - Part 4 - Use deleteUserInteractionForClearingHistory in Sanitizer.jsm. r=timhuang
...
This uses the new deleteStorageAccessForClearingHistory API in Sanitizer to avoid
clearing all storage access API permissions and thus all cookies and site data when
clearing only history.
Differential Revision: https://phabricator.services.mozilla.com/D96641
2020-11-17 22:25:04 +00:00
Johann Hofmann
0f0f15392c
Bug 1675018 - Part 1 - Move PrincipalsCollector into its own module. r=mak
...
This is done in preparation to using the module on Android in order to exclude
certain principals from getting their user interaction permissions cleared.
Differential Revision: https://phabricator.services.mozilla.com/D96638
2020-11-17 22:24:53 +00:00
Csoregi Natalia
af42a4dbc7
Backed out 5 changesets (bug 1675018) for linting failure. CLOSED TREE
...
Backed out changeset 81e7fe361388 (bug 1675018)
Backed out changeset 7fe621a805eb (bug 1675018)
Backed out changeset 34fd482121f2 (bug 1675018)
Backed out changeset ee836c7f63d4 (bug 1675018)
Backed out changeset 0e09ce61e374 (bug 1675018)
2020-11-17 00:34:27 +02:00
Johann Hofmann
a4a2940564
Bug 1675018 - Part 4 - Use deleteUserInteractionForClearingHistory in Sanitizer.jsm. r=timhuang
...
This uses the new deleteStorageAccessForClearingHistory API in Sanitizer to avoid
clearing all storage access API permissions and thus all cookies and site data when
clearing only history.
Differential Revision: https://phabricator.services.mozilla.com/D96641
2020-11-16 19:29:34 +00:00
Johann Hofmann
e36bd02802
Bug 1675018 - Part 1 - Move PrincipalsCollector into its own module. r=mak
...
This is done in preparation to using the module on Android in order to exclude
certain principals from getting their user interaction permissions cleared.
Differential Revision: https://phabricator.services.mozilla.com/D96638
2020-11-16 19:29:14 +00:00
Kris Maglione
9d78661f88
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Sebastian Streich
147fdbb684
Bug 1633710 - principal.URI in Sanitizer.jsm r=ckerschb,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D75801
2020-06-30 16:25:45 +00:00
Mihai Alexandru Michis
c509eace0d
Backed out changeset 461c861e1190 (bug 1633710) for causing failures in /browser_cookiePermission*.js
...
CLOSED TREE
2020-06-24 14:50:00 +03:00
Sebastian Streich
77655c5463
Bug 1633710 - principal.URI in Sanitizer.jsm r=ckerschb,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D75801
2020-06-24 09:58:10 +00:00
Ed Lee
acb960676c
Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
...
Differential Revision: https://phabricator.services.mozilla.com/D66128
--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Jan Varga
0e36a593fa
Bug 1615998 - QM: Remove nsIQuotaOriginsResult interface; r=ttung,dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D63051
--HG--
extra : moz-landing-system : lando
2020-02-22 01:03:26 +00:00
Emma Malysz
57215abe07
Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D55751
--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00
Ehsan Akhgari
d94f27a8d6
Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D52761
--HG--
extra : moz-landing-system : lando
2019-12-03 17:08:25 +00:00
Tim Nguyen
99ee4cbf44
Bug 1599070 - Replace references to textbox.reset(). r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D54742
--HG--
extra : moz-landing-system : lando
2019-11-27 17:36:13 +00:00
Ciure Andrei
2305c29dc1
Backed out changeset 050bbef811d4 (bug 1599070) for causing test_textbox_search.xhtml to perma fail CLOSED TREE
2019-11-27 19:25:44 +02:00
Tim Nguyen
6fc8878917
Bug 1599070 - Replace references to textbox.reset(). r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D54742
--HG--
extra : moz-landing-system : lando
2019-11-27 16:07:25 +00:00
Daniel Varga
f12c40c242
Backed out changeset afe80b4ff889 (bug 1595934) Requested by ehsan to see if it fixex bug 1597915. On a CLOSED TREE
2019-11-22 02:01:51 +02:00
Ehsan Akhgari
30cf316b38
Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D52761
--HG--
extra : moz-landing-system : lando
2019-11-17 07:21:14 +00:00
Erica Wright
2a35015fdc
Bug 1589753 - Add telemetry for users clearing data on shutdown. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50124
--HG--
extra : moz-landing-system : lando
2019-11-04 16:02:09 +00:00
Ehsan Akhgari
a8a01884db
Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50753
--HG--
extra : moz-landing-system : lando
2019-10-29 01:56:25 +00:00
Arthur Iakab
9c93bb3a7a
Backed out 2 changesets (bug 1591803) for causing build bustages on XULAlerts.cpp CLOSED TREE
...
Backed out changeset 7eff50262110 (bug 1591803)
Backed out changeset c0b6f37d24d2 (bug 1591803)
2019-10-29 03:37:07 +02:00
Ehsan Akhgari
8c1d9bf15d
Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50753
--HG--
extra : moz-landing-system : lando
2019-10-28 20:26:21 +00:00
Arthur Iakab
470c5a07f1
Backed out 2 changesets (bug 1591803) for causing build busatges on PermissionManager.idl. CLOSED TREE
...
Backed out changeset 060f159fa43d (bug 1591803)
Backed out changeset b53a3d8c408d (bug 1591803)
2019-10-28 22:12:01 +02:00
Ehsan Akhgari
f7eef9ebc5
Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50753
--HG--
extra : moz-landing-system : lando
2019-10-28 13:55:56 +00:00
Tom Tung
c0f0ba97a7
Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D47741
--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-02 07:57:52 +00:00
Oana Pop Rus
cb6253f70e
Backed out 3 changesets (bug 1584986) for xpcshell failures in dom/quota/test/unit/test_listOrigins.js on a CLOSED TREE
...
Backed out changeset 8fc63769342e (bug 1584986)
Backed out changeset ec44603ce08a (bug 1584986)
Backed out changeset 0fc3d50b822e (bug 1584986)
--HG--
rename : dom/quota/test/unit/test_listOrigins.js => dom/quota/test/unit/test_listInitializedOrigins.js
2019-10-02 07:50:10 +03:00
Tom Tung
a9e251b07f
Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
...
Depends on D47740
Differential Revision: https://phabricator.services.mozilla.com/D47741
--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-01 13:29:52 +00:00
monikamaheshwari
9d60e0d578
Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D45629
--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Jonathan Kingston
31441f82ea
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Victor Porof
af7d1d3b67
Bug 1561435 - Format browser/modules/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36046
--HG--
extra : source : f3c632037a1064c41b1f8b02f477c854b2fb4362
2019-07-05 09:55:19 +02:00
Erica Wright
2c4d0c79fb
Bug 1549830 - Create content blocking database. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D33716
--HG--
extra : moz-landing-system : lando
2019-06-21 22:45:47 +00:00
Nihanth Subramanya
c706261f70
Bug 1547015 - ClearDataService: Implement CertCleaner.deleteAll. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D32916
--HG--
extra : moz-landing-system : lando
2019-06-03 21:30:32 +00:00
Johann Hofmann
de6eaee5b4
Bug 1554167 - Remove pending shutdown sanitization immediately after shutdown sanitization finishes. r=mak,baku
...
In https://hg.mozilla.org/mozilla-central/rev/25397a6f8c4f#l1.35 we added an early return to
the SanitizeOnShutdown function to avoid cleaning principals by permission if the user had
set their preferences to clear all storage on shutdown anyway. This unfortunately ended
the function execution before it would call `removePendingSanitization("shutdown");` later on
and thus remove the pending shutdown sanitization (which, in fact, had completed successfully earlier).
The result is that the shutdown sanitization would be left dangling and run again on next startup,
where, for reasons I don't fully understand, it would race and conflict with loading the home page,
if that home page was from web content.
The solution is to remove the pending shutdown sanitization immediately after the sanitization is done.
As far as I can see there was never really a point in having it happen after session principal
cleanup finished, since in case of a crash it would not run the principal cleanup again next startup,
just the shutdown cleanup.
For good measure I also moved the new tab container sanitization to happen earlier in this function,
to prevent it from dangling as well.
Differential Revision: https://phabricator.services.mozilla.com/D33087
--HG--
extra : moz-landing-system : lando
2019-05-30 15:39:39 +00:00
Andrea Marchesini
d89d469dba
Bug 1532948 - Sanitize principal on shutdown should behave like 'Manage cache and Site Data' cleanup, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D23825
--HG--
extra : moz-landing-system : lando
2019-04-05 10:35:54 +00:00
Andrea Marchesini
61e44c6220
Bug 1524200 - Add more debugging message to Sanitizer.jsm, r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D25289
--HG--
extra : moz-landing-system : lando
2019-04-01 13:46:56 +00:00
Erica Wright
fccf274cc5
Bug 1524883 - Clear storageAccessAPI permissions when history is cleared. r=johannh,Ehsan
...
When history is cleared, clear the flag that indicates a user has visited the domain.
Differential Revision: https://phabricator.services.mozilla.com/D24404
--HG--
extra : moz-landing-system : lando
2019-03-28 18:44:08 +00:00
Tom Tung
75324d92e3
Bug 1529301 - P3 - Use the listInitializedOrigins on Sanitizer.jsm; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D21725
--HG--
extra : moz-landing-system : lando
2019-03-22 06:04:50 +00:00
Ian Moody
67fb55f3b9
Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
...
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
-e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
-e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
-e 's/throw \(/throw new Error(/g' -i
Differential Revision: https://phabricator.services.mozilla.com/D24110
--HG--
extra : moz-landing-system : lando
2019-03-20 10:17:42 +00:00
Felipe Gomes
178783f955
Bug 827976 - Make Sanitizer.jsm not use the hidden window. r=Gijs
...
It doesn't need a high precision performance.now() to count minutes. In addition, if there are no windows to be closed, it's not doing anything, so it doesn't need to open a new one.
Differential Revision: https://phabricator.services.mozilla.com/D21083
--HG--
extra : moz-landing-system : lando
2019-03-04 18:53:07 +00:00
Cosmin Sabou
a706bb3916
Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
...
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes
c15c6e8d12
Bug 827976 - Make Sanitizer.jsm not use the hidden window. r=Gijs
...
It doesn't need a high precision performance.now() to count minutes. In addition, if there are no windows to be closed, it's not doing anything, so it doesn't need to open a new one.
Differential Revision: https://phabricator.services.mozilla.com/D21083
--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:09 +00:00
Andrea Marchesini
53e4ef9c09
Bug 1524200 - Sanitizer.jsm should retrieve the list of nsIPrincipal objects with site data only when needed, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D20995
--HG--
extra : moz-landing-system : lando
2019-02-26 17:27:52 +00:00