Commit Graph

586 Commits

Author SHA1 Message Date
Eugen Sawin
a1ed1388af Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182
2019-07-21 17:18:37 +00:00
Andrea Marchesini
52c7de74a5 Bug 1563313 - Remove too strict assertions in nsHttpChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37161
2019-07-16 14:17:32 +00:00
Mihai Alexandru Michis
f3a540d1a9 Backed out 2 changesets (bug 1563313) for failures in test_protocolproxyservice.js CLOSED TREE
Backed out changeset 0585bc6ff55b (bug 1563313)
Backed out changeset 3b9ef89d8c5c (bug 1563313)
2019-07-15 23:57:57 +03:00
Andrea Marchesini
6f659423a3 Bug 1563313 - Remove too strict assertions in nsHttpChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37161
2019-07-15 13:07:07 +00:00
Ciure Andrei
b8d9a4be2c Backed out 3 changesets (bug 1563313) for causing various xpcshell tests to perma fail CLOSED TREE
Backed out changeset 55ecf0dacd00 (bug 1563313)
Backed out changeset 624d3e47b069 (bug 1563313)
Backed out changeset 5c7df32d9028 (bug 1563313)
2019-07-15 15:46:04 +03:00
Andrea Marchesini
4f45961df7 Bug 1563313 - Remove too strict assertions in nsHttpChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37161
2019-07-15 11:38:09 +00:00
Valentin Gosu
252d385203 Bug 1555036 - If there is a Cross-Origin-Opener-Policy mismatch and the SANDBOXED_AUXILIARY_NAVIGATION is set navigate to a network error r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D34420
2019-06-14 21:48:51 +00:00
Sebastian Streich
c93796ebe8 Bug 1450965 Skip Cors Check for Early WebExtention Redirects r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D30509
2019-06-13 09:57:13 +00:00
Andrea Marchesini
f47626e250 Bug 1436674 - nsICookieService.idl should use ACString XPIDL type in place of the string type, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32662
2019-05-31 09:36:44 +00:00
Valentin Gosu
b229a5db58 Bug 1529911 - Ensure that mOnStartRequestCalled/mOnStopRequestCalled is set just before calling the listener to avoid reentrancy issues r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20499
2019-05-22 13:48:59 +00:00
Valentin Gosu
2303c4c150 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884
2019-05-06 16:38:16 +00:00
Valentin Gosu
46a1f2c844 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883
2019-05-06 16:37:01 +00:00
Bogdan Tara
c1b74b6491 Backed out 3 changesets (bug 1525640) for frequent wpt failures CLOSED TREE
Backed out changeset d9a454afe9bf (bug 1525640)
Backed out changeset 19aa991328cb (bug 1525640)
Backed out changeset 4294abed890f (bug 1525640)
2019-05-03 00:16:20 +03:00
Valentin Gosu
42f1de490b Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884
2019-05-02 12:53:45 +00:00
Valentin Gosu
3b6b28f57e Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883
2019-05-02 12:53:38 +00:00
Thomas Nguyen
e7e625129f Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
Differential Revision: https://phabricator.services.mozilla.com/D22783
2019-05-02 12:34:52 +00:00
Sebastian Hengst
3d8110d95a Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)
2019-04-29 17:39:42 +02:00
dlee
bf90adf51c Bug 1545033 - P2. Add SetMatchedTrackingInfo in nsIClassifiedChannel. r=baku
This patch adds |setMatchedTrackingInfo| to channel to report matches that
are found in tracking annotation tables.

We have done something similar in nsIClassifiedChannel::setMatchedInfo to
report phishing protection matches.

Differential Revision: https://phabricator.services.mozilla.com/D28790
2019-04-26 13:03:50 +00:00
Sebastian Streich
8d14f5fb41 Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D27647
2019-04-25 12:16:35 +00:00
Ryan Hunt
6b09ea12a4 Bug 1534395 - Rename TabParent to BrowserParent. r=nika
This commit renames TabParent to BrowserParent.

