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
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
Ethan Tseng
c894cd0526
Bug 1070944 - Part 2: Implementation of saving statistics. r=albert
2015-01-27 17:15:44 +08: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
Wes Kocher
ec2159dddd
Merge inbound to m-c a=merge CLOSED TREE
2015-02-05 16:55:01 -08: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
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
Patrick McManus
570e623b7f
bug 1102923 - revert stack trace on rst generation r=backout
2015-02-05 08:20:54 -05: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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