Jonas Sicking
3f1ac1dbe1
Bug 1195167 part 4: Remove FetchDriver::BasicFetch since it is empty. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
c21e611fda
Bug 1195167 part 3: Remove more scheme-specific handling from FetchDriver. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
531997fc91
Bug 1195167 part 2: Remove redundant aCORSFlag argument and instead use mCORSFlagEverSet. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
be2deca017
Bug 1195167 part 1: Let necko handle all protocols. r=bkelly
2015-10-19 18:24:36 -07:00
Ben Kelly
8a3900afa1
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
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Jonas Sicking
1b8726e80b
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
c276fc4a03
Bug 1206124
P1 Fix "same-origin" CORS credentials in FetchDriver. r=ehsan
2015-10-07 14:33:31 -07:00
Ben Kelly
5522a3ae19
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
5171450b27
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
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
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
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
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
7f68257bc6
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
155f3d3bc5
Bug 1187011 - Don't allow response body with null body status. r=bkelly
2015-09-30 21:50:10 +03:00
Catalin Badea
d327e60f64
Bug 1207850 - Temporary fix for canceling the pump used by FetchBody. r=nsm
2015-09-30 19:11:04 -04:00
Wes Kocher
2f2b59e28b
Backed out changeset 026a924b9228 (bug 1207850) for test_fetch_cors failures CLOSED TREE
2015-09-30 11:11:34 -07:00
Catalin Badea
4472620ee6
Bug 1207850 - Temporary fix for canceling the pump used by FetchBody. r=nsm
2015-09-30 10:14:34 -04:00
Christoph Kerschbaumer
f69e2b393b
Bug 1048048 - add preload content policy types (r=ehsan)
...
--HG--
extra : source : 740ab1ecd0794b5a304b93ef528c8aa4c68ca417
2015-09-20 14:55:44 -07:00
Wes Kocher
cd079d2bf9
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
319984decc
Bug 1048048 - add preload content policy types (r=ehsan)
2015-09-20 14:55:44 -07:00
Bobby Holley
73f8a27244
Bug 1189668 - Expose GetUnfilteredUrl on InternalResponse. r=ehsan
2015-09-20 00:32:14 -07:00
Kit Cambridge
cc7189cb64
Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug
...
--HG--
extra : commitid : 10hopC95zuL
extra : rebase_source : c3c9cfac62d1acb234bba2f16b443783354c43a4
2015-09-17 05:10:42 -07:00
Phil Ringnalda
92751c5b3e
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
b2a35e80cb
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
59c135c176
Bug 1198078 - Add support for TYPE_INTERNAL_SERVICE_WORKER; r=ckerschb,tanvi
2015-09-16 19:15:30 -04:00
Josh Matthews
6841a351b6
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
57574d5cbd
Bug 1199049 - Part 8: Use Necko-level CORS preflights in fetch; r=jdm
2015-09-12 19:21:05 -04:00
Jon Droniak
be9cbbe318
Bug 1199796 - Refactor Request and XHR request method validation. r=nsm
...
--HG--
extra : commitid : 264lZKhsGRV
extra : rebase_source : ad9ff02f24f648b87da4d00b03dfdfd9e26d45e7
2015-09-11 11:26:33 -07:00
Wes Kocher
bab9b5abf4
Backed out changeset 132aa442af95 (bug 1198544) for browser_ManifestObtainer_obtain.js failures CLOSED TREE
2015-09-11 11:53:52 -07:00
Josh Matthews
7e4893bc7a
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
cd4473d62f
Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneIPCHelper.cpp => dom/ipc/StructuredCloneData.cpp
rename : dom/ipc/StructuredCloneIPCHelper.h => dom/ipc/StructuredCloneData.h
2015-09-10 21:50:58 +01:00
Ehsan Akhgari
0d3d9044a6
Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm
2015-09-09 07:53:50 -04:00
Nigel Babu
2ac21d8fc7
Backed out changeset 3555d4b1ab1e (bug 815299) for M4 bustage.
2015-09-09 09:12:31 +05:30
Ehsan Akhgari
4d0639bd0c
Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm
2015-09-08 20:08:31 -04:00
Nikhil Marathe
d96bead5dd
Bug 1197421 - Fetch resolver uses PromiseWorkerProxy. r=catalinb
...
The logic was very similar and PromiseWorkerProxy is well tested. We defy
convention a bit by calling CleanUp() in another runnable later in time after
resolving the Promise, but it does not violate any invariants.
--HG--
extra : commitid : 6YhT7k9KrJ1
extra : rebase_source : 5ca90f54951853021f03e81531dbbfa4f2552d7e
2015-09-02 15:04:17 -07:00
Ben Kelly
3cc300f189
Bug 1184967 P1 Set RequestMode based on LoadInfo securityMode and client request content policy. r=nsm
2015-09-01 07:58:34 -07:00
Ben Kelly
5c4f9e0a97
Bug 1184607 P7.7 Allow new Response() to be used in xpcshell tests. r=ehsan
...
--HG--
extra : source : 066e84750afdc77c760c1b6563cf932e1f283b11
extra : histedit_source : 395e75ce1b96ca80448ab53d5d18bf57c94581e2
2015-08-31 14:26:30 -07:00
Ryan VanderMeulen
6e496147ac
Backed out changeset 066e84750afd for landing with the wrong bug number.
...
--HG--
extra : histedit_source : c17fe1a5597236723dddd26d164c0ced6e7c0499
2015-08-31 18:36:48 -04:00
Ben Kelly
15e3127540
Bug 1184067 P7.7 Allow new Response() to be used in xpcshell tests. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
eead67fbf9
Bug 1184607 P6 Set RequestRedirect and fix various redirect bugs in FetchDriver. r=nsm
...
* * *
Bug 1184607 P6 interdiff 001
2015-08-31 14:26:29 -07:00
Ben Kelly
a5977168ff
Bug 1184607 P2 Update Request and Response DOM objects for new redirect model. r=nsm
2015-08-31 14:26:29 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Kyle Huey
b930db3a55
Bug 1196592: Make retargeting Fetch to another thread actually work. r=nsm
...
--HG--
extra : rebase_source : 24801ef2546f6aa3d74b9193a104bb35e8103699
2015-08-28 13:49:07 -07:00
Emilio Cobos Álvarez
aa45c6c3e7
Bug 1195820 - Request constructor should throw TypeError if URL has credentials or parse fails. r=bkelly
2015-08-24 22:54:52 +02:00
Nikhil Marathe
a366626964
Bug 1193128 - Fix base64 decoding when fetching data URIs. r=baku
...
--HG--
extra : commitid : JynL4X6HT8W
extra : rebase_source : e8c021affdcca580887fc4aa6b8eb3465e843108
2015-08-13 13:08:43 -07:00
Ryan VanderMeulen
ad4abd6428
Backed out 7 changesets (bug 1189678, bug 1193128, bug 1189661, bug 1189644, bug 1189675) for various serviceworker mochitest and wpt failures.
...
Backed out changeset 696463139720 (bug 1189661)
Backed out changeset 7babb5b9d74a (bug 1189644)
Backed out changeset d4fa5cfc4b86 (bug 1189678)
Backed out changeset a7c27770b861 (bug 1189675)
Backed out changeset 471a45b97ce2 (bug 1189644)
Backed out changeset 4d96f2d48077 (bug 1193128)
Backed out changeset a9d5366288ff (bug 1189661)
CLOSED TREE
2015-08-24 18:09:47 -04:00
Nikhil Marathe
a266c8fb39
Bug 1193128 - Fix base64 decoding when fetching data URIs. r=baku
...
--HG--
extra : commitid : IGLyluSxhi2
extra : rebase_source : db4e929ea0c34db4f0d18db7ac258bcc66d3c3cc
2015-08-13 13:08:43 -07:00
Antonio de Luna Lopez
e8bd6361a0
Bug 1134609 -Make Fetch Request constructor less destructive to input on error r=bkelly
2015-08-10 12:06:00 -07:00