Ben Kelly
1abde6a319
Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan
2015-10-26 08:25:16 -07:00
Ehsan Akhgari
861bbb31bc
Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky
2015-10-23 15:38:47 -04:00
Ben Kelly
bd2ac6606b
Bug 1212904 P4 Set channel tainting in FetchEvent.respondWith(). r=ehsan
2015-10-22 11:07:32 -07:00
Ben Kelly
b2d6605bc7
Bug 1212904 P3 Make FetchDriver look for the channel Tainting value. r=ehsan
2015-10-22 11:07:32 -07:00
Ben Kelly
e19ed00d9c
Bug 1212904 P0 Do not abuse fetch response tainting to create opaqueredirect responses. r=ehsan
2015-10-22 11:07:32 -07:00
Ehsan Akhgari
9b801bb357
Bug 1216822 - Make sure that using an invalid Content-Type when constructing a Response object doesn't throw; r=bkelly
2015-10-21 16:06:34 -04:00
Ehsan Akhgari
1d841dee7d
Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly
2015-10-20 10:21:11 -04:00
Ehsan Akhgari
e98576e61b
Bug 1108181 - Make Headers iterable; r=bzbarsky
2015-10-20 07:45:32 -04:00
Nigel Babu
98814e7369
Backed out changeset 4b38a09cca56 (bug 1189673) for W(4) and W(8) bustages ON A CLOSED TREE
2015-10-20 13:52:22 +05:30
Phil Ringnalda
3f12d8ed82
Back out 069effcd9de6 (bug 1108181) for wpt bustage that shouldn't have happened
2015-10-19 21:21:56 -07:00
Ehsan Akhgari
50bb6fe991
Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly
2015-10-19 21:54:38 -04:00
Ehsan Akhgari
c9090e8809
Bug 1108181 - Make Headers iterable; r=bzbarsky
2015-10-19 21:53:56 -04:00
Jonas Sicking
04721f08a3
Bug 1215746
: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
a13832cc8d
Bug 1195167 part 6: Some code simplification since necko handles fetch recursion. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
7d6a379dfa
Bug 1195167 part 5: Make FetchDriver use AsyncOpen2. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
fd40fe88e9
Bug 1195167 part 4: Remove FetchDriver::BasicFetch since it is empty. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
4a0cdd109f
Bug 1195167 part 3: Remove more scheme-specific handling from FetchDriver. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
1386e9121e
Bug 1195167 part 2: Remove redundant aCORSFlag argument and instead use mCORSFlagEverSet. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
cb20342f87
Bug 1195167 part 1: Let necko handle all protocols. r=bkelly
2015-10-19 18:24:36 -07:00
Ben Kelly
bc4d77476e
Bug 1212433 Fail fetch() calls that require preflight and also redirect. r=sicking a=abillings
2015-10-19 13:23:29 -07:00
Nathan Froyd
e4e2da55c9
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
Jonas Sicking
da61915607
Bug 1211751: Remove nsIChannelEventSink-forwarding from EventSource and FetchDriver. It's never needed. r=smaug
2015-10-08 13:41:38 -07:00
Ben Kelly
3d37b4ca1a
Bug 1206124 P1 Fix "same-origin" CORS credentials in FetchDriver. r=ehsan
2015-10-07 14:33:31 -07:00
Ben Kelly
a6f4c63338
Bug 1210941 P6 Use LOAD_BYPASS_SERVICE_WORKER instead of ForceNoIntercept in FetchDriver. r=ehsan
2015-10-06 06:37:07 -07:00
Andrew McCreight
ebefdc0be5
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Wes Kocher
15f8ac0988
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
48a2601390
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
be7e493588
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
4428f7b6fa
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Ehsan Akhgari
7c34ae4247
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
Miko Mynttinen
60367d22aa
Bug 1187011 - Don't allow response body with null body status. r=bkelly
2015-09-30 21:50:10 +03:00
Catalin Badea
52479a4291
Bug 1207850 - Temporary fix for canceling the pump used by FetchBody. r=nsm
2015-09-30 19:11:04 -04:00
Wes Kocher
9a41892833
Backed out changeset 026a924b9228 (bug 1207850) for test_fetch_cors failures CLOSED TREE
2015-09-30 11:11:34 -07:00
Catalin Badea
c91ca623d4
Bug 1207850 - Temporary fix for canceling the pump used by FetchBody. r=nsm
2015-09-30 10:14:34 -04:00
Christoph Kerschbaumer
fee0447dc8
Bug 1048048 - add preload content policy types (r=ehsan)
2015-09-20 14:55:44 -07:00
Wes Kocher
9c40f87100
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
aeb5625206
Bug 1048048 - add preload content policy types (r=ehsan)
2015-09-20 14:55:44 -07:00
Bobby Holley
cdb57c12e7
Bug 1189668 - Expose GetUnfilteredUrl on InternalResponse. r=ehsan
2015-09-20 00:32:14 -07:00
Kit Cambridge
2ce3628b0c
Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug
2015-09-17 05:10:42 -07:00
Phil Ringnalda
e9e29e9a15
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
69e3accaae
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
Ehsan Akhgari
3cf853e5af
Bug 1198078 - Add support for TYPE_INTERNAL_SERVICE_WORKER; r=ckerschb,tanvi
2015-09-16 19:15:30 -04:00
Josh Matthews
04a9feca9d
Bug 1198544 - Prevent FetchDriver from creating multiple responses if OnStopRequest yields a failing status code. r=nsm
2015-09-14 11:05:35 -04:00
Ehsan Akhgari
8a859937d8
Bug 1199049 - Part 8: Use Necko-level CORS preflights in fetch; r=jdm
2015-09-12 19:21:05 -04:00
Jon Droniak
1b75090ba4
Bug 1199796 - Refactor Request and XHR request method validation. r=nsm
2015-09-11 11:26:33 -07:00
Wes Kocher
88d59aebcd
Backed out changeset 132aa442af95 (bug 1198544) for browser_ManifestObtainer_obtain.js failures CLOSED TREE
2015-09-11 11:53:52 -07:00
Josh Matthews
e536bbe2eb
Bug 1198544 - Prevent FetchDriver from creating multiple responses if OnStopRequest yields a failing status code. r=nsm
2015-09-11 13:23:29 -04:00
Andrea Marchesini
edb0027da6
Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
2015-09-10 21:50:58 +01:00
Ehsan Akhgari
b339111aa0
Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm
2015-09-09 07:53:50 -04:00
Nigel Babu
b79169e877
Backed out changeset 3555d4b1ab1e (bug 815299) for M4 bustage.
2015-09-09 09:12:31 +05:30