Ehsan Akhgari
4f80b43251
Bug 1589476 - Emit a separate notification when a tracker from the Level 2 Disconnect blocklist is observed on a page and use this code to avoid using the URL classifer service in the front-end; r=nhnt11,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D49660
2019-11-18 20:56:36 +00:00
Nihanth Subramanya
edbf406048
Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D47427
2019-11-01 23:24:25 +00:00
Dorel Luca
2060c2bf48
Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
...
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya
fcb3e38904
Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D47427
2019-11-01 21:02:09 +00:00
Ehsan Akhgari
fced70efa4
Bug 1576641 - Add two new content blocking event flags to indicate a tracking/social-tracking cookie has been loaded in a tab; r=baku,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D44216
2019-09-03 17:37:43 +00:00
Tom Schuster
d6ad00e6a1
Bug 1558915 - Use infallible nsIURI::SchemeIs everywhere. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D41367
2019-08-09 15:17:06 +00:00
Johann Hofmann
af69465a87
Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D39012
2019-07-30 12:31:22 +00:00
Ciure Andrei
2303cc0498
Backed out changeset ded87cc3f3ee (bug 1567826) for causing browser_check_identity_state.js to perma fail CLOSED TREE
2019-07-30 12:50:29 +03:00
Johann Hofmann
ac4798b984
Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D39012
2019-07-30 07:52:59 +00:00
Kannan Vijayan
c690c1925f
Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D39378
2019-07-26 16:48:31 +00:00
Andrea Marchesini
1a974051e5
Bug 1560040 - Introduce 2 new URL-Classifier features to annotate and block social trackers, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D35421
2019-06-22 16:53:50 +00:00
Ciure Andrei
77eb7642f9
Backed out 2 changesets (bug 1546816) for causing test_navigation.py and test_js_cert_override_service.js to permafail CLOSED TREE
...
Backed out changeset 4d299dcdcaaa (bug 1546816)
Backed out changeset dbb07b64cdf9 (bug 1546816)
2019-06-15 10:55:58 +03:00
Dragana Damjanovic
03673bf1a2
Bug 1546816 - Part 1: Changes needed for performing cert verification on the parent proces while networking access is on the socket process. r=keeler
...
This patche changes only security/manager/ssl/SSLServerCertVerification.cpp.
Differential Revision: https://phabricator.services.mozilla.com/D28741
2019-06-14 12:40:12 +00:00
Dana Keeler
494ea7c59f
bug 1535851 - proactively check for mixed content in nsSecureBrowserUIImpl r=Ehsan
...
If nsSecureBrowserUIImpl::GetState is never called, it never checks for mixed
content (this can happen when loading a page from the BF cache). To ensure that
we properly set the security state (via OnLocationChange -> OnSecurityChange),
nsSecureBrowserUIImpl must check for mixed content more proactively.
Differential Revision: https://phabricator.services.mozilla.com/D23945
2019-03-19 23:56:55 +00:00
Boris Zbarsky
b61174af9c
Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D17327
2019-02-28 01:09:48 +00:00
Andrea Marchesini
6a580c8352
Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D17641
2019-01-30 14:01:51 +01:00
Andrea Marchesini
edf0c3b24c
Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 6 - fingerprinting, r=ehsan,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D17640
2019-01-30 14:01:05 +01:00
Ehsan Akhgari
a1fd7322d7
Bug 1523106 - DeCOMtaminate nsISecurityEventSink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17742
2019-01-28 14:45:49 -05:00
Ehsan Akhgari
5530c0b72d
Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari
bef12263c4
Bug 1517136 - Devirtualize and inline the calls in nsSecureBrowserUIImpl::CheckForBlockedContent(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15574
2019-01-07 17:56:07 -05:00
Gurzau Raul
ca7e228805
Backed out changeset d801dfa24d7d (bug 1517136) for build bustages at /security/manager/ssl/nsSecureBrowserUIImpl.cpp on a CLOSED TREE
2019-01-07 23:42:15 +02:00
Ehsan Akhgari
6a358bf780
Bug 1517136 - Devirtualize and inline the calls in nsSecureBrowserUIImpl::CheckForBlockedContent(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15574
2019-01-07 16:03:40 -05:00
Gurzau Raul
45845ef185
Backed out changeset f6f97217b46c (bug 1517136) for build bustage at /security/manager/ssl/nsSecureBrowserUIImpl.cpp on a CLOSED TREE
2019-01-07 21:31:52 +02:00
Ehsan Akhgari
124e361b1d
Bug 1517136 - Devirtualize and inline the calls in nsSecureBrowserUIImpl::CheckForBlockedContent(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15574
2019-01-07 13:53:46 -05:00
Kyle Machulis
594c68f50c
Bug 1095602 - Remove STATE_SECURE flags from nsIWebProgressListener; r=Ehsan
...
Only STATE_SECURE_HIGH is used, and that's only in instances where
STATE_IS_SECURE is also used, so we can remove the security level
flags and just assume STATE_IS_SECURE is also STATE_SECURE_HIGH.
Differential Revision: https://phabricator.services.mozilla.com/D15600
2019-01-03 17:35:48 +00:00
Ehsan Akhgari
7aca5c51a6
Bug 1510911 - Part 3: Backout changeset d0997972e4d4 (bug 1493563 - Part 4) for regressing performance
2018-12-03 14:27:53 -05:00
Ehsan Akhgari
61fe3c0a09
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
cebe9c2c89
Bug 1509555 - Part 4: Remove nsIWebProgressListener::STATE_BLOCKED_SLOW_TRACKING_CONTENT r=baku
...
Depends on D12830
Differential Revision: https://phabricator.services.mozilla.com/D12831
2018-11-27 08:56:39 +00:00
Ehsan Akhgari
0b6dceed64
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
2018-11-20 14:34:49 +00:00
Andreea Pavel
3e7a2cf5a7
Backed out changeset 94efd169438e (bug 1504728) for mochitest AddressSanitizer failures on a CLOSED TREE
2018-11-20 02:12:47 +02:00
Ehsan Akhgari
266d39fda6
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
2018-11-19 20:31:16 +00:00
Dorel Luca
5106b2f08b
Backed out changeset dfc775a144ad (bug 1504728) for Brwoser-chrome failure in browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js. CLOSED TREE
2018-11-19 18:34:50 +02:00
Ehsan Akhgari
292c295604
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
2018-11-19 15:25:33 +00:00
Narcis Beleuzu
6e37dfa8f9
Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE
...
Backed out changeset 26318538f077 (bug 1505198)
Backed out changeset fc39602006be (bug 1504728)
2018-11-16 02:34:15 +02:00
Ehsan Akhgari
9d1220d4e7
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
2018-11-14 17:19:25 +00:00
Ehsan Akhgari
9ce76061d0
Bug 1504728 - Part 0: Update nsSecureBrowserUIImpl::CheckForBlockedContent() to check for mixed content blocking when the resource is already marked as broken; r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D11815
2018-11-13 17:56:22 -05:00
Dorel Luca
c4f8caba67
Backed out changeset 365e0d2414bf (bug 1504728) for browser-chrome failures. CLOSED TREE
2018-11-09 18:48:39 +02:00
Ehsan Akhgari
75f342fb34
Bug 1504728 - Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
2018-11-09 15:36:02 +00:00
Dana Keeler
d9dff8f2e7
bug 1497555 - filter out same-document location changes in nsSecureBrowserUIImpl::OnLocationChange r=Ehsan
...
If nsSecureBrowserUIImpl::OnLocationChange receives a
LOCATION_CHANGE_SAME_DOCUMENT notification, it doesn't need to (and in fact
shouldn't) update its security state or notify downstream listeners.
Differential Revision: https://phabricator.services.mozilla.com/D8900
2018-10-17 21:38:24 +00:00
Dana Keeler
ea00151873
bug 1391207 - error pages are always not secure r=Gijs
...
Before this patch, if a TLS handshake completed but the server then closed the
connection without reading or writing, Firefox would display a connection reset
error page with a secure lock icon. This is misleading and confusing, so in this
patch, nsSecureBrowserUIImpl::OnLocationChange checks if an error page is being
loaded and sets the state to not secure.
Differential Revision: https://phabricator.services.mozilla.com/D8472
2018-10-15 19:34:14 +00:00
Dana Keeler
b797256e94
bug 1495321 - only allow https URIs to be considered secure in nsSecureBrowserUIImpl r=Gijs
...
Summary:
Resources that aren't secure (e.g. http) can be routed over secure transports
(e.g. http/2 alt-svc, https proxies). For display purposes (the site identity
widget) we don't want to treat these as secure. Bug 1040323 addressed this exact
issue but didn't include tests. Thus, when nsSecureBrowserUIImpl was
reimplemented in bug 832834, this aspect was neglected. This time, there is a
test.
Reviewers: Gijs
Tags: #secure-revision
Bug #: 1495321
Differential Revision: https://phabricator.services.mozilla.com/D7746
2018-10-11 10:07:49 -07:00
Dana Keeler
5e9e66edf5
bug 1493427 - use the docShell to call OnSecurityChange in nsSecureBrowserUIImpl::OnLocationChange r=Gijs
...
When navigating to an about: page that doesn't exist (e.g.
"about:somethingthatdoesnotexist"), the docShell will call
nsSecureBrowserUIImpl::OnLocationChange with a request that is null.
Consequently, we can't use that to QueryInterface to a nsISecurityEventSink to
call OnSecurityChange. The previous implementation would use the prior
request's nsISecurityEventSink, which was a bug but luckily this produced the
correct behavior. Since the original docShell the nsSecureBrowserUIImpl was
initialized with is what needs to be notified, we can just QueryInterface that
to an nsISecurityEventSink and call OnSecurityChange directly instead.
Differential Revision: https://phabricator.services.mozilla.com/D6951
2018-10-02 20:26:40 +00:00
Andrew McCreight
05b70f0bb6
Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug
...
If class A is derived from class B, then an instance of class A can be
converted to B via a static cast, so a slower QI is not needed.
Differential Revision: https://phabricator.services.mozilla.com/D6861
2018-10-01 21:38:01 +00:00
Ehsan Akhgari
7bddc35620
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 14:46:02 -04:00
Ehsan Akhgari
f7fd44ed21
Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-28 14:46:02 -04:00
Noemi Erli
7fb8829472
Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
...
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari
6c662bd61e
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 13:24:41 -04:00
Ehsan Akhgari
b9e7cfe757
Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-28 13:24:40 -04:00
Coroiu Cristina
04995dc1fc
Backed out changeset 39762ef5d56e (bug 1493427) for frequent talos chrome failures a=backout
2018-09-28 07:29:39 +03:00