Commit Graph

1264 Commits

Author SHA1 Message Date
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
awake
ec75e033e6 Bug 1108183 - Regularize case of language subtags in Accept-Language header. r=mcmanus 2014-12-05 19:44:00 +01:00
Geoff Brown
a3e7accefa Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor 2015-03-19 11:00:58 -06:00
Christoph Kerschbaumer
b8da67b867 Bug 1138648 - Update remaining callsites to use newChannel2 in netwerk/ (r=sworkman) 2015-03-09 20:00:55 -07:00
Patrick McManus
43ec2f268a bug 1135160 - implement link rel=preconnect r=smaug 2015-02-20 17:01:36 -05:00
Ryan VanderMeulen
314718f75b Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE
2015-03-09 16:35:06 -04:00
Dragana Damjanovic
beab056b04 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-03-06 06:38:00 -05:00
Dragana Damjanovic
664aedce88 Bug 1135405 - use different multicast addresses for each test. r=michal 2015-03-04 02:34:00 +01:00
Nicholas Hurley
cf652ea015 Bug 1136361 - update node-http2 on ci. rs=mcmanus 2015-02-26 11:00:38 -08:00
Patrick McManus
2c0421d96a Bug 967792 - Make localhost resolve offline. r=dragana 2015-02-25 14:02:38 -05:00
Ryan VanderMeulen
8fcbb92fd8 Backed out changeset 13d9a5e39eb3 (bug 967792) for Gaia unit test failures. 2015-02-25 11:39:14 -05:00
Patrick McManus
f2bdf74d8a bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Daniel Stenberg
8ee450c917 Bug 237623 - introduce "soft" checks for HTTP framing errors, r=mcmanus 2015-02-25 01:16:00 +01:00
Dragana Damjanovic
3c514289ec Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer 2015-02-19 00:14:00 -05:00
Josh Matthews
be893961ee Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
e41adc7788 Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
c1a7e4eed2 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Daniel Holbert
366a50a6e0 Bug 1099296 followup: Drop now-unused variable "kIOServiceCID" from PropertiesTest.cpp. rs=ckerschb 2015-02-17 11:35:13 -08:00
Christoph Kerschbaumer
3b44bb1205 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - websocket changes (r=jduell) 2015-02-17 10:09:58 -08:00
Christoph Kerschbaumer
3a1d79ca07 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman) 2015-02-17 10:09:31 -08:00
Carsten "Tomcat" Book
e0fbe0a076 Backed out changeset d168a14d3f71 (bug 967792) for suspicion of causing OS X xpcshell test failures on a CLOSED TREE 2015-02-17 09:48:33 +01:00
Patrick McManus
87a8028347 bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Chris Peterson
bc857705eb Bug 1133282 - Remove nonstandard expression closures from netwerk. r=mcmanus 2015-01-24 23:50:26 -08:00
Patrick McManus
c2ffe1842c bug 1133156 backout 7abb1cb9739e (bug 237623) for regression r=backout 2015-02-13 22:57:03 -05:00
Valentin Gosu
322dd6f85a Bug 1120985 - nsPartChannel does not return the correct value for isLastPart r=honzab 2015-02-12 00:11:24 +02:00
Valentin Gosu
db55977c02 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
332621b1f2 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
Paolo Amadini
a3cdc63a81 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
db7bb6669a bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
Carsten "Tomcat" Book
ddd75ec6a8 Backed out changeset 7d0e23391d53 (bug 1108957) for breaking nexus builds 2015-02-10 16:01:08 +01:00
Dragana Damjanovic
29e86367aa 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
9f8d9fe372 Bug 237623 - Introduce "soft" checks for HTTP framing errors. r=mcmanus 2015-02-11 05:17:00 -05:00
Patrick McManus
0f97ce2018 bug 1102923 - revert stack trace on rst generation r=backout 2015-02-05 08:20:54 -05:00
Chris Peterson
bfb88731df Bug 1129331 - Remove nonstandard let blocks from netwerk. r=hurley 2015-01-24 23:36:25 -08:00
Patrick McManus
6c41f9ae50 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
b8022bae5d bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Nicholas Hurley
dd60f331a6 Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus
--HG--
extra : rebase_source : e2598f72e6e767c09defd1f49266aaaab7b14505
2015-01-30 11:13:31 -08:00
Nicholas Hurley
0261752854 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
87dfcbbb3f Bug 964024 - mozTXTToHTMLConv should never convert content inside <style>, <script>, <head> tags. r=honzab 2014-02-08 12:39:00 +02:00
jp111
66df738a86 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
82f88215c7 bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Gijs Kruitbosch
60cc51fd47 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
f91bb5be1e Bug 1109238 - Fix dns cancel test. r=mcmanus 2015-01-22 09:25:00 -05:00
Arthur Edelstein
74eea736dc Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Ryan VanderMeulen
1f2021cf36 Bug 1078267 - Remove extraneous skip-if added accidentally.
CLOSED TREE
2015-01-21 13:59:42 -05:00
Ryan VanderMeulen
153a9a3f3e Bug 1078267 - Skip netwerk/test/mochitests/ on Android due to frequent failures. 2015-01-21 13:46:11 -05:00
Patrick McManus
7b7e7dd24b bug 1102923 test_spdy/test_http2 run-sequentially r=test-only 2015-01-21 10:01:07 -05:00
Patrick McManus
db8e9e1cb3 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
25fc306032 bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted 2015-01-15 11:12:05 -05:00
Hiroyuki Ikezoe
da8bdaa669 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
9e5df30030 Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer 2015-01-08 22:38:00 +01:00
Christoph Kerschbaumer
943d34a148 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
a0a77afc6c 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
3ad158e393 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
9c827fcbf3 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
4dfc152b6a Bug 1111137 - Disable test_user_agent_overrides.html on Android due to frequent failures. 2015-01-16 09:59:57 -05:00
Nicholas Hurley
b6a0407c32 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
7064c00566 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
436fd17f9d Bug 1119256 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=jduell 2015-01-14 17:57:08 -05:00
Patrick McManus
8e5e657f04 bug 1119280 - fix large spdy/h2 transfer truncation r=hurley 2015-01-09 10:18:28 -05:00
Christoph Kerschbaumer
e7043cc6be Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Christoph Kerschbaumer
599105c455 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
7e599127d6 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
84e37c2a69 Debugging patch for bug 1111137 2015-01-03 20:08:17 -05:00
Christoph Kerschbaumer
58402cebd6 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
771e31cf81 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
c0d5a6c306 Backed out changeset 8450d74f782e (bug 1000305) for j1 test failures 2014-12-23 11:41:28 +01:00
Ted Clancy
8f4a54653e 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
34eac8c38a bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Mike Hommey
28aabdf057 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
309b4049b4 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
bd450995fd Bug 1107267 - Advertise h2-16. r=mcmanus 2014-12-04 11:50:38 -08:00
awake
f8f6820602 Bug 1054739 - Normalize language tags when setting the Accept-Language header. r=gerv,mcmanus 2014-11-27 15:23:00 +01:00
Shigeki Ohtsu
ed5b0eba30 bug 1105302 - Fix to use indexed encoding for cookies more than 20 bytes r=mcmanus 2014-11-26 23:44:50 +09:00
Patrick McManus
cf33d62e79 bug 1104987 - cleanup h1 instances in h2 tests promptly r=hurley 2014-11-25 16:24:02 -05:00
Nicholas Hurley
a4363c6a62 Bug 1097320 - Enable advertising h2. r=mcmanus 2014-11-25 14:43:27 -08:00
Honza Bambas
250aa6fec3 Bug 1055580 - Intermittent test_cache2-14b-concurent-readers-complete.js | 1 == 3 | 2 == 1 | 3 == 2, r=michal 2014-11-19 18:46:09 +01:00
Patrick McManus
8db144e77a bug 1095859 - proxy tweak r=valentin.gosu 2014-11-17 13:27:12 -05:00
Patrick McManus
5957b8bbfe bug 1097944 - remove spdy/3 2/2 r=hurley 2014-11-17 12:35:06 -05:00
Nicholas Hurley
dc7c5e928e Bug 1094519 - Advertise h2-15 in addition to h2-14. r=mcmanus 2014-11-10 21:17:00 +01:00
Connor
0d246d2171 Bug 575094 - Modify how prefservice is accessed so that it's from the parent process and not from the child process. Also re-enable test_bug528292_wrap.js. r=jdm
--HG--
rename : netwerk/test/unit_ipc/disabled_test_bug528292_wrap.js => netwerk/test/unit_ipc/test_bug528292_wrap.js
2014-10-29 23:58:03 -04:00
Nicholas Hurley
3b1bfa93e7 Bug 1049814 - Retry REFUSED_STREAMs on the same session. r=mcmanus 2014-11-06 09:47:00 -05:00
Nicholas Hurley
8482b91f4f Bug 1091263 - HTTP_1_1_REQUIRED support. r=mcmanus 2014-11-06 09:26:00 -05:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Nicholas Nethercote
ca16f6015d Bug 1089446 - Remove netwerk/test/neckoTiming.pl, which is ancient and unused. r=mcmanus.
--HG--
extra : rebase_source : 0278be94a4e644a05ef5db999b1954e349eef8c0
2014-10-26 19:29:52 -07:00
Chris Manchester
955d7f2456 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Patrick McManus
3a56bb0ba8 bug 1088850 - disable http/1 framing enforcement from bug 237623 r=bagder 2014-10-24 16:19:40 -04:00
Patrick McManus
b040e018ac bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Patrick McManus
f888b135ca Bug 1082039 - nsIHttpChannelInternal.allowSpdy is racy r=hurley 2014-10-13 12:40:45 -04:00
Carsten "Tomcat" Book
1c08ee6d02 Backed out changeset d9026e7165e8 (bug 1082039) for webapp 4 test failures 2014-10-23 14:52:32 +02:00
Patrick McManus
0012151134 bug 1082039 - nsIHttpChannelInternal.allowSpdy is racy r=hurley 2014-10-13 12:40:45 -04:00
Josh Matthews
bde1d32e83 Bug 898524: Part 2 - Avoid IPC roundtrips for synthesized responses. r=mayhemer 2014-10-17 09:55:09 -04:00
Josh Matthews
7dde338c16 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
Dragana Damjanovic
c9443fd0b0 Bug 1081794 - Fixing a test for dns request cancel. On e10s, the dns resolver is sometimes faster than a cancel request. Use a random string to be resolved instead of a fix one. r=sworkman 2014-10-14 10:03:00 +02:00
Christoph Kerschbaumer
faccbd4747 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Jeff Walden
db2c67cc79 Bug 991981 - ArrayBufferInputStream test. r=sfink, r=jdm
--HG--
extra : rebase_source : b50ffa49289aeb42bd4550b846934865b9c6f8d7
2014-04-04 17:34:09 -07:00
Patrick McManus
4ca7aa6973 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Eric Rahm
f6bb65afb3 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
907caa0110 Merge m-c to fx-team. a=merge 2014-10-07 16:14:26 -04:00