Differential Revision: https://phabricator.services.mozilla.com/D28133
2019-04-09 16:38:15 -05:00
Sylvestre Ledru
893cfb7019 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D28329
2019-04-22 16:35:03 +00:00
Ehsan Akhgari
6243533aff Bug 1545251 - Remove the code added in bug 1462432 since it's all dead code; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27972
2019-04-18 06:01:55 +00:00
Eugen Sawin
b3c69817da Bug 1501108 - [1.3] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182
2019-04-16 20:24:29 +00:00
Ehsan Akhgari
629c7c1877 Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D27393
2019-04-15 13:05:10 +00:00
Cosmin Sabou
fba3cb5308 Backed out 4 changesets (bug 1501108) for browser chrome failures on browser_principalSerialization_version1.js. CLOSED TREE
Backed out changeset da28ce3af312 (bug 1501108)
Backed out changeset 1936dde5f34c (bug 1501108)
Backed out changeset de36c9fb8c65 (bug 1501108)
Backed out changeset cad2b29b79d2 (bug 1501108)
2019-04-16 01:10:26 +03:00
Eugen Sawin
9e26bbe7cd Bug 1501108 - [1.2] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182
2019-04-15 20:58:30 +00:00
Coroiu Cristina
fa40ebca1c Merge mozilla-central to autoland a=merge 2019-04-13 15:19:54 +03:00
Coroiu Cristina
9debd64fb0 Backed out 3 changesets (bug 1525640) for causing leaks a=backout
Backed out changeset efdd32c00dc6 (bug 1525640)
Backed out changeset e71641f0465b (bug 1525640)
Backed out changeset e3539a40afdf (bug 1525640)
2019-04-13 14:57:11 +03:00
Ehsan Akhgari
2ffb2f2e8c Bug 1544004 - Rename nsIHttpChannelInternal::cancelByChannelClassifier() to cancelByURLClassifier(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27314
2019-04-12 15:44:02 +00:00
Valentin Gosu
6ea5d2c50f Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884
2019-04-12 13:57:45 +00:00
Valentin Gosu
0980edd505 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883
2019-04-12 13:54:29 +00:00
Valentin Gosu
2ca8d44bf8 Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()

Differential Revision: https://phabricator.services.mozilla.com/D24897
2019-04-09 20:10:51 +00:00
Valentin Gosu
a5601d3bf3 Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23935
2019-04-09 20:10:13 +00:00
Andrea Marchesini
1090e2f7e8 Bug 1487113 - nsHttpChannel should return the Content-Length even when alt-data is available if not delivered, r=valentin
Without this patch, content-length getter returns 0 if we have an available
alt-data because we don't distinguish between having and using it.

Differential Revision: https://phabricator.services.mozilla.com/D24875
2019-03-26 12:00:42 +00:00
Andrea Marchesini
bab3563e61 Bug 1535799 - nsIHttpChannel.isTrackingResource should be a method, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23765
2019-03-17 06:55:50 +00:00
Andrea Marchesini
3474410447 Bug 1535525 - Rename TrackingDummyChannel to ClassifierDummyChannel, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23616
2019-03-15 18:55:10 +00:00
Andrea Marchesini
8aefcca1ab Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 2 - Fingerprinting-annotation, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22342
2019-03-14 17:48:20 +00:00
Andrea Marchesini
9244a75f08 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi
Differential Revision: https://phabricator.services.mozilla.com/D22341
2019-03-14 17:47:59 +00:00
Dorel Luca
f0143b6f4c Merge mozilla-inbound to mozilla-central. a=merge 2019-03-14 18:25:40 +02:00
Christoph Kerschbaumer
d6650de92d Bug 1533159: Add MOZ_RELEASE_ASSERT to all SetLoadInfo implementations to ensure loadinfo is never null. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D23302
2019-03-14 11:38:23 +00:00
Sylvestre Ledru
b31009da86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Dorel Luca
16206f7e66 Backed out 5 changesets (bug 1533074) for eslint failure
Backed out changeset 36c6a7178a5c (bug 1533074)
Backed out changeset 7e6a8fadff5b (bug 1533074)
Backed out changeset 2a0494fed543 (bug 1533074)
Backed out changeset 38470d2dd98c (bug 1533074)
Backed out changeset af4e03d1f5c8 (bug 1533074)
2019-03-14 09:14:15 +02:00
Andrea Marchesini
61d38ac414 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 2 - Fingerprinting-annotation, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22342
2019-03-14 06:32:33 +00:00
Andrea Marchesini
bb69a9567a Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi
Differential Revision: https://phabricator.services.mozilla.com/D22341
2019-03-14 06:31:17 +00:00
Ryan Hunt
6e1157c288 Bug 1523969 part 19 - Move method definition inline comments to new line in 'netwerk/'. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D21120
2019-02-25 16:11:11 -06: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
Jonathan Kingston
8397774fdf Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881
2019-02-27 23:42:27 +00:00
Jonathan Kingston
3ef1df37e1 Bug 1525319 - Removing context from OnStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20770
2019-02-27 23:41:31 +00:00
Jonathan Kingston
649c453cbd Bug 1525319 - Removing context from OnStartRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20769
2019-02-27 23:41:04 +00:00
Ehsan Akhgari
928e5dca8c Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet.  So we would need to re-evaluate this decision after that
information becomes available.  For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.

Differential Revision: https://phabricator.services.mozilla.com/D20901
2019-02-26 21:30:27 +00:00