Valentin Gosu
6226941606
Bug 1536744 - Make nsIOService.newURI call NS_NewURI, and NS_NewURI call NS_NewURIOnAnyThread r=baku
...
This way all of the nsIURI creation will go through NS_NewURIOnAnyThread.
NS_NewURIOnAnyThread will be renamed to NS_NewURI in the final patch.
Differential Revision: https://phabricator.services.mozilla.com/D30696
--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:47 +00:00
Valentin Gosu
804b1c0cb2
Bug 1536744 - NS_NewURIOnAnyThread should construct nsStandardURLs for smb and sftp URLs r=baku
...
These URL types need both specific applications to be installed on Linux, and for the pref to list them as supported.
We do these checks in nsGIOProtocolHandler::NewChannel instead of performing them when creating the URLs.
Differential Revision: https://phabricator.services.mozilla.com/D30695
--HG--
extra : moz-landing-system : lando
2019-05-28 13:47:18 +00:00
Valentin Gosu
10a3eb98ad
Bug 1536744 - Make SubstitutingProtocolHandler::NewURI only call ResolveJARURI if the host is android r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30694
--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:55 +00:00
Valentin Gosu
552486a275
Bug 1536744 - Add nsAboutProtocolHandler::CreateNewURI() r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30693
--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:35 +00:00
Valentin Gosu
ef2b6cf771
Bug 1536744 - Add nsResProtocolHandler::GetSingleton() r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30692
--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:17 +00:00
Valentin Gosu
33c3bf5390
Bug 1551601 - Do process switch _before_ processing cached redirect r=mayhemer
...
This patch splits ReadFromCache in two - by adding ContinueReadFromCache.
ContinueReadFromCache is called asycly when a cross-process-redirect is
complete.
Sometimes, the channel will be cancelled before the cross-process-redirect
is complete, such as in:
testing/firefox-ui/tests/functional/safebrowsing/test_notification.py
In that case we must make sure to call HandleAsyncAbort if the listener's
onStart/StopRequest callbacks haven't been called.
Differential Revision: https://phabricator.services.mozilla.com/D31226
--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:06 +00:00
Honza Bambas
8e33c5a50b
Bug 1554953 - Fix test_captive_portal_service.js intermittent timeout at shutdown, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D32814
--HG--
extra : moz-landing-system : lando
2019-05-28 12:31:31 +00:00
Andrea Marchesini
4bbb03b93b
Bug 1554527 - Clone the principal for permission checks in CookieSettings only if needed, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32660
--HG--
extra : moz-landing-system : lando
2019-05-27 13:45:42 +00:00
Andrea Marchesini
67e56bf7fb
Bug 1191313 - Get rid of third-party-cookie-accepted and third-party-cookie-rejected notifications, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32665
--HG--
extra : moz-landing-system : lando
2019-05-27 13:27:47 +00:00
Andrea Marchesini
c355651b11
Bug 1416657
- Avoid calling IsThirdPartyChannel() with a nullptr channel in nsCookieService, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32672
--HG--
extra : moz-landing-system : lando
2019-05-27 13:25:12 +00:00
Kershaw Chang
5d000eeb62
Bug 1544619 - Ignore response body if method is HEAD or CONNECT r=mayhemer
...
According to the spec, we should ignore the response body for the HEAD and CONNECT requests.
Differential Revision: https://phabricator.services.mozilla.com/D28678
--HG--
extra : moz-landing-system : lando
2019-05-27 09:08:50 +00:00
Sylvestre Ledru
d57d4905f1
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Julien Wajsberg
b63e2a6156
Bug 1543040 - Report timings for redirects in the child as well r=mayhemer
...
Depends on D31486
Differential Revision: https://phabricator.services.mozilla.com/D31484
--HG--
extra : moz-landing-system : lando
2019-05-22 12:38:32 +00:00
Julien Wajsberg
6073a0fd93
Bug 1543040 - Report transaction timings in the redirect marker r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D31486
--HG--
extra : moz-landing-system : lando
2019-05-22 12:38:25 +00:00
Andrea Marchesini
1f043863ca
Bug 1554138 - nsCookie::Create should return an already_AddRef<> instead of a raw pointer, r=Ehsan
...
Depends on D32461
Differential Revision: https://phabricator.services.mozilla.com/D32462
--HG--
extra : moz-landing-system : lando
2019-05-25 01:32:24 +00:00
Ehsan Akhgari
a5fe850945
Bug 1547813 - Part 9: Ensure the cookie service does third-party checks when the cookie policy is set to nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30118
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:46 +00:00
Ehsan Akhgari
70dba3be94
Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30117
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:43 +00:00
Ehsan Akhgari
ab20502fb9
Bug 1547813 - Part 7: Introduce a storage partitioning API; r=baku
...
This API abstracts away the details of the decision on what context should be
partitioned away from the consumers and centralizes the decision making into
the same location in the code base.
Differential Revision: https://phabricator.services.mozilla.com/D29742
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:41 +00:00
Ehsan Akhgari
e2a2c24b6e
Bug 1547813 - Part 1: Introduce nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
...
This new code designates our new cookie policy for blocking cookies and
storage access from third-party trackers and partitioning the cookie jar
of the rest of third-party resources.
Differential Revision: https://phabricator.services.mozilla.com/D29736
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:23 +00:00
Andrea Marchesini
c926d65d2f
Bug 1553867 - Reduce the number of ClonePrincipalForPermission() call in CookieSettings, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32364
--HG--
extra : moz-landing-system : lando
2019-05-24 19:05:35 +00:00
Andrea Marchesini
52816e049d
Bug 1554137 - nsICookie and nsICookie2 should be builtinclass interfaces, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32461
--HG--
extra : moz-landing-system : lando
2019-05-24 17:01:21 +00:00
arthur.iakab
af8e458c5f
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Dzmitry Malyshau
d3f4d3cc1c
Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
...
Update rand version in u2fhid and xpcom
Differential Revision: https://phabricator.services.mozilla.com/D31669
--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-23 19:54:25 +00:00
Sylvestre Ledru
993c03acb1
Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31769
--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Bogdan Tara
fa8d90211a
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2019-05-23 07:44:57 +03:00
Valentin Gosu
b4b25d6861
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
--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:59 +00:00
Valentin Gosu
33c73bd3eb
Bug 1529911 - Add more tests for cancelling the channel r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20500
--HG--
extra : moz-landing-system : lando
2019-05-22 13:58:55 +00:00
Valentin Gosu
9f3b339e68
Bug 1529911 - Make the httpcancel unit test run in e10s r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20501
--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:31 +00:00
Andrea Marchesini
7b8a38ee05
Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
...
This patch reverts the second part of bug 1548432.
Differential Revision: https://phabricator.services.mozilla.com/D31267
--HG--
extra : moz-landing-system : lando
2019-05-22 06:31:22 +00:00
Christoph Kerschbaumer
b633427366
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Cosmin Sabou
bdf1d2a559
Backed out changeset a10cdf32fb5a (bug 1552549) for causing a spike in xpcshell failures. CLOSED TREE
2019-05-22 02:05:22 +03:00
Dzmitry Malyshau
1298c14a90
Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
...
Update rand version in u2fhid and xpcom
Differential Revision: https://phabricator.services.mozilla.com/D31669
--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-21 19:36:56 +00:00
Nika Layzell
30555bd898
Bug 1540731 - Part 3: Stop releasing actors within ActorDestroy, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D29606
--HG--
extra : moz-landing-system : lando
2019-05-21 17:04:23 +00:00
Liang-Heng Chen
d77a6249b5
Bug 1552431
- handle first/third party correctly; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D31590
--HG--
extra : moz-landing-system : lando
2019-05-21 14:41:58 +00:00
Mihai Alexandru Michis
68421ffba4
Backed out changeset 754426d70d28 (bug 1551729) for causing wpt failures. CLOSED TREE
2019-05-21 15:17:37 +03:00
Andrea Marchesini
32c1b6bb89
Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
...
This patch reverts the second part of bug 1548432.
Differential Revision: https://phabricator.services.mozilla.com/D31267
--HG--
extra : moz-landing-system : lando
2019-05-21 08:57:21 +00:00
Dorel Luca
06b2e4e9d2
Backed out changeset 41c511d9528c (bug 1551729) for causing WPT failures in cookies/http-state/mozilla-tests.html. CLOSED TREE
2019-05-20 23:40:10 +03:00
Daniel Varga
9054636e2c
Backed out 2 changesets (bug 1487113) for mochitest failure at dom/base/test/test_script_loader_js_cache.html.
...
Backed out changeset dce59b615568 (bug 1487113)
Backed out changeset e6f579752678 (bug 1487113)
2019-05-20 21:04:40 +03:00
Shane Caraveo
636c68369c
Bug 1552248 support ftp channel in proxy api r=mayhemer,kmag
...
ChannelWrapper is used throughout webext APIs and it requires a channel to support weakref.
FTPChannel did not, thus ftp requests did not go through proxy.onRequest.
Differential Revision: https://phabricator.services.mozilla.com/D31540
--HG--
extra : moz-landing-system : lando
2019-05-20 15:05:26 +00:00
Andrea Marchesini
b2c76acaf1
Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
...
This patch reverts the second part of bug 1548432.
Differential Revision: https://phabricator.services.mozilla.com/D31267
--HG--
extra : moz-landing-system : lando
2019-05-20 15:16:06 +00:00
Andrea Marchesini
32fb7a2445
Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D31791
--HG--
extra : moz-landing-system : lando
2019-05-20 15:22:47 +00:00
Andrea Marchesini
aa9560f5f0
Bug 1487113 - nsICacheInfoChannel.originalInputStream as attribute, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D31790
--HG--
extra : moz-landing-system : lando
2019-05-20 15:18:25 +00:00
Ryan Hunt
f037851489
Bug 1525720, part 5 - Redirect nsIHttpChannel using content process ID instead of nsIRemoteTab. r=valentin
...
This code currently works for remote subframes assuming that nsIRemoteTab is implemented
by BrowserParent, but will break when nsIRemoteTab is only for a top-level BrowserParent.
What this code really wants is a content process ID to retarget the channel to. This
commit switches the interfaces to pass this around instead of nsIRemoteTab.
Differential Revision: https://phabricator.services.mozilla.com/D31435
--HG--
extra : source : 757b4f595cc4b18ae35483d23edff4896d15d4b1
2019-05-15 12:33:42 -05:00
Gurzau Raul
57f573a6ff
Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
...
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt
3621e207d9
Bug 1525720, part 5 - Redirect nsIHttpChannel using content process ID instead of nsIRemoteTab. r=valentin
...
This code currently works for remote subframes assuming that nsIRemoteTab is implemented
by BrowserParent, but will break when nsIRemoteTab is only for a top-level BrowserParent.
What this code really wants is a content process ID to retarget the channel to. This
commit switches the interfaces to pass this around instead of nsIRemoteTab.
Differential Revision: https://phabricator.services.mozilla.com/D31435
--HG--
extra : rebase_source : be3303c2d38d704a6a1817fa45fd76700fae6287
extra : histedit_source : c7bf1e496f4328acc9ee70fcccdff98ea2cce5df
2019-05-15 12:33:42 -05:00
Andrea Marchesini
62236a7f79
Bug 1550050 - Fix intermittent failures in test_same_base_domain_3.html forcing no cache via HTTP headers, r=valentin
...
At the end of each test, file_chromecommon.js deletes all the cookies, but it
doesn't invalidate the network cache. Some of the files are shared between
tests. When they are loaded from the cache, we don't set the cookies and,
because of this, the tests were reporting a wrong cookie number.
Differential Revision: https://phabricator.services.mozilla.com/D31596
--HG--
extra : moz-landing-system : lando
2019-05-17 11:20:19 +00:00
Jonathan Kew
6476568714
Bug 1256009 - Add U+0138 to IDN character blocklist. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D31595
--HG--
extra : moz-landing-system : lando
2019-05-17 09:19:22 +00:00
Mihai Alexandru Michis
4916ef8c09
Merge mozilla-central to autoland. CLOSED TREE
2019-05-17 12:36:07 +03:00
Nico Grunbaum
07d183b29f
Bug 1551702 - hide DataChannelConnection ctor, and set local port - r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D31343
--HG--
extra : moz-landing-system : lando
2019-05-16 18:43:13 +00:00