Commit Graph

537 Commits

Author SHA1 Message Date
Gijs Kruitbosch
d181f8878e Bug 1125372 - use nsISupports as first param of asyncResolve instead of switching wholesale from nsIURI to nsIChannel, for improved add-on compat, r=mcmanus 2015-01-27 21:30:49 +00:00
Arthur Edelstein
a68e31a789 Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Wes Kocher
33c21387de Backed out changeset fbe9ba3b1e9a (bug 1122691) for m5 orange 2015-01-21 16:48:57 -08:00
Monica Chew
d1f2b7b86c Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus) 2015-01-21 11:33:07 -08:00
Mike Taylor
28e163765c Bug 1121559 - Collect telemetry on WAP content type responses. r=mcmanus 2015-01-16 14:38:00 -05:00
Patrick McManus
c870cb3fa4 bug 1116867 - make nsIProgressEventSink and nsITransportEventSink safely scriptable r=mayhemer r=bz
These scriptable interfaces use uint_64 arguments with sentinel values
of UINT64_MAX. However, UINT64_MAX exceeds MAX_SAFE_INTEGER and cannot
be gatewayed to/from javascript - so they cannot be used
correctly. Change them to use signed 64 bit numbers and -1 as the
sentinnel. C++ implementations ought to be enough to audit as the
special value could never be used correctly in JS anyhow - also
audited OnProgressChange() uses for downstream use of this data.
---
 dom/base/nsXMLHttpRequest.cpp                      | 19 +++++++----
 dom/base/nsXMLHttpRequest.h                        | 10 +++---
 dom/plugins/base/nsPluginStreamListenerPeer.cpp    |  4 +--
 .../webbrowserpersist/nsWebBrowserPersist.cpp      | 14 ++++----
 image/src/imgLoader.cpp                            |  4 +--
 modules/libjar/nsJARChannel.cpp                    |  3 +-
 netwerk/base/public/nsIProgressEventSink.idl       |  8 ++---
 netwerk/base/public/nsITransport.idl               |  8 ++---
 netwerk/base/public/nsNetUtil.h                    | 24 ++++++++++++++
 netwerk/base/src/Dashboard.cpp                     |  2 +-
 netwerk/base/src/nsBaseChannel.cpp                 | 12 +++----
 netwerk/base/src/nsIncrementalDownload.cpp         |  4 +--
 netwerk/base/src/nsSocketTransport2.cpp            |  5 +--
 netwerk/base/src/nsStreamTransportService.cpp      | 38 +++++++++++++---------
 netwerk/base/src/nsTransportUtils.cpp              | 12 +++----
 netwerk/protocol/file/nsFileChannel.cpp            |  8 +++--
 netwerk/protocol/ftp/nsFtpConnectionThread.cpp     |  4 +--
 netwerk/protocol/http/Http2Push.cpp                |  2 +-
 netwerk/protocol/http/Http2Session.cpp             |  2 +-
 netwerk/protocol/http/HttpChannelChild.cpp         | 31 +++++++++---------
 netwerk/protocol/http/HttpChannelChild.h           |  6 ++--
 netwerk/protocol/http/HttpChannelParent.cpp        |  4 +--
 netwerk/protocol/http/HttpChannelParent.h          |  4 +--
 netwerk/protocol/http/NullHttpTransaction.cpp      |  2 +-
 netwerk/protocol/http/PHttpChannel.ipdl            |  2 +-
 netwerk/protocol/http/SpdyPush31.cpp               |  2 +-
 netwerk/protocol/http/SpdySession31.cpp            |  2 +-
 netwerk/protocol/http/TunnelUtils.cpp              |  2 +-
 netwerk/protocol/http/nsAHttpTransaction.h         |  4 +--
 netwerk/protocol/http/nsHttpChannel.cpp            | 30 +++++++++++------
 netwerk/protocol/http/nsHttpConnection.cpp         |  4 +--
 netwerk/protocol/http/nsHttpConnectionMgr.cpp      |  4 +--
 netwerk/protocol/http/nsHttpPipeline.cpp           |  4 +--
 netwerk/protocol/http/nsHttpPipeline.h             |  6 ++--
 netwerk/protocol/http/nsHttpResponseHead.cpp       |  2 +-
 netwerk/protocol/http/nsHttpResponseHead.h         |  2 +-
 netwerk/protocol/http/nsHttpTransaction.cpp        | 32 +++++++++---------
 netwerk/protocol/http/nsHttpTransaction.h          |  2 +-
 netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp   |  2 +-
 netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp      |  3 +-
 netwerk/test/TestIncrementalDownload.cpp           |  7 ++--
 uriloader/base/nsDocLoader.cpp                     | 14 ++++----
 42 files changed, 203 insertions(+), 151 deletions(-)
