Nicholas Hurley
bbe78e41bf
Bug 1505388 - fix crash introduced by bug Bug 1434137. r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D11184
--HG--
extra : moz-landing-system : lando
2018-11-07 16:52:57 +00:00
Nicholas Hurley
27190f4a59
Bug 1434137 - Implement websockets over http/2 - RFC 8441 r=michal,dragana
...
https://tools.ietf.org/html/rfc8441
This uses our existing http/2 CONNECT infrastructure (modified) to
enable the new extended CONNECT form defined by 8441, and pretend for
the websocket's sake that an http/2 stream is actually a socket. From
the websocket's point of view, this is relatively non-invasive - a few
things have changed (http response code, absence of some headers) versus
http/1.1 websockets, but for the most part, the websocket code doesn't
care.
Differential Revision: https://phabricator.services.mozilla.com/D8016
--HG--
extra : moz-landing-system : lando
2018-11-06 19:29:57 +00:00
Gurzau Raul
1da9ef02c4
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Junior Hsu
3986ef8afc
Bug 1277496 - use nsHttp::Origin instead of literal cstring r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D10752
--HG--
extra : moz-landing-system : lando
2018-11-05 21:40:36 +00:00
Narcis Beleuzu
9b3f73e696
Merge mozilla-central to inbound. CLOSED TREE
2018-11-05 23:54:03 +02:00
vinoth
e14aa2974e
Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
...
Reviewers: ckerschb
Reviewed By: ckerschb
Subscribers: ckerschb
Bug #: 1504605
Differential Revision: https://phabricator.services.mozilla.com/D10850
--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
ffxbld
de627b48fd
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D10879
--HG--
extra : moz-landing-system : lando
2018-11-05 13:27:19 +00:00
Gerald Squelart
69cacfa74d
Bug 1504347 - Add IDLE markers and AUTO_PROFILER_THREAD_SLEEP around Necko waits - r=mayhemer
...
IDLE markers help with categorizing threads in the profiler UI.
_SLEEP makes the profiler spend less time sampling threads that haven't changed.
Differential Revision: https://phabricator.services.mozilla.com/D10815
--HG--
extra : moz-landing-system : lando
2018-11-05 12:58:51 +00:00
Ciure Andrei
46f758b8b5
Backed out changeset cb84a3ed7bdd (bug 1504557) for nsErrorService leakcheck failures CLOSED TREE
2018-11-05 05:17:40 +02:00
Ehsan Akhgari
e95c3cca7d
Bug 1504557 - Remove the XPCOM registration for nsErrorService r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10848
--HG--
extra : moz-landing-system : lando
2018-11-05 00:43:41 +00:00
Brindusan Cristian
350fbdf6f5
Backed out 2 changesets (bug 1501503) as requested by bradwerth on the ticket.
...
Backed out changeset 814414676c25 (bug 1501503)
Backed out changeset c2d9f82adf43 (bug 1501503)
2018-11-03 15:03:29 +02:00
Ehsan Akhgari
49523b05c4
Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
...
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it. (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)
Differential Revision: https://phabricator.services.mozilla.com/D10664
--HG--
extra : moz-landing-system : lando
2018-11-02 20:14:57 +00:00
Daniel Stenberg
19f477f4ea
Bug 1449355 - Use the right free function in DecodeQOrBase64Str. r=valentin
...
Memory returned from PL_Base64Decode() is allocated with PR_MALLOC and
therefore needs to be freed with PR_FREE(), not free().
Differential Revision: https://phabricator.services.mozilla.com/D10745
--HG--
extra : amend_source : 820c1b987ed179e6f5ff51ec2ec91696588b6fa0
2018-11-02 14:21:28 -04:00
Ciure Andrei
e16ad7a8a8
Backed out changeset 462c7102e2db (bug 1502240) for failures related to nsICookieService CLOSED TREE
2018-11-02 19:24:40 +02:00
Ciure Andrei
26f3fc7fec
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-02 18:48:12 +02:00
Ciure Andrei
83010e5db0
Merge inbound to mozilla-central. a=merge
2018-11-02 18:44:43 +02:00
Ehsan Akhgari
795d456a70
Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
...
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it. (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)
Differential Revision: https://phabricator.services.mozilla.com/D10664
--HG--
extra : moz-landing-system : lando
2018-11-02 12:55:01 +00:00
Andrea Marchesini
6a82516944
Bug 1502055 - test for Clear-Site-Data + 304 http status r=mayhemer
...
--HG--
extra : histedit_source : d0fece4fbb82cca9e70e851d18f40f6edb8cf868
2018-10-31 06:46:00 +02:00
Honza Bambas
f9a8f6aba1
Bug 1502055 - Make nsHttpChannel::ResumeInternal keep order of transaction pump OnStopRequest before cache pump OnStartRequest, r=dragana
...
--HG--
extra : histedit_source : a578146bb50df79f060e341fe9a2fa8be8224aa0
2018-10-31 05:36:00 +02:00
Ehsan Akhgari
abebd286d4
Bug 1503201 - Add a crash test for fetching a subresource served with an invalid authentication realm r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10570
--HG--
extra : moz-landing-system : lando
2018-11-01 16:36:52 +00:00
Ehsan Akhgari
1f7708bb64
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00
Ehsan Akhgari
164805ba94
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00
Ehsan Akhgari
001d26e9ea
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
--HG--
extra : moz-landing-system : lando
2018-11-01 14:21:47 +00:00
ffxbld
1a798e34d6
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D10545
--HG--
extra : moz-landing-system : lando
2018-11-01 12:52:20 +00:00
Thomas Nguyen
6221a528ab
Bug 1501206 - Get referrer policy string in js
...
MozReview-Commit-ID: 2bbk0LkwcXG
Differential Revision: https://phabricator.services.mozilla.com/D10535
--HG--
extra : moz-landing-system : lando
2018-11-01 12:09:15 +00:00
Daniel Stenberg
f784e9ae6a
bug 1503502 - TRR: use blank originSuffix without mRec r=valentin
...
For resolves that aren't associated with a hostrecord (like the initial
NS verification) there is no mRec pointer so set a blank originSuffix
then.
MozReview-Commit-ID: FuTP9qCm2Iu
Differential Revision: https://phabricator.services.mozilla.com/D10366
--HG--
extra : moz-landing-system : lando
2018-11-01 10:12:48 +00:00
Michael Kohler
a2423373a9
Bug 1501621 - Enable ESLint for netwerk/dns/ and netwerk/protocol/ (manual changes) r=dragana,Standard8
...
Depends on D10590
Differential Revision: https://phabricator.services.mozilla.com/D10592
--HG--
extra : moz-landing-system : lando
2018-11-02 10:38:14 +00:00
Michael Kohler
d7204e528f
Bug 1501621 - Enable ESLint for netwerk/dns/ and netwerk/protocol/ (automatic changes) r=dragana,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10590
--HG--
extra : moz-landing-system : lando
2018-11-02 10:38:01 +00:00
Gabriele Svelto
266ef73c96
Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10251
--HG--
extra : moz-landing-system : lando
2018-10-31 20:39:03 +00:00
Brad Werth
d2f14e17cc
Bug 1501503: Report cross-origin load failures in more cases. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D9807
--HG--
extra : moz-landing-system : lando
2018-10-31 18:56:10 +00:00
Jonathan Kingston
3501594596
Bug 1447784 - Upgrade insecure requests should not be applied to potentially trustworthy loopback r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D10367
--HG--
extra : moz-landing-system : lando
2018-10-31 16:04:58 +00:00
Ehsan Akhgari
3da9ced0c9
Bug 1503697 - Record trackers being loaded on a site in the content blocking log; r=baku,francois
...
Differential Revision: https://phabricator.services.mozilla.com/D10439
2018-11-05 13:44:29 -05:00
Cosmin Sabou
f341826914
Merge mozilla-central to mozilla-inbound. a=merge
2018-11-05 18:20:54 +02:00
Ehsan Akhgari
7e258df307
Bug 1504557 - Remove the XPCOM registration for nsErrorService; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10848
2018-11-05 09:44:58 -05:00
Dragana Damjanovic
a65c0c1cb1
Bug 1497994 - Disable TFO for socks proxies. r=nwgh
...
Differential Revision: https://phabricator.services.mozilla.com/D10248
--HG--
extra : moz-landing-system : lando
2018-10-30 17:38:05 +00:00
Kershaw Chang
070976655b
Bug 1484947 - Close the transaction if PR_Read/PR_Write failed, r=nwgh
...
When PR_Read/PR_White returns -1, we have to use ErrorAccordingToNSPR to get the error code. We need to close the transaction if the real error happens.
Differential Revision: https://phabricator.services.mozilla.com/D9674
--HG--
extra : moz-landing-system : lando
2018-10-31 09:32:40 +00:00
Kershaw Chang
fc9640b527
Bug 1496422 - Use top level content window id if the request's window id is not available r=mayhemer
...
The inner window id here is used to log the error message to the right web console.
So, top level content window id should work properly if we can't get the inner window id directly from the request.
Differential Revision: https://phabricator.services.mozilla.com/D9497
--HG--
extra : moz-landing-system : lando
2018-10-30 17:11:17 +00:00
Ciure Andrei
57619c2e49
Merge autoland to mozilla-central. a=merge
2018-10-31 00:04:23 +02:00
Andreea Pavel
3770da1a92
Backed out 3 changesets (bug 1502774) for causing multiple crashes - bug 1503201 a=backout
...
Backed out changeset 6b821f5b12ae (bug 1502774)
Backed out changeset b3bf57d996a7 (bug 1502774)
Backed out changeset 32a581482291 (bug 1502774)
--HG--
rename : extensions/auth/nsIAuthModule.cpp => extensions/auth/nsAuthFactory.cpp
2018-10-30 21:18:29 +02:00
Daniel Stenberg
c20de1888f
bug 1501302 - TRR: pass on correct originSuffix for NS checks r=valentin
...
... when that NS check is used to check the "parent" domain of a
blacklisted host.
Previously, additional TRRblacklist entries due to this would always be
added with the originSuffix "" which was incorrect for all uses of other
suffxes.
MozReview-Commit-ID: EeorQuuRCRX
Differential Revision: https://phabricator.services.mozilla.com/D10192
--HG--
extra : moz-landing-system : lando
2018-10-30 13:06:24 +00:00
Dragana Damjanovic
dd7c87fd1f
Bug 1503011 - Make sure DNSPrefetch is called. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D10118
--HG--
extra : moz-landing-system : lando
2018-10-30 10:27:28 +00:00
Ehsan Akhgari
5fef8e924c
Bug 1501978 - Part 1: Stop honouring the browser.contentblocking.enabled pref in Gecko r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D10074
--HG--
extra : moz-landing-system : lando
2018-10-30 14:30:15 +00:00
Ehsan Akhgari
f5264f90b2
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-10-29 14:59:24 +00:00
Ehsan Akhgari
51908697bd
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-10-29 14:59:16 +00:00
Ehsan Akhgari
a064a33bed
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
--HG--
extra : moz-landing-system : lando
2018-10-29 14:59:14 +00:00
Narcis Beleuzu
3467484554
Backed out 3 changesets (bug 1502774) for mingwclang bustages on include/sspi.h. CLOSED TREE
...
Backed out changeset a1f9c4666855 (bug 1502774)
Backed out changeset 07648e9d8400 (bug 1502774)
Backed out changeset b403c3c786ee (bug 1502774)
--HG--
rename : extensions/auth/nsIAuthModule.cpp => extensions/auth/nsAuthFactory.cpp
2018-10-29 17:01:21 +02:00
Ehsan Akhgari
25048d2d01
Bug 1497014 - Part 1: Pass in a URI hint for all content blocking state notifications r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D9984
--HG--
extra : moz-landing-system : lando
2018-10-29 14:47:55 +00:00
Ehsan Akhgari
7d9df9b0ec
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-10-29 14:40:30 +00:00
Ehsan Akhgari
acc9a12f81
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-10-29 14:40:29 +00:00
Ehsan Akhgari
7a780d8462
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
--HG--
extra : moz-landing-system : lando
2018-10-29 14:40:29 +00:00