Commit Graph

1691 Commits

Author SHA1 Message Date
Valentin Gosu
1ab9fd152a Bug 1120985 - nsPartChannel does not return the correct value for isLastPart r=honzab 2015-02-12 00:11:24 +02:00
Valentin Gosu
0f953b6f12 Bug 1120985 - Allow nsMultiMixedConv to compute its boundary if content-type=application/package r=honzab
Also makes nsMultiMixedConv/nsPartChannel save and return individual headers for each part of the resource file.
2015-02-12 00:11:19 +02:00
Ryan VanderMeulen
9651c57ff8 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
Paolo Amadini
50cc0567a7 Bug 1125618 - Revise NetUtil.jsm API for creating channels and fetching data while providing load info. r=sicking 2015-02-11 17:37:05 +00:00
Patrick McManus
66ba35c626 bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
Carsten "Tomcat" Book
44452c0526 Backed out changeset 7d0e23391d53 (bug 1108957) for breaking nexus builds 2015-02-10 16:01:08 +01:00
Dragana Damjanovic
3238411161 Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer
--HG--
extra : rebase_source : 75ddd83c183db890d7c4adeb22679e7157d53372
2015-02-09 01:52:00 +01:00
Daniel Stenberg
2d47b873af Bug 237623 - Introduce "soft" checks for HTTP framing errors. r=mcmanus 2015-02-11 05:17:00 -05:00
Patrick McManus
c220b0fb12 bug 1102923 - revert stack trace on rst generation r=backout 2015-02-05 08:20:54 -05:00
Chris Peterson
f7890817ff Bug 1129331 - Remove nonstandard let blocks from netwerk. r=hurley 2015-01-24 23:36:25 -08:00
Patrick McManus
578bc58466 bug 1102923 - debug code to get a useful stack during test_spdy.js fail r=hurley 2015-02-02 15:26:08 -05:00
Patrick McManus
92c38efcb0 bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Nicholas Hurley
78cf4bc133 Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus
--HG--
extra : rebase_source : e2598f72e6e767c09defd1f49266aaaab7b14505
2015-01-30 11:13:31 -08:00
Nicholas Hurley
1e8fe60386 No Bug - Fix js whitspace in h2 test and server. r=mcmanus
--HG--
extra : rebase_source : 6d89e846b108828e630c5e3aed8e6075bf533f77
2015-01-30 11:29:14 -08:00
Magnus Melin
23f3f9f4fa Bug 964024 - mozTXTToHTMLConv should never convert content inside <style>, <script>, <head> tags. r=honzab 2014-02-08 12:39:00 +02:00
jp111
6137a8c380 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Patrick McManus
ca5f74b06d bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Gijs Kruitbosch
ee40b67775 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
Dragana Damjanovic
f7cebb25da Bug 1109238 - Fix dns cancel test. r=mcmanus 2015-01-22 09:25:00 -05:00
Arthur Edelstein
dd318c4d2a Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Ryan VanderMeulen
fd8619b2dd Bug 1078267 - Remove extraneous skip-if added accidentally.
CLOSED TREE
2015-01-21 13:59:42 -05:00
Ryan VanderMeulen
a94e410cac Bug 1078267 - Skip netwerk/test/mochitests/ on Android due to frequent failures. 2015-01-21 13:46:11 -05:00
Patrick McManus
aeeb9d2f8b bug 1102923 test_spdy/test_http2 run-sequentially r=test-only 2015-01-21 10:01:07 -05:00
Patrick McManus
175115e709 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
0587d8c35c bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted 2015-01-15 11:12:05 -05:00
Hiroyuki Ikezoe
35ea53baee Bug 1122540 - Set preferences which are necessary for passing xpcshell test on comm-central. r=hurley 2015-01-19 01:03:00 +02:00
Francois Marier
1346294463 Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer 2015-01-08 22:38:00 +01:00
Christoph Kerschbaumer
abb0caed63 Bug 1119006 - Remove files where code is still calling removed NS_OpenURI API (r=mcmanus) 2015-01-14 11:52:57 -08:00
Valentin Gosu
f561749154 Bug 1121826 - backout cc192030c28f - brackets shouldn't be automatically escaped in the Query r=mcmanus 2015-01-17 16:13:21 +02:00
Patrick McManus
d0d97ad7ef bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
--HG--
extra : rebase_source : 4c49f74dc4b7ed8cead65dc3c78a2c8ae5ddf5e3
2015-01-13 15:26:37 -05:00
Patrick McManus
dfe84c8ed8 bug 1121706 - don't offer h2 in alpn if w/out mandatory suite r=hurley
--HG--
extra : rebase_source : 6220a4ace1df2f6cc7f02c98f46b331b251a42d2
2015-01-15 22:11:14 -05:00
Ryan VanderMeulen
c2452803fa Bug 1111137 - Disable test_user_agent_overrides.html on Android due to frequent failures. 2015-01-16 09:59:57 -05:00
Nicholas Hurley
87facfa179 Bug 1009122 - use cache2 as storage for predictor data. r=honzab
--HG--
extra : rebase_source : 290e1aa04a1dfa2e7d6cb9f1b5b705d1ed80e68c
2015-01-14 13:59:04 -08:00
Tooru Fujisawa
f22aabad26 Bug 1117580 - Throw an exception if PR_APPEND is passed without PR_TRUNCATE to nsAtomicFileOutputStream::Init. r=yoric 2015-01-16 00:01:46 +09:00
Ehsan Akhgari
ea2e039efd Bug 1119256 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=jduell 2015-01-14 17:57:08 -05:00
Patrick McManus
a12670699c bug 1119280 - fix large spdy/h2 transfer truncation r=hurley 2015-01-09 10:18:28 -05:00
Christoph Kerschbaumer
54b8e4e5e4 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Christoph Kerschbaumer
1969a22887 Bug 1113323 - Make sure Protocolhandler sets same instance of loadinfo on the newly created channel (r=sicking) 2015-01-11 20:21:37 -08:00
Gavin Sharp
85abd2f149 Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Ehsan Akhgari
ca01209c42 Debugging patch for bug 1111137 2015-01-03 20:08:17 -05:00
Christoph Kerschbaumer
d65c89962c Bug 1087739: Make JS callers of ios.newChannel call ios.newChannel2 in netwerk/ (r=sworkman,tanvi) 2014-10-24 15:16:29 -07:00
Ted Clancy
3ce0451234 Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo 2014-12-20 17:35:40 -05:00
Carsten "Tomcat" Book
d56d8dc16a Backed out changeset 8450d74f782e (bug 1000305) for j1 test failures 2014-12-23 11:41:28 +01:00
Ted Clancy
db641154ee Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo 2014-12-20 17:35:40 -05:00
Patrick McManus
7edbeec28f bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Mike Hommey
541c80f735 Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Nicholas Hurley
f42d623474 Bug 1107267 - Advertise h2-16. r=mcmanus 2014-12-04 11:50:38 -08:00
awake
a032f44b4b Bug 1054739 - Normalize language tags when setting the Accept-Language header. r=gerv,mcmanus 2014-11-27 15:23:00 +01:00
Shigeki Ohtsu
bb18946770 bug 1105302 - Fix to use indexed encoding for cookies more than 20 bytes r=mcmanus 2014-11-26 23:44:50 +09:00