Monica Chew
077f0913b9
Bug 1130893 - Use GetChannelURIPrincipal instead of GetChannelResultPrincipal in nsChannelClassifier, only call nsChannelClassifier if LOAD_CLASSIFY_URI is set. r=mcmanus r=ckerschb
2015-02-12 22:23:50 -08:00
Mark Goodwin
d3561f73f5
Bug 1092055 - Show security messages for subresources. r=mcmanus
2015-02-09 07:04:00 -05:00
Honza Bambas
241148d1bd
Bug 881830 - Make CORS redirect handling ignore redirects due to an STS upgrade. r=bz
2015-02-10 08:00:00 -05:00
Michal Novotny
e3878b45bc
Bug 1130784 - FAT32 file create limit code is using a bad error number, r=honzab
2015-02-12 11:28:50 +01:00
Valentin Gosu
ee13a97588
Bug 1120985 - nsPartChannel does not return the correct value for isLastPart r=honzab
2015-02-12 00:11:24 +02:00
Valentin Gosu
06e87f0719
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
Nicholas Nethercote
09156539d5
Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
2015-02-02 14:48:58 -08:00
Ryan VanderMeulen
c6447ccf53
Merge m-c to inbound. a=merge
2015-02-11 16:29:25 -05:00
Ryan VanderMeulen
45637153b6
Merge inbound to m-c. a=merge
2015-02-11 16:21:36 -05:00
Paolo Amadini
e6c488f8c8
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
Andrew McCreight
c946357872
Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
...
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Dragana Damjanovic
7062226238
Bug 1123324 - Additional fix for nsHostResolver. r=sworkman
2015-02-10 08:45:00 -05:00
Daniel Stenberg
1ce65800c4
Bug 237623 - Introduce "soft" checks for HTTP framing errors. r=mcmanus
2015-02-11 05:17:00 -05:00
Nicholas Nethercote
a3bfc736ba
Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
2015-02-10 14:39:49 -08:00
Ryan VanderMeulen
256333e4b8
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ryan VanderMeulen
08ce4ac9aa
Backed out changesets b228f986968b and b5721ae2c2cd (bug 1092055) for browser_webconsole_certificate_messages.js failures.
2015-02-10 12:11:39 -05:00
Patrick McManus
3e65150607
bug 1130874 - test for alt-svc -06 h2 extension r=hurley
2015-02-08 09:11:22 -05:00
Patrick McManus
bb53a57af7
bug 1130874 - update h2 alternate service extension to draft-06 r=hurley
2015-02-06 17:45:05 -05:00
Mark Goodwin
f5a3e59966
Bug 1092055 - Show security messages for subresources. r=mcmanus
2015-02-09 07:04:00 -05:00
Carsten "Tomcat" Book
833aa080c8
Backed out changeset 7d0e23391d53 (bug 1108957) for breaking nexus builds
2015-02-10 16:01:08 +01:00
Ethan Tseng
c894cd0526
Bug 1070944 - Part 2: Implementation of saving statistics. r=albert
2015-01-27 17:15:44 +08:00
Dragana Damjanovic
4959d096be
Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer
2015-02-09 01:52:00 +01:00
Masatoshi Kimura
b6814beac2
Bug 1128227 - Add a static TLS insecure fallback whitelist. r=keeler
2015-02-07 13:03:23 +09:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Valentin Gosu
e669794f18
Bug 1116124 - Temporarily return early instead of hitting assertion when status==NS_OK (see bug 1124971) r=mcmanus
2015-02-06 16:19:26 +02:00
Patrick McManus
7ba3854016
bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley
2015-01-30 10:55:07 -05:00
Valentin Gosu
8a4646d9bc
Bug 1120216 - Add telemetry for how often URLs contain !/ or !// or end with a ! r=mcmanus
2015-02-06 15:27:33 +02:00
Wes Kocher
ec2159dddd
Merge inbound to m-c a=merge CLOSED TREE
2015-02-05 16:55:01 -08:00
Kan-Ru Chen (陳侃如)
8dba892982
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Dave Townsend
121d197d22
Bug 1083281: Use flags to determine which chrome and about URIs are loaded in the content process. r=mconley, r=bsmedberg, r=jduell, r=mratcliffe
2015-02-05 08:09:15 -08:00
Kan-Ru Chen (陳侃如)
4a4042f903
Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug
2015-02-05 17:24:39 +08:00
Kan-Ru Chen (陳侃如)
d1351de810
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
d8c6df0517
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Patrick McManus
570e623b7f
bug 1102923 - revert stack trace on rst generation r=backout
2015-02-05 08:20:54 -05:00
Jan de Mooij
b2753ed064
Bug 1125784 - Remove JS_ConvertArguments and JS_ConvertValue. r=jorendorff
2015-02-05 12:01:11 +01:00
Chris Peterson
8654748423
Bug 1129331 - Remove nonstandard let blocks from netwerk. r=hurley
2015-01-24 23:36:25 -08:00
Nicholas Nethercote
a40419dc43
Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
a5bbfabc46
Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
...
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible.
2015-02-01 20:19:08 -08:00
Patrick McManus
d78b4b3c37
bug 1102923 - debug1102923 stack on opt builds too r=hurley
2015-02-04 08:34:11 -05:00
Gervase Markham
8339e305f6
Bug 1126101 - New TLD additions for TLDs contracted with ICANN from 2014-12-23 to 2015-01-26. r=gerv
2015-02-04 13:32:47 +00:00
Damien Tournoud
3d4f4533c7
'Bug 1124625: Add platform.sh to the PSL. Patch by damien@commerceguys.com; r=gerv
2015-02-04 13:30:13 +00:00
Martin
6451871de5
Bug 1094260: Amendment to URL relating to .in entry in PSL. r=gerv
2015-02-04 13:23:17 +00:00
Birunthan Mohanathas
c2eeea910a
Bug 819090 - Replace nsVoidArray with nsTArray in netwerk/cache/. r=michal
2015-01-19 19:50:16 +02:00
Dragana Damjanovic
7ff1e0d62a
Bug 1123324 - Fix host resolve. r=sworkman
2015-02-03 00:16:00 -05:00
Patrick McManus
8f1cf80c24
bug 1102923 - debug code to get a useful stack during test_spdy.js fail r=hurley
2015-02-02 15:26:08 -05:00
Dragana Damjanovic
54c4b431a0
Bug 1106396 - Fix nsHttpChannel::Suspend() in case of content is serve partially from cache and partially from network. r=honzab
2015-01-27 00:50:00 +01:00
Patrick McManus
31eca0ff6f
bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley
2015-02-02 13:42:23 -05:00
Nicholas Hurley
93cfc8a713
Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus
2015-01-30 11:13:31 -08:00
Nicholas Hurley
ea7bd10ed1
Bug 958712 part 2/3 - Allow CONTINUATIONs in PUSH_PROMISEs r=mcmanus
2015-01-30 11:35:20 -08:00
Nicholas Hurley
feabb4986c
Bug 1127568 - Don't assert in debug builds when receiving CONTINUATION on HEADERS. r=mcmanus
2015-01-30 11:34:01 -08:00
Nicholas Hurley
88db1a642b
No Bug - Fix js whitspace in h2 test and server. r=mcmanus
2015-01-30 11:29:14 -08:00
Mike Hommey
50e6916b40
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
2015-02-02 09:56:13 +09:00
Magnus Melin
d441437825
Bug 964024 - mozTXTToHTMLConv should never convert content inside <style>, <script>, <head> tags. r=honzab
2014-02-08 12:39:00 +02:00
Martin Thomson
c811309a83
Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
2015-01-28 14:05:56 -08:00
Masatoshi Kimura
90c7a6b8f8
Bug 1123020 - Remove options to allow unrestricted renegotiation. r=keeler
2015-01-29 21:04:26 +09:00
Patrick McManus
373db355db
bug 1094522 - only claim null transactions for your connection if KA eligible r=hurley CLOSED TREE
2015-01-28 16:56:57 -05:00
jp111
525798f482
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
Masatoshi Kimura
65d35ee16e
Bug 1114816 - Implement TLS intolerance fallback whitelist. r=keeler
2015-01-29 03:52:42 +09:00
Patrick McManus
374c050172
bug 1094522 - claim conns with null transactions instead of starting new ones r=hurley
2015-01-27 21:55:38 -05:00
Monica Chew
ff52b1ff2d
Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus,gcp)
2015-01-21 11:33:07 -08:00
Patrick McManus
2212535cbe
bug 1124717 - 4/4 test r=hurley
2015-01-26 16:41:47 -05:00
Patrick McManus
2be5e09bca
bug 1124717 - 3/4 make h2/spdy default peer max concurrent setting configurable r=hurley
2015-01-26 16:06:44 -05:00
Patrick McManus
f13ebd0616
bug 1124717 - 1/4 h2/spdy fix spin when queuing post/put request over concurrent limit r=hurley
2015-01-23 11:22:22 -05:00
Nicholas Nethercote
550d0cf346
Bug 1124973 (part 3) - Use PL_DHashTableSearch() in nsHostResolver.cpp. r=froydnj,sworkman.
...
Currently nsHostResolver.cpp uses PL_DHashTableLookup() and fails to use
PL_DHASH_ENTRY_IS_{FREE,BUSY} on the result the way it should. However, I think
it gets away with this because it always does this on the result:
if (!he || !he->rec) { /* do stuff with |he->rec| */ }
The |!he| test is useless and always fails, but the |!he->rec| does the right
thing because (a) entry storage is always zeroed when the table is created, (b)
HostDB_ClearEntry() zeroes the |rec| field (via NS_RELEASE). So unused entries
always have a null |rec| field.
Furthermore, |he->rec| is never zero in a used entry because HostDB_InitEntry
always assigns it with a nsHostRecord assigned with infallible new in
nsHostRecord::Create (and there are existing assertions to this effect).
All this means that when this patch switches PL_DHashTableLookup to
PL_DHashTableSearch it can drop the |!he->rec| test and just do this:
if (!he) { /* do stuff with |he->rec| */ }
Finally, there's a comment about HostDB_InitEntry failing which is bogus
because HostDB_InitEntry cannot fail. This patch fixes that too.
2015-01-22 21:25:44 -08:00
Nicholas Nethercote
d761b24aaf
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
2015-01-22 21:06:55 -08:00
Gijs Kruitbosch
13587e096a
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
Wes Kocher
7cb7a0a479
Backed out 12 changesets (bug 1118398, bug 1119593) for zmedia failures
...
Backed out changeset db7c4ffd5a53 (bug 1119593)
Backed out changeset 2832633668c3 (bug 1119593)
Backed out changeset 2f38bbb30cc6 (bug 1119593)
Backed out changeset 46b5bb0665e9 (bug 1119593)
Backed out changeset e97ee52f7803 (bug 1119593)
Backed out changeset f7f0adc1879d (bug 1119593)
Backed out changeset 4ccecd0da80f (bug 1119593)
Backed out changeset 2ea753b42366 (bug 1119593)
Backed out changeset 28d59c42debb (bug 1119593)
Backed out changeset a38d68f15ced (bug 1119593)
Backed out changeset 1d565fc1473c (bug 1119593)
Backed out changeset d28a04536e7e (bug 1118398)
2015-01-27 16:56:02 -08:00
Martin Thomson
03d76b115d
Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
2015-01-27 12:35:58 -08:00
Michal Novotny
cdc4849d47
Bug 1119406 - HTTP cache v2: Doom cache entry when writing of metadata fails, r=honzab
2015-01-27 15:50:18 +01:00
Michal Novotny
9e0728ef38
Bug 1120945 - HTTP cache v2: maximum number of entries is limited to 13106 on FAT32, r=honzab
2015-01-27 02:29:02 +01:00
Fabrice Desré
484514a8d2
Bug 1115935 - Opt out of the "Mobile" part in the UA string for standard b2g desktop builds r=gal
2015-01-23 22:00:50 -08:00
Phil Ringnalda
e5a01106a6
Merge m-c to a CLOSED TREE m-i
2015-01-23 22:00:41 -08:00
Ryan VanderMeulen
5de6bf9c0f
Merge m-c to b2g-inbound. a=merge
2015-01-23 12:32:39 -05:00
Jonathan Hao
72451b9151
Bug 1119681 - [RTSP] Add time stamps to RTSP live streams. r=ettseng, r=bechen
2015-01-23 10:04:53 +08:00
Honza Bambas
845bc50083
Bug 1123840 - "crash in libsystem_platform.dylib@0x51e0". r=honzab.moz
2015-01-22 13:51:00 +01:00
Wes Kocher
b4a6c7a1e6
Backed out changeset d11387c52d67 (bug 1106396) for causing crashes for NoScript users on a CLOSED TREE
2015-01-22 11:13:40 -08:00
Nicholas Nethercote
4d6e493d5f
Bug 1123527 - Fix syntax error when ERR_REPORTING_SYSLOG is defined. r=jesup.
...
cppcheck found this.
2015-01-21 22:21:31 -08:00
Daniel Holbert
d7054210e9
Bug 1124784: Annotate HttpBaseChannel::GetProxyURI as MOZ_OVERRIDE. r=mcmanus
...
DONTBUILD because just backing out & re-landing to fix bug number
2015-01-22 15:15:50 -08:00
Daniel Holbert
da4b50baf7
backout 132eece96f8f for landing with wrong bug number
...
DONTBUILD because just backing out & re-landing to fix bug number
2015-01-22 15:15:35 -08:00
Daniel Holbert
5de4264356
Bug 1124748: Annotate HttpBaseChannel::GetProxyURI as MOZ_OVERRIDE. r=mcmanus
2015-01-22 15:12:10 -08:00
Arthur Edelstein
df009957a0
Bug 436344 - Allow filtering of proxies by channel. r=mcmanus
2015-01-21 21:13:00 +01:00
Ehsan Akhgari
6007c6bc1a
Bug 1123004 - Mark ReadSegmentsState as stack class, and its mThisStream member as nsCOMPtr; r=froydnj
2015-01-21 22:42:38 -05:00
Wes Kocher
bf2112c3b8
Backed out changeset 5970fced4222 (bug 1118398) for zmedia failures on a CLOSED TREE
2015-01-21 18:17:56 -08:00
Dragana Damjanovic
1a37d019b2
Bug 1109238 - Fix dns cancel test. r=mcmanus
2015-01-22 09:25:00 -05:00
Wes Kocher
8d626b3a65
Backed out changeset fbe9ba3b1e9a (bug 1122691) for m5 orange
2015-01-21 16:48:57 -08:00
Monica Chew
d8a258b91e
Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus)
2015-01-21 11:33:07 -08:00
Martin Thomson
68dd077292
Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
2015-01-21 14:34:13 -08:00
Honza Bambas
c836ff2a71
Bug 1123732 - Null-check uri before trying to use it. r=mcmanus
...
CLOSED TREE
2015-01-20 08:30:00 -05:00
Ryan VanderMeulen
1c6ef195cd
Bug 1078267 - Remove extraneous skip-if added accidentally.
...
CLOSED TREE
2015-01-21 13:59:42 -05:00
Ryan VanderMeulen
6239f676ba
Bug 1078267 - Skip netwerk/test/mochitests/ on Android due to frequent failures.
2015-01-21 13:46:11 -05:00
Patrick McManus
3a7debf4ae
bug 1102923 test_spdy/test_http2 run-sequentially r=test-only
2015-01-21 10:01:07 -05:00
Carsten "Tomcat" Book
adba590b8a
merge mozilla-inbound to mozilla-central a=merge
2015-01-21 14:21:49 +01:00
Dragana Damjanovic
871a10432b
Bug 1106396 - Add some checks so that we can detect that a redirect has not been completed properly. r=mayhemer
2015-01-20 06:54:00 -05:00
James Kitchener
0463ec8f7b
Bug 1100184 - Use absolute paths in /network local includes. r=gps
2015-01-16 20:41:06 +10:30
Mike Taylor
f86a164847
Bug 1121559 - Collect telemetry on WAP content type responses. r=mcmanus
2015-01-16 14:38:00 -05:00
James Kitchener
e8e8898a14
Bug 1100184 - Flatten netwerk/streamconv/(public|src)/ directories. r=mcmanus, r=poiru
2015-01-03 17:42:00 -05:00
James Kitchener
6a912052bb
Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru
2015-01-20 03:58:00 -05:00
Patrick McManus
fdaefb68d6
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
1ce43f94fb
bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted
2015-01-15 11:12:05 -05:00
Nicholas Nethercote
9a918a72c0
Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
...
This encapsulates most of the uses of PLDHashTable::ops.
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
fa52a2c4c9
Bug 1123151 (part 1) - Set PLDHashTable::ops consistently. r=froydnj.
...
Currently the setting of PLDHashTable::ops is very haphazard.
- PLDHashTable has no constructor, so it's not auto-nulled, so lots of places
null it themselves.
- In the fallible PLDHashTable::Init() function, if the entry storage
allocation fails we'll be left with a table that has |ops| set -- indicating
it's been initialized -- but has null entry storage. I'm not certain this can
cause problems but it feels unsafe, and some (but not all) callers of Init()
null it on failure.
- PLDHashTable does not null |ops| in Finish(), so some (but not all) callers
do this themselves.
This patch makes things simpler.
- It adds a constructor that zeroes |ops|.
- It modifies Init() so that it only sets |ops| once success is ensured.
- It zeroes |ops| in Finish().
- Finally, it removes all the now-unnecessary |ops| nulling done by the users
of PLDHashTable.
2015-01-19 16:01:24 -08:00
Hiroyuki Ikezoe
21fdcf295c
Bug 1122540 - Set preferences which are necessary for passing xpcshell test on comm-central. r=hurley
2015-01-19 01:03:00 +02:00
Andrea Marchesini
1662f72884
Bug 1123021 - Better life-time management for WebSocketChannelChild, r=smaug
2015-01-19 17:21:20 +00:00
Francois Marier
5a5437f536
Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer
2015-01-08 22:38:00 +01:00
Christoph Kerschbaumer
6a281b98c4
Bug 1119006 - Remove files where code is still calling removed NS_OpenURI API (r=mcmanus)
2015-01-14 11:52:57 -08:00
Jeff Muizelaar
4a40f4c6b0
Bug 1114999 - Part 3: Use automatic memory management for mObjsToRelease; r=novotny
2015-01-15 18:19:26 -05:00
Nicholas Nethercote
22e70962bf
Bug 1123527 - Avoid a leak on realloc failure in nsMultiMixedConv.cpp. r=mcmanus.
2015-01-19 19:49:23 -08:00
Valentin Gosu
945abc4b56
Bug 1121826 - backout cc192030c28f - brackets shouldn't be automatically escaped in the Query r=mcmanus
2015-01-17 16:13:21 +02:00
Nicholas Hurley
2f2381bfa0
Bug 1122532 - ensure making new URIs actually succeeds. r=mcmanus
2015-01-16 07:32:26 -08:00
Kyle Huey
2a6f8887b5
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Patrick McManus
9471b8af60
bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
2015-01-13 15:26:37 -05:00
Patrick McManus
6f38eaa9ad
bug 1072478 - h2 push loses fin bit race condition 1/2 r=hurley
2015-01-13 15:26:23 -05:00
Patrick McManus
016ca2d162
bug 1121706 - don't offer h2 in alpn if w/out mandatory suite r=hurley
2015-01-15 22:11:14 -05:00
Benjamin Peterson
cc83f97c41
No bug - fix typo r=me DONTBUILD
2015-01-16 10:32:55 -05:00
Ryan VanderMeulen
64887078d6
Bug 1111137 - Disable test_user_agent_overrides.html on Android due to frequent failures.
2015-01-16 09:59:57 -05:00
Dragana Damjanovic
128ae88e05
Bug 1108971 - Fix parameter in call GetAddrInfo. r=sworkman
2015-01-15 01:21:00 +01:00
Nicholas Nethercote
14f46aac14
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Nicholas Nethercote
17b55c0b9e
Bug 1121304 (part 1, attempt 2) - Minor type clean-ups for PLDHashTable. r=froydnj.
2015-01-14 14:35:45 -08:00
Wes Kocher
475bf1e4f4
Backed out changeset 3caf22d78fc5 (bug 1114999) for cache leaks on a CLOSED TREE
2015-01-15 16:31:34 -08:00
Ehsan Akhgari
aa3838da08
Bug 1116545 - Remove the code to handle shutdown-cleanse from the cache service; r=novotny
...
shutdown-cleanse has not been a thing for quite a while.
2015-01-15 18:21:42 -05:00
Jeff Muizelaar
e39509db84
Bug 1114999 - Part 3: Use automatic memory management for mObjsToRelease; r=novotny
2015-01-15 18:19:26 -05:00
Nicholas Hurley
e70fa84f7f
Bug 1009122 - use cache2 as storage for predictor data. r=honzab
2015-01-14 13:59:04 -08:00
Tooru Fujisawa
512bb0faad
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
Daniel Stenberg
1515334cca
Bug 1008091 - send network change events on FxOS and Linux, r=sworkman
2015-01-15 00:22:00 +01:00
Dragana Damjanovic
7ac7412854
Bug 862856 - Send Http Activity notifications for speculative connections. r=mcmanus
2015-01-14 03:54:00 +01:00
Phil Ringnalda
cb85f01b15
Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
...
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
60d7115c86
Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Nicholas Nethercote
08af04376d
Bug 1121304 (part 1) - Minor type clean-ups for PLDHashTable. r=froydnj.
2015-01-14 14:35:45 -08:00
Nicholas Nethercote
c4c1173204
Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
2015-01-13 19:02:35 -08:00
Nicholas Nethercote
7c92773a6f
Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
2015-01-13 16:42:13 -08:00
Brian Smith
a98161a0cc
Bug 1119776, Part 5: Avoid defining snprintf when MSVC provides it (netwerk), r=rjesup
2015-01-08 22:33:57 -08:00
Ehsan Akhgari
94aec5506b
Bug 1119256 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=jduell
2015-01-14 17:57:08 -05:00
Nicholas Hurley
262ae33576
Bug 1121530 - improve poll failure logging. r=mcmanus
2015-01-14 08:39:09 -08:00
Monica Chew
150a1d0d94
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
Michal Novotny
bea6151fe1
Bug 1117585 - Disk consumption observers could get released on the cache thread, r=jduell
2015-01-14 15:38:27 +01:00
Patrick McManus
6410881e35
bug 1121058 - h2 assert stream id before cleanup r=hurley
2015-01-13 13:10:38 -05:00
Andrea Marchesini
d1ce29042b
Bug 1111971 - patch 2 - private DTOR for ListenerAndContextContainer, CLOSED TREE
2015-01-13 19:26:59 +00:00
Andrea Marchesini
802a5d0f26
Bug 1111971 - A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
...
CLOSED TREE
2015-01-13 14:03:56 -05:00
James Cheng
c6ca061600
Bug 1104422 - Use PBrowserOrId to replace tabChild in SendAsyncOpen. r=honzab
2015-01-11 18:35:00 +01:00
Daniel Stenberg
e9a79e0fff
Bug 1119717 - add nsNotifyAddr logging. r=mcmanus
2015-01-09 02:29:00 +01:00
Valentin Gosu
c33039bcd2
Bug 1093611 - nsStandardURL::SetRef only does percent-encoding if dom.url.encode_decode_hash is true r=honzab
2015-01-13 02:11:02 +02:00
Patrick McManus
f0cb6227fd
bug 1119280 - fix large spdy/h2 transfer truncation r=hurley
2015-01-09 10:18:28 -05:00
Monica Chew
0c423e29b7
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
Christoph Kerschbaumer
8bb0600bb8
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Christoph Kerschbaumer
9a56218f41
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
Chris Peterson
788b55997d
Bug 1120159 - Replace nonstandard expression closure with an arrow function in file:// directory listing. r=mcmanus
2015-01-10 23:20:22 -08:00
Randell Jesup
94b8f7e852
Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg relanding on a CLOSED TREE
...
--HG--
extra : amend_source : 4351ac6c3a17885cd5a24d19c080ff8aa610de3f
2015-01-11 00:28:34 -05:00
Tom Schuster
a1fc33823a
Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE
2015-01-11 20:43:32 +01:00
Randell Jesup
9f7f2ab5b9
Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg
2015-01-11 00:28:34 -05:00
Masatoshi Kimura
40a556102e
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Chris Peterson
90751d5a6c
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Jim Chen
67f8ab8931
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Michal Novotny
46ce05e652
Bug 1038554
- fix potential wrong file offset calculation in CacheIndex::ParseRecords() and CacheIndex::ParseJournal(), r=honzab
2015-01-10 01:21:04 +01:00
Monica Chew
86f5817ec9
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
Patrick McManus
fc5bc7b4d5
bug 1072478 backout 047afa953b9c for 1119810 and 1119926 r=backout
...
--HG--
extra : rebase_source : b8b40dc036ed2c49ab82691d339ee2a90a03ad4b
2015-01-09 15:33:58 -05:00
Patrick McManus
95aabc005c
bug 1072478 backout 28fff54451dd for 1119810 and 1119926 r=backout
...
--HG--
extra : rebase_source : 46e7ccae81bf27f468171c240a926d421366a33b
2015-01-09 15:33:27 -05:00
Ryan VanderMeulen
3eeaeacf04
Backed out changeset c358e102e573 (bug 1008091) for B2G mochitest failures.
...
CLOSED TREE
2015-01-09 11:54:14 -05:00
Carsten "Tomcat" Book
cf45b45207
Backed out changeset fce8528ac1e2 (bug 1111971) for M-1/M-4 Test failures on a CLOSED TREE
2015-01-09 16:25:06 +01:00
Valentin Gosu
2534e0e8aa
Bug 1119240 - Fix warning in CacheFile::PadChunkWithZeroes r=michal
2015-01-09 16:36:54 +02:00
Andrea Marchesini
d794b4558d
Bug 1111971 - A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
...
--HG--
extra : rebase_source : b519e933fd73367926ce4104997fae14a1db48bc
2015-01-09 09:23:13 -05:00
Daniel Stenberg
dbb7778c54
Bug 1008091 - Send network change events on FxOS and Linux. r=sworkman
2015-01-07 03:20:00 -05:00
Alex Verstak
5b8f00360b
Bug 1113438 - Update SetReferrerWithPolicy to (a) send referrer when https->http and policy is ORIGIN_WHEN_XORIGIN and (b) use the triggering principal for this cross-origin check. r=sstamm,mcmanus
2015-01-08 01:46:00 +01:00
Dragana Damjanovic
9fa1d23668
Bug 1112112 - Adding logging for e10s channel. r=jduell
2015-01-08 06:27:00 +01:00
Ehsan Akhgari
bd52bd3f4e
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ryan VanderMeulen
95d1074c03
Backed out changesets 41d0ad0271a6, 2bda66cf60fd, and dd1fc46d4d56 (bug 1118845) for B2G mochitest failures.
...
CLOSED TREE
--HG--
extra : amend_source : 19240e92f40420f384a7835383cbb2be75350ddc
2015-01-08 21:50:19 -05:00
Ben Kelly
effd6ddbad
Bug 1118845 P2 Add optional base load group to NS_NewLoadGroup(). r=mcmanus
2015-01-08 19:52:22 -05:00
Christoph Kerschbaumer
872d70153b
Bug 1118534 - Comment updates in nsIContentPolicy, nsIOService.idl, nsNetutil.h, NetUtil.jsm (r=sicking)
2015-01-06 17:01:07 -08:00
Michael Pruett
c1d94593ae
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Christoph Kerschbaumer
8c0ee40abf
Bug 1107638 - Add innerWindowID to LoadInfo (r=sicking,jduell)
2015-01-07 15:51:20 -08:00
Botond Ballo
35efbf4f5a
Bug 1073003 - Fix more -Wunused-variable and -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : rebase_source : bb768dd07c19dc39994d5cca6e0f59048d12130a
2014-12-17 18:05:28 -05:00
Ryan VanderMeulen
dffbfdf6fa
Backed out changeset 577febac3790 (bug 1100024) for Talos xperf regressions.
...
CLOSED TREE
2015-01-06 17:41:15 -05:00
Ehsan Akhgari
3799d571b8
Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel
2015-01-06 16:30:03 -05:00
Monica Chew
2dd57568f6
Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus)
2015-01-06 10:49:47 -08:00
Valentin Gosu
7d39659fed
Bug 1113683 - Add dummy NullHttpChannel r=mcmanus
2015-01-06 19:26:10 +02:00
Ryan VanderMeulen
2a41e56c16
Merge fx-team to m-c. a=merge
...
CLOSED TREE
2015-01-06 10:55:03 -05:00
Wes Kocher
8733eb1d81
Merge m-c to fx-team a=merge
2015-01-05 17:29:14 -08:00
Gavin Sharp
ef5aee70ca
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
9c0b003daf
Debugging patch for bug 1111137
2015-01-03 20:08:17 -05:00
Patrick McManus
a72311ef3c
bug 1113065 - spdy should not close session on imglib error r=bagder r=seth
2014-12-22 11:03:05 -05:00
Patrick McManus
48e3a56b2a
bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
2014-10-15 11:51:25 -04:00
Patrick McManus
59a864cc46
bug 1072478 - h2 push loses fin bit race condition 1/2 r=hurley
2014-10-16 16:42:14 -04:00
Andrew Bartlett
c89715476a
Bug 423758 - Add NTLMv2 to internal NTLM handler. r=keeler
...
NTLMv2 is the default.
This adds a new preference:
network.ntlm.force-generic-ntlm-v1
This is to allow use of NTLMv1 in case issues are found in the NTLMv2
handler, or when contacting a server or backing DC that does not
support NTLMv2 for any reason.
To support this, we also:
- Revert "Bug 1030426 - network.negotiate-auth.allow-insecure-ntlm-v1-https allows sending NTLMv1 credentials in plain to HTTP proxies, r=mcmanus"
- Revert "Bug 1023748 - Allow NTLMv1 over SSL/TLS by default, r=jduell"
- Remove LM code from internal NTLM handler
The LM response should essentially never be sent, the last practical
use case was CIFS connections to Windows 9X, I have never seen a web
server that could only do LM
It is removed before the NTLMv2 work is done so as to avoid having 3
possible states here (LM, NTLM, NTLMv2) to control via preferences.
Developed with Garming Sam <garming@catalyst.net.nz>
2014-12-22 15:55:00 -05:00
Andrea Marchesini
fc7374aeab
Bug 1112307 - Use a thread-safe ChannelEventQueue. r=jduell
2015-01-05 17:31:19 -05:00
Ryan VanderMeulen
7b104d55d1
Bug 1115219 - Remove unnecessary RELEASE_BUILD check from GetAddrInfo.h. r=mcmanus
2015-01-02 16:51:04 -05:00
Ehsan Akhgari
b3a9917cc8
Bug 1117042 follow-up: Fix the test bustage, landed on a CLOSED TREE
...
Removing these methods causes an infinite recursion because the equivalent
64-bit functions would end up tail-recursing.
2015-01-02 10:26:40 -05:00
Ehsan Akhgari
9f7a9d5571
Bug 1117042 follow-up: Fix a build bustage
2015-01-02 09:28:37 -05:00
Ehsan Akhgari
897c4949cc
Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus
2015-01-02 09:04:04 -05:00
Ehsan Akhgari
3dbef5fefb
Bug 1116555 - Remove the code to handle shutdown-cleanse from the cookie service; r=mcmanus
...
shutdown-cleanse has not been a thing for quite a while.
2015-01-02 08:45:06 -05:00
Jason Duell
657fc03522
Bug 1108916 - app:// channels could skip calling OnStopRequest. r=hurley
2014-12-31 18:23:58 -08:00
Honza Bambas
00b60d87a3
Bug 1102172 - Fix possible appache update hang. r=jduell
2014-12-31 18:22:46 -08:00
David Erceg
8927ea5bc7
Bug 1111848 - Remove nsISiteSecurityService.shouldIgnoreHeaders and implementation. r=keeler
2014-12-22 20:26:49 +11:00
Gervase Markham
5fee38d724
Bug 1114762 - New TLD additions for TLDs contracted with ICANN through 12/22/2014
2014-12-29 12:50:22 -08:00
Christoph Kerschbaumer
1550df19f7
Bug 1087739: Make JS callers of ios.newChannel call ios.newChannel2 in netwerk/ (r=sworkman,tanvi)
2014-10-24 15:16:29 -07:00
Michal Novotny
2296e00d57
Bug 792831 - WebSocket permessage compression extension, r=jduell
2014-12-29 12:43:40 +01:00
Masatoshi Kimura
507586aa3c
Bug 1114295 - Remove the dead pref for TLS_DHE_DSS_WITH_AES_128_CBC_SHA. r=keeler
2014-12-24 22:21:12 +09:00
Wes Kocher
4b500e5899
Merge inbound to mozilla-central a=merge CLOSED TREE
2014-12-23 16:47:42 -08:00
Monica Chew
56633ce4b4
Bug 1108009 - Make synchronous interface nsIURIClassifier.ClassifyLocal. r=gcp
2014-12-18 10:18:09 -08:00
Blake
0e978788b4
Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir
2014-12-23 10:20:25 +08:00