Ehsan Akhgari
ce60f4cc10
Bug 1170937 - Set the URL on the Response object created from a fetch() properly if the underlying channel gets redirected; r=baku
2015-06-09 17:17:52 -04:00
Fernando Jimenez
8aa76590fc
Bug 1169613 - Use content type of synthesized response for JAR channel requests if available. Part 2: Set Content-Type for JAR Channel requests on Fetch API responses. r=nsm
2015-06-05 12:53:58 +02:00
Ehsan Akhgari
e8c86479b9
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
c58dbca945
Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE
2015-05-27 14:50:43 +02:00
Ehsan Akhgari
f770eb78bf
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
2015-05-27 08:25:03 -04:00
Andrea Marchesini
b45d15ecff
Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan
2015-05-19 15:36:37 +01:00
Andrea Marchesini
41c29ad762
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-12 13:11:03 +01:00
Wes Kocher
81e9cbedba
Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
2015-05-11 13:17:58 -07:00
Andrea Marchesini
bd76fd013b
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-11 18:50:54 +01:00
Fernando Jimenez
1783db1cb6
Bug 1161288 - Support app:// origins on Fetch API. r=baku,nsm
2015-05-07 20:42:07 +02:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Boris Zbarsky
2067ba5765
Bug 1157754 part 2. Convert consumers of ErrorResult::ClearMessage() to the new better APIs we have for suppressing exceptions on ErrorResult. r=bkelly
2015-04-26 22:38:17 -04:00
Ben Kelly
e74a47201e
Bug 1153484 - Fetch should ignore invalid headers, but still process later headers. r=nsm
2015-04-23 10:45:00 -04:00
Boris Zbarsky
df5e5b1a5d
Bug 1157451. Make nsCORSListenerProxy::Init take an enum, not a boolean, to indicate what to do with data: URIs. And make it required, not defaulted to disallowing. r=smaug
2015-04-22 20:30:10 -04:00
Andrew Overholt
d41fd71a28
Bug 1127552 - Add Telemetry to Fetch. r=nsm
...
Note when the Fetch is coming from the main thread or a worker. Also
count Requests just passed through a Service Worker.
2015-03-27 06:47:00 -04:00
Ben Kelly
aad90c772b
Bug 1110814 P0 Fully initialize Response before resolve Fetch promise. r=nsm
2015-03-22 02:52:12 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-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_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nikhil Marathe
4812df018f
Bug 1144249 - fix fetch no-cors mode. r=bkelly
...
A no-cors mode request should not go through a nsCORSProxyListener, which can only handle same-origin and cors mode.
The test for no-cors was passing allowOrigin, which was converting it into a CORS request, which is why it was passing.
I also realized that it is port 8888 and not 8000, so fixed that in some of the redirect tests.
2015-03-17 08:47:04 -07:00
Nikhil Marathe
84f41a7c95
Bug 1143155 - Filtered response stores internal response and allows access to headers. r=bkelly
2015-03-17 08:47:01 -07:00
Ehsan Akhgari
dc34dcdc19
Bug 1133763 - Part 1: Remember the security info associated with HTTP fetches and record it inside InternalResponse; r=nsm
2015-03-13 14:37:14 -04:00
Nikhil Marathe
34ce9c48ae
Bug 1133861 - Bustage fix. a=bustage CLOSED TREE
2015-03-05 12:16:18 -08:00
Nikhil Marathe
1374634ba7
Bug 1139665 - Check content load policy in FetchDriver. r=baku
2014-10-14 16:36:58 -07:00
Honza Bambas
59fc1863c1
Bug 1130803 - Use non-blocking input for Fetch synthetization pipe, r=bkelly,ehsan
2015-03-03 10:16:00 +01:00
Nikhil Marathe
cc8f35d3c6
Bug 1126815 - Implement Response.finalURL. r=bkelly,baku
2015-02-17 10:23:34 -08:00
Nikhil Marathe
d7a8ab4b10
Bug 1119037 - Add context attribute to Request. r=baku
2015-01-27 15:43:09 -08:00
Nikhil Marathe
66c1fd1731
Bug 1122258 - Fetch API: Set anonymous flag on channel if no credentials are to be passed.
2015-01-15 14:28:14 -08:00
Nikhil Marathe
b3142e434f
Bug 1119026 - Respect skip serviceworker flag. r=baku,bkelly
2014-12-24 02:08:41 -08:00
Nikhil Marathe
56ee4c22b8
Bug 1112922 - Implement request referrer correctly in Fetch API. r=bkelly
2014-12-23 07:56:19 -08:00
Nikhil Marathe
613b3cd5ab
Bug 1119021 - Implement fetch() redirects correctly. r=bkelly
2015-01-07 13:47:18 -08:00
Nikhil Marathe
5e0668465c
Bug 1119021 - CORS credentials tests. r=bkelly
...
Allow request to continue when useCredentials is set.
2015-01-05 15:43:54 -08:00
Nikhil Marathe
1e6026c30a
Bug 1119021 - CORS support. r=baku,bkelly
...
Use nsCrossSiteListenerProxy.h helpers to implement CORS support.
Several CORS fixes and lots of CORS tests.
Fixes:
Use empty string stream if response has no stream.
Parse Access-Control-Expose-Headers correctly.
Copy over remaining InternalRequest constructor attributes and set unsafe request flag.
Call FailWithNetworkError() in more cases.
Add non-simple Request headers to unsafeHeaders list for CORS check.
Do not AsyncOpen channel directly when CORS preflight is required.
Fix check for simple request method (was checking the opposite condition).
2015-01-07 15:50:54 -08:00
Nikhil Marathe
ae3687ddd0
Bug 1039846 - Patch 7: Create channel with a loadgroup. r=baku,bkelly
2015-01-08 08:55:05 -08:00
Nikhil Marathe
11f76ca5f3
Bug 1039846 - Patch 5.1: Set request upload stream and headers. r=baku,bkelly
2014-12-09 22:35:22 -08:00
Nikhil Marathe
cc47db65bc
Bug 1039846 - Patch 5: FetchDriver basic HTTP fetch support. r=baku,bkelly
...
This patch has the following big pieces:
HTTP support in FetchDriver, which requires the principal of the caller to be passed.
Managing worker lifetime when a fetch() call is in progress.
Managing worker lifetime when a Response body is being read.
Using nsIPipe to link network streams to Request/Response body streams.
Using nsIInputStreamPump to convert Request/Response body streams into respective types.
Folded:
Bug 1039846 - Fetch API: Use a pipe to immediately start writing HTTP body data to InternalResponse.
Bug 1039846 - Assert bodystream can be set only once
Bug 1039846 - Add feature when handling fetch responses on workers
Bug 1039846 - Try to retarget http fetch delivery off main thread.
Bug 1039846 - Safely consume body using nsIInputStreamPump on workers and main thread.
Bug 1039846 - Retarget body reading to stream transport service.
2014-12-10 00:51:59 -08:00
Nikhil Marathe
54096bc12c
Bug 1039846 - Fix morebustage. r=bustage CLOSED TREE
2014-10-20 13:59:01 -07:00
Nikhil Marathe
acfa9359fa
Bug 1039846 - Fix bustage. r=bustage CLOSED TREE
2014-10-20 13:25:56 -07:00
Nikhil Marathe
056d2e760a
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
2014-10-06 11:01:20 -07:00