2015-01-08 14:48:52 -05:00
Patrick McManus
17ab7f34d2 bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2015-01-13 15:26:37 -05:00
Monica Chew
b1e48f47e9 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus)
* * *
Bug 1120547 - Mark the overrides of nsIHttpChannelInternal::ContinueBeginConnect as override and rev the uuid of the interface; r=mmc
2015-01-09 13:25:13 -08:00
Monica Chew
d74dff261b Bug 1100024: CLOSED TREE Backout https://hg.mozilla.org/integration/mozilla-inbound/rev/671ad56e6e12 for causing crashes on ClassifyLocal lookups (r=backout) 2015-01-12 10:05:58 -08:00
Chris Peterson
ad426f785b Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Monica Chew
1103936478 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus) 2015-01-09 13:25:13 -08:00
Ehsan Akhgari
7943855e34 Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Honza Bambas
6f381e32fb Bug 1102172 - Fix possible appache update hang. r=jduell 2014-12-31 18:22:46 -08:00
Patrick McManus
ad2b489529 bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Patrick McManus
d51da3d0b9 bug 1111875 - remove assertion on http size input error r=keeler 2014-12-16 21:35:57 -05:00
Patrick McManus
aef2622e4e Bug 952863, Part 3: Remove more dead code, r=briansmith 2014-12-17 12:58:49 -08:00
Patrick McManus
e841874484 bug 1107881 - h2/spdy :path when proxying shouldn't be absolute uri r=hurley 2014-12-12 11:19:28 -05:00
Masatoshi Kimura
357b6518f2 Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-13 20:09:01 +09:00
Ryan VanderMeulen
fbb86fce55 Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Masatoshi Kimura
684845e89d Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-10 00:54:06 +09:00
Wes Kocher
3c0de68457 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Patrick McManus
b9adc20605 bug 1095859 - proxy tweak r=valentin.gosu 2014-11-17 13:27:12 -05:00
Blake Kaplan
ac95508ee0 Bug 1096530 - Make sure we notify our listener if we were canceled before we redirected. r=mcmanus 2014-11-11 15:05:55 -08:00
Carsten "Tomcat" Book
f4b4457aa8 Merge mozilla-central to fx-team 2014-11-07 15:07:58 +01:00
Mark Goodwin
4cb82a83bd Bug 1068949 - Send SHA-1 deprecation warnings in to the web console. r=mcmanus 2014-11-04 13:25:00 -05:00
Monica Chew
0a957c053e Bug 1088183: Propagate the top window URI to the parent http channel through HttpChannelOpenArgs (a=kwierso,r=jduell,mrbkap) 2014-10-29 17:22:22 -07:00
Patrick McManus
45b91c0db1 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Michal Novotny
86c6386fd0 Bug 1083922 - Doom entry when parsing security info fails, r=mcmanus 2014-10-24 23:44:59 +02:00
Patrick McManus
833b5918c1 Bug 1069724 - all conn reuse after conn pool flush on shift-reload r=hurley 2014-10-13 20:37:59 -04:00
Patrick McManus
ccdf3f12e1 Bug 1082039 - nsIHttpChannelInternal.allowSpdy is racy r=hurley 2014-10-13 12:40:45 -04:00
Carsten "Tomcat" Book
d9e6e0fde8 Backed out changeset 6a917dc8e60c (bug 1069724) for web platform 4 test failures 2014-10-23 14:52:59 +02:00
Carsten "Tomcat" Book
fca5a61285 Backed out changeset d9026e7165e8 (bug 1082039) for webapp 4 test failures 2014-10-23 14:52:32 +02:00
Patrick McManus
cdc62071cb bug 1082039 - nsIHttpChannelInternal.allowSpdy is racy r=hurley 2014-10-13 12:40:45 -04:00
Patrick McManus
ab64e0ecc0 bug 1069724 - all conn reuse after conn pool flush on shift-reload r=hurley 2014-10-13 20:37:59 -04:00
Valentin Gosu
08147194a1 Bug 1057688 - Skip doing a DNSPrefetch when LOAD_NO_NETWORK_IO or ONLY_FROM_CACHE flags are present r=mcmanus 2014-10-20 13:45:30 +03:00
Josh Matthews
df899726ca Bug 898524: Part 2 - Avoid IPC roundtrips for synthesized responses. r=mayhemer 2014-10-17 09:55:09 -04:00
Josh Matthews
9c17c79113 Bug 898524 - Part 1: Permit certain HTTP channels to be intercepted before initiating a network connection. r=mayhemer 2014-07-09 16:35:02 -04:00
Patrick McManus
30e70bb8f9 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Valentin Gosu
08349a5576 Bug 786419 - Part 1 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Valentin Gosu
03c2eb7902 Bug 1064706 - Move nsHttpChannel::GetPerformance to HttpBaseChannel so it can be used in HttpChannelChild r=honzab 2014-10-06 14:33:13 +03:00
Phil Ringnalda
b7b0edc16f Backed out 2 changesets (bug 1003448) since their dependency was backed out
CLOSED TREE

Backed out changeset 61f98b1d29f9 (bug 1003448)
Backed out changeset 8e947d1636f1 (bug 1003448)
2014-10-04 20:10:19 -07:00
Patrick McManus
0dd67344d7 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Honza Bambas
80ef25b104 Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-30 15:32:47 +02:00
Camilo Viecco
7e9d5d9df5 Bug 787133 - (hpkp) Part 1/2. Header Parsing and interface within PSM. r=keeler, r=mcmanus 2014-09-03 10:24:12 -07:00
Ed Morley
ec57b98e4e Backed out changeset 50220dbf59ed (bug 1064258) for xpcshell failures; CLOSED TREE 2014-09-29 17:43:10 +01:00
Honza Bambas
ec11afea75 Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-29 17:01:58 +02:00
Valentin Gosu
55340473ae Bug 1011354 - Use a mutex to guard access to nsHttpTransaction::mConnection. r=mcmanus, r=honzab 2014-09-18 22:21:59 +03:00
Honza Bambas
9886faa27c Bug 1065478 - POSTs are coming from offline application cache, r=jduell 2014-09-16 15:51:51 +02:00
Honza Bambas
f0c2d094c7 Bug 1066726 - Concurrent HTTP cache read and write issues, r=michal+jduell 2014-09-16 15:51:50 +02:00