Josh Matthews
2016b77367
Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-22 09:23:39 -04:00
Phil Ringnalda
9b09c6aa10
Back out 2 changesets (bug 1173811) for test_synthesized_response.js timeouts
...
CLOSED TREE
Backed out changeset 56bc1314e660 (bug 1173811 )
Backed out changeset 0ad51d302ba9 (bug 1173811 )
2015-10-21 20:21:05 -07:00
Josh Matthews
c9ea727e7e
Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-21 00:05:40 -04:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Michael Layzell
46503fc4c6
Backout of bug 1207233 due to web-compat concerns
2015-10-14 16:06:35 -04:00
Ehsan Akhgari
8944956cd0
Bug 1213150 follow-up: fix build bustage
2015-10-09 11:27:05 -04:00
Ehsan Akhgari
e3870327f5
Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm
2015-10-09 10:52:55 -04:00
Patrick McManus
ad5279560f
bug 1211916 - rename brotli http coding to br r=bagder
2015-10-06 11:03:50 -04:00
Patrick McManus
2a2222ff73
bug 1211580 - cancel brotli failures from channel instead of converter r=bagder
2015-10-05 14:11:26 -04:00
Ben Kelly
e0399323ae
Bug 1210941 P12 Remove http channel's ForceNoIntercept. r=jduell IGNORE IDL
2015-10-06 06:37:07 -07:00
Ben Kelly
9947c45f35
Bug 1210941 P2 Use LOAD_BYPASS_SERVICE_WORKER in HttpBaseChannel instead of mForceNoIntercept. r=jduell
2015-10-06 06:37:06 -07:00
Andrea Marchesini
526d67c413
Bug 1147749 - View source should go through service worker interception, r=bz, r=jduell
2015-10-05 14:46:24 +01:00
Ehsan Akhgari
54f96097cf
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-10-01 18:47:04 -04:00
Ben Kelly
86c80a9ed0
Bug 1208755 HttpBaseChannel::ShouldIntercept() should not assume every channel has a LoadInfo. r=ckerschb
2015-09-30 13:48:37 -07:00
Michael Layzell
f93a8e2029
Bug 1207233 - Don't provide a default content-type header if user calls XHR.setRequestHeader('Content-Type', ''), r=jduell
2015-09-24 16:54:11 -04:00
Patrick McManus
913a4bfe03
bug 366559 - patch 7, content-encoding brotli for https r=bagder
2015-09-22 12:55:23 -04:00
Nikhil Marathe
b4a78c2657
Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
2015-09-17 11:56:41 -07:00
Patrick McManus
0a05347a67
bug 366559 - backout due to android build bustage patch 7 on CLOSED TREE r=backout
2015-09-22 12:47:25 -04:00
Patrick McManus
838aef42ab
bug 366559 - patch 7, content-encoding brotli for https r=bagder
2015-09-18 18:04:28 -04:00
Patrick McManus
52e2a465e6
bug 366559 - patch 6, support different content encodings for http vs https r=bagder
2015-09-19 18:51:32 -04:00
Phil Ringnalda
20263ea42c
Back out 3 changesets (bug 1204596) for b2g test_fetch_cors.html failures
...
Backed out changeset 2662a1ad4cad (bug 1204596)
Backed out changeset cfc4c4ecbbf5 (bug 1204596)
Backed out changeset d10c6f32ce46 (bug 1204596)
2015-09-16 20:51:17 -07:00
Ehsan Akhgari
abe701fe6b
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-09-16 20:38:19 -04:00
Patrick McManus
13da862969
bug 1204614 - use h2 per stream flow control to deal with suspended channels r=hurley
2015-09-11 15:53:27 -04:00
Ben Kelly
12f3bbc49b
Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus
2015-09-15 10:15:45 -07:00
Ehsan Akhgari
19204c5a55
Bug 1199049 - Part 5: Preserve the CORS preflight information when setting up a replacement channel; r=jduell
2015-09-12 19:21:00 -04:00
Ehsan Akhgari
a92bd42d24
Bug 1199049 - Part 2: Add a channel API for requesting CORS preflights; r=jduell
2015-09-12 19:20:54 -04:00
Michael Layzell
4aa2d0bee4
Bug 1200337 - Part 1: Don't expose standard HTTP headers during interception in non-e10s mode, r=mcmanus
2015-09-12 12:46:09 -04:00
Ehsan Akhgari
68e82a9a17
Bug 815299 - Part 1: Add an API for setting an empty request header on an HTTP channel; r=dragana
2015-09-09 07:53:09 -04:00
Nigel Babu
9476f7e7c9
Backed out changeset 8a798c03d76c (bug 815299) for M4 bustage ON A CLOSED TREE
2015-09-09 09:12:41 +05:30
Ehsan Akhgari
95141592e9
Bug 1201229 - Return an empty string for a header when an error occurs; r=dragana
...
This fixes nsIHttpChannel::GetRequestHeader() and
nsIHttpChannel::GetResponseHeader() to always empty out their string
argument even when they fail. This prevents programming mistakes of
passing the same string object to multiple of these calls and using the
string value without checking the nsresult error code, since otherwise
the string value may be unchanged from a previous call.
Note that this doesn't affect JS consumers of these APIs since we only
empty out the string argument in case the method fails, which will be
translated to a JS exception, and the JS code will never get to see the
emptied string.
2015-09-08 20:08:35 -04:00
Ehsan Akhgari
c5831b5f29
Bug 815299 - Part 1: Add an API for setting an empty request header on an HTTP channel; r=dragana
2015-09-08 20:08:31 -04:00
Ben Kelly
6744524b58
Bug 1184607 P3 Add a RedirectMode flag to nsIHttpChannelInternal. r=nsm
...
* * *
Bug 1184607 P3 interdiff 001 http channel nits
2015-08-31 14:26:29 -07:00
Josh Matthews
36ca41bfa2
Bug 1179399 - Add a flag to HttpBaseChannel indicating whether interception is occurring. r=mayhemer
...
Landed on a CLOSED TREE
2015-08-17 16:42:46 -04:00
Nicholas Hurley
bb76d521d7
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
2015-07-31 13:50:08 -07:00
Eric Rahm
c3585b5e0a
Bug 1184275 - Remove warnings that URI is not a file URI. r=jduell
...
This error is handled properly and appears to happen due to legitimate usage.
The warnings are updated to just return the proper error code.
2015-07-23 11:03:25 -07:00
Christoph Kerschbaumer
2ea46a230d
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - channel changes (r=mcmanus,sicking)
2015-05-15 13:21:20 -07:00
Christoph Kerschbaumer
c5c237c336
Bug 1175803 - Store redirect chain within loadInfo - part 2 (r=sicking,mayhemer)
2015-07-19 19:43:09 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Dragana Damjanovic
a02aa928e5
Bug 1170197 - If a channel is suspended in http-on-modify-request, it should not send any trafic untill resumed. r=mayhemer
2015-06-18 10:57:00 -04:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Michal Novotny
7954cfe402
Bug 1173378 - crash in mozilla::net::HttpBaseChannel::OverrideSecurityInfo(nsISupports*), r=ehsan
2015-06-17 13:16:33 +02:00
Eric Rahm
e62c58a87c
Bug 1171716 - Part 5: Use NS_ReleaseOnMainThread in HttpBaseChannel dtor. r=froydnj
2015-06-10 08:33:32 -07:00
Wes Kocher
f418993d89
Backed out 5 changesets (bug 1171716) for android bustage
...
Backed out changeset 4986f8464f9c (bug 1171716)
Backed out changeset bc8405b07d10 (bug 1171716)
Backed out changeset 10e18e494630 (bug 1171716)
Backed out changeset be499a3cae5d (bug 1171716)
Backed out changeset f75717d3eba0 (bug 1171716)
2015-06-09 18:48:37 -07:00
Eric Rahm
af7fc0ba7e
Bug 1171716 - Part 5: Use NS_ReleaseOnMainThread in HttpBaseChannel dtor. r=froydnj
2015-06-09 18:25:48 -07:00
Ehsan Akhgari
7b1c4d874b
Bug 1164397 - Part 2: Add an API for overriding the original URI on HttpChannelBase; r=mcmanus
2015-06-05 15:57:37 -04:00
Josh Matthews
a12c4489e0
Bug 1157283 - Recreate IPC redirected HTTP channels as necessary after intercepting the request in the child. r=mayhemer
2015-05-28 10:47:35 -04:00
Franziskus Kiefer
9f8413d6bd
Bug 1163743 - Change origin-when-crossorigin to origin-when-cross-origin. r=sstamm
2015-05-11 16:18:05 -07:00