Kashav Madan
c39158719d
Bug 1582531 - Update fission annotations for tests that pass, r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D50507
--HG--
extra : moz-landing-system : lando
2019-10-30 21:51:22 +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
Gijs Kruitbosch
d579352ba8
Bug 1565998 - display a descriptive text for local file: related data, and allow removing it, r=johannh,fluent-reviewers,flod,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D44832
--HG--
extra : moz-landing-system : lando
2019-10-02 11:42:53 +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
Sebastian Streich
2fbc46096e
Bug 1580782 - Remove JS Callsites for Principal->GetURI->Schemeis r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D45685
--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:33 +00:00
Paul Zuehlcke
a20be9ee64
Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D45848
--HG--
extra : moz-landing-system : lando
2019-09-24 17:13:43 +00:00
Oana Pop Rus
3144f81e55
Backed out changeset cb1b6afa9f33 (bug 1574469) for multiple failures in nsICookieManager.remove on a CLOSED TREE
2019-09-24 13:10:07 +03:00
Paul Zuehlcke
b7de7aec93
Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D45848
--HG--
extra : moz-landing-system : lando
2019-09-19 17:10:58 +00:00
Johann Hofmann
d8ca8b5902
Bug 1515913 - Update sub-domain sanitize test to use SiteDataTestUtils and add additional test case. r=baku
...
The new test covers the edge case described here: https://bugzilla.mozilla.org/show_bug.cgi?id=1515913#c6
This was fixed earlier in bug 1571234.
Differential Revision: https://phabricator.services.mozilla.com/D46794
--HG--
extra : moz-landing-system : lando
2019-09-23 16:08:17 +00:00
Johann Hofmann
a95351130d
Bug 1571234 - Change RemoveCookiesFromRootDomain to RemoveCookiesFromExactHost. r=baku
...
This will change RemoveCookiesFromRootDomain to not remove cookies from all sub-domains but instead
only remove the single host that is passed. This is necessary to support removing all sub-domain
cookie data in ForgetAboutSite without compromising on the cookie permissions that are supported by
Sanitizer.jsm
As a side effect, this also fixes the issues described in https://bugzilla.mozilla.org/show_bug.cgi?id=1515913#c24
(which were caused by deleting sub-domains without checking their permission).
Sanitizer.jsm should retain its functionality even with this change, because it already collects
all the principals we have to delete individually and tries to delete them (so it would consider
mozilla.org and support.mozilla.org separately).
Differential Revision: https://phabricator.services.mozilla.com/D45012
--HG--
extra : moz-landing-system : lando
2019-09-09 13:58:06 +00:00
Cosmin Sabou
62c067e92f
Bug 1578037 - Disable tests that cause leaks on fission. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com//D44599
2019-09-04 07:18:42 +03:00
Andrea Marchesini
16b47a442d
Bug 1541344 - Delete plugin-data only for the sites with data,r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D40644
--HG--
extra : moz-landing-system : lando
2019-08-14 22:11:09 +00:00
Kris Maglione
c01ad83372
Bug 1571502: Don't leak TabGroups which have never had windows joined to them. r=nika
...
Currently, TabGroups know to break their reference cycles only when the last
window leaves them. For TabGroups which have never had a window join (which
happens under Fission), this means they also never see a window leave, and
therefore never break their reference cycles, and leak.
This patch adds a check to break reference cycles if no windows have joined by
the time a BrowserChild they belong to is destroyed.
MANUAL PUSH: Lando fails to rebase.
Differential Revision: https://phabricator.services.mozilla.com/D40669
--HG--
extra : source : 03acb28ab60fb77fa06064385a62cc46cf4ad1bd
extra : amend_source : 0a71625d99951bebe45ee6f62570de491a714e97
2019-08-02 18:19:53 -07:00
Kris Maglione
ef02b3cbd8
Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D39459
--HG--
extra : rebase_source : 594e7c17a8aa81f9b212ff1fa492a8ab8f40d5ee
2019-07-19 15:31:16 -07:00
Dana Keeler
18e9f3ba80
bug 1564481 - reset HSTS/HPKP state to factory settings rather than storing knockout entries for preloaded sites r=jcj r=KevinJacobs
...
As originally implemented, nsISiteSecurityService.removeState allowed direct
access to remove HSTS state. It also provided the implementation for when the
browser encountered an HSTS header with "max-age=0". In bug 775370, it was
updated to store an entry that would override preloaded information when
processing such headers. However, this meant that the semantics of the direct
access API had changed. Preloaded information could be overridden if a user
invoked the "forget about this site" feature. This change fixes the public API
(and renames it to "resetState") so it actually behaves as its consumers expect.
Reviewers: jcj!, KevinJacobs!
Tags: #secure-revision
Bug #: 1564481
Differential Revision: https://phabricator.services.mozilla.com/D38108
--HG--
extra : rebase_source : 8dd5460d3fd3c0ce92746cc83fae220d6e2a83cf
extra : amend_source : 171ebb015e9f9ae775f0caa22e161d41970f3d51
2019-07-11 13:48:28 -07: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
4a06c925ac
Bug 1561435 - Format toolkit/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36052
--HG--
extra : source : b5be5b4f4b47c256e28a29f665dc754f6407ee7f
2019-07-05 11:14:05 +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
Matthew Noorenberghe
f6347b4d00
Bug 1148205 - Replace misnamed `formSubmitURL` and `hostname` properties in toolkit/ tests. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D33344
--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_autofill_different_formSubmitURL.html => toolkit/components/passwordmgr/test/mochitest/test_autofill_different_formActionOrigin.html
rename : toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete_formSubmitURL.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete_formActionOrigin.html
rename : toolkit/components/passwordmgr/test/unit/test_legacy_empty_formSubmitURL.js => toolkit/components/passwordmgr/test/unit/test_legacy_empty_formActionOrigin.js
extra : moz-landing-system : lando
2019-06-05 03:59:20 +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
Andrea Marchesini
b1b122fb20
Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D33031
--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +00:00
Andrea Marchesini
4c6ace6ac6
Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31214
--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:03 +00:00
arthur.iakab
944263f18a
Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
...
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
e9bbb85ed1
Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31214
--HG--
extra : moz-landing-system : lando
2019-05-24 15:18:49 +00:00
Eugen Sawin
52bea1fda2
Bug 1553454 - [1.1] Only enable handling of CLEAR_HISTORY when Places is supported. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32473
--HG--
extra : moz-landing-system : lando
2019-05-27 11:09:50 +00:00
Carolina
0a89a5c5a4
Bug 1541450 - Add a Certs cleaner and defines that object in FLAGS_MAP. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D27193
--HG--
extra : moz-landing-system : lando
2019-05-16 18:45:48 +00:00
Tom Tung
5a873324c6
Bug 1535298 - Capture and ignore the exception for not having a host from a principal URI; r=janv,johannh
...
Protocols, likes about:, moz-extension, ... etc, don't have a host. Thus, an
exception will be returned if they are accessed. To avoid from that, this patch
catches this bug a try-catch.
Differential Revision: https://phabricator.services.mozilla.com/D29821
--HG--
extra : moz-landing-system : lando
2019-05-14 16:49:03 +00:00
Johann Hofmann
8aaf3c05e3
Bug 1546296 - Correctly clear Service Workers by hostname. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30455
--HG--
extra : moz-landing-system : lando
2019-05-13 21:32:53 +00:00
Brindusan Cristian
cab8f31085
Backed out changeset dd551956b332 (bug 1546296) for bc failures at browser_serviceworkers.js. CLOSED TREE
2019-05-10 00:38:56 +03:00
Johann Hofmann
6a824f6608
Bug 1546296 - Correctly clear Service Workers by hostname. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30455
--HG--
extra : moz-landing-system : lando
2019-05-09 20:09:04 +00:00
Cosmin Sabou
8602101987
Backed out changeset 6abefa3e063b (bug 1541450) for xpcshell failures on test_certs.js. CLOSED TREE
2019-05-06 02:15:56 +03:00
Carolina Jimenez Gomez
f34fc8b3b1
Bug 1541450 - Add a Certs cleaner and defines that object in FLAGS_MAP. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D27193
--HG--
extra : moz-landing-system : lando
2019-05-05 20:12:24 +00:00
Dorel Luca
41e7361f98
Backed out changeset c5d2d999a8ab (bug 1541450) for XPCShell failures in toolkit/components/cleardata/tests/unit/test_certs.js
2019-04-26 05:22:24 +03:00
Carolina Jimenez Gomez
e219a42b30
Bug 1541450 - Add a Certs cleaner and defines that object in FLAGS_MAP. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D27193
--HG--
extra : moz-landing-system : lando
2019-04-25 17:03:50 +00:00
Ian Moody
57b82dd9be
Bug 1544284 - toolkit/ automated ESLint no-throw-literal fixes. r=Standard8
...
Result of running:
$ mach eslint -funix toolkit/ | 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
...and then reverting a couple of places where comments were touched,
as well as changes to toolkit/components/ctypes/tests/unit/test_jsctypes.js
that required expectation changes to
toolkit/components/ctypes/tests/chrome/test_ctypes.xul
Differential Revision: https://phabricator.services.mozilla.com/D27448
--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Andrea Marchesini
6f470dae23
Bug 1515913 - Implement nsICookieService.removeCookiesFromRootDomain, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D27289
--HG--
extra : moz-landing-system : lando
2019-04-12 20:27:21 +00:00
Johann Hofmann
4f767264a5
Bug 1532203 - Add a basic test for clearing network cache with ClearDataService. r=baku
...
This also moves SiteDataTestUtils to have it available in toolkit.
Differential Revision: https://phabricator.services.mozilla.com/D26248
--HG--
rename : browser/base/content/test/sanitize/SiteDataTestUtils.jsm => toolkit/components/cleardata/SiteDataTestUtils.jsm
extra : moz-landing-system : lando
2019-04-05 09:57:00 +00:00
Johann Hofmann
cdc128ccbe
Bug 1532203 - Implement deleteByHost for NetworkCacheCleaner and ImageCacheCleaner. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D23491
--HG--
extra : moz-landing-system : lando
2019-04-05 09:57:34 +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
Mark Banner
dba6983e75
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Andrea Marchesini
08bff459b5
Bug 1537882 - Initialize QuotaManagerService in ClearDataService for GeckoView, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D24675
--HG--
extra : moz-landing-system : lando
2019-03-25 12:08:31 +00:00
Andrea Marchesini
06c0315fb7
Bug 1538647 - Use Service.ETLD in ClearDataService, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D24674
--HG--
extra : moz-landing-system : lando
2019-03-25 11:32:32 +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
Noemi Erli
8ff375e831
Backed out changeset a75c0f1d25e5 (bug 1532203) for xpcshell failures in test_clear_forgetAboutSite.js CLOSED TREE
2019-03-15 13:50:39 +02:00