Sebastian Hengst
03d1665672
Backed out changeset 64d0dbf9706b (bug 1378342)
2017-08-29 09:16:48 +02:00
Sebastian Hengst
db728bce54
Backed out changeset 4c41e61d6763 (bug 1378342)
2017-08-29 09:16:43 +02:00
Sebastian Hengst
f8f91f8942
Backed out changeset 68192e795b74 (bug 1378342)
2017-08-29 09:16:37 +02:00
Andrea Marchesini
b2983e07a6
Bug 1378342 - AbortSignal/AbortController - part 10 - Reject the fetch() promise if AbortSignal is already aborted, r=bkelly
2017-08-29 07:30:21 +02:00
Andrea Marchesini
b89d4f379a
Bug 1378342 - AbortSignal/AbortController - part 9 - Request.signal should not be a reference of RequestInit.signal, r=bkelly
2017-08-29 07:30:21 +02:00
Andrea Marchesini
268b173378
Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly
2017-08-29 07:30:21 +02:00
Andrea Marchesini
afa1c0c6c4
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 07:30:21 +02:00
Andrea Marchesini
9b66f91da8
Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
...
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 07:30:19 +02:00
Andrea Marchesini
98f34badee
Bug 1128959 - Implement the WHATWG Streams spec - part 17 - Creating FetchStream as a out param in order to avoid JS hazards, r=bz
2017-08-10 18:04:56 -07:00
Andrea Marchesini
76f69afc03
Bug 1128959 - Implement the WHATWG Streams spec - part 15 - setting the correct global when ReadableStream.getReader() is called, r=bz
2017-08-10 18:04:56 -07:00
Andrea Marchesini
cb3c4dda07
Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
...
This patch does 2 things:
. when SetBodyUsed() is called, the pump for the stream reading is activated.
. Just because of the reading of the stream could end up executing JS code, we
need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Andrea Marchesini
e44cd2d765
Bug 1128959 - Implement the WHATWG Streams spec - part 9 - FetchStreamReader, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
3a14f6c21f
Bug 1128959 - Implement the WHATWG Streams spec - part 7 - Response.body, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
3b86092f16
Bug 1128959 - Implement the WHATWG Streams spec - part 4 - Fetch implementation, r=bkelly
2017-08-10 18:04:54 -07:00
Andrea Marchesini
99819a81c8
Bug 1128959 - Implement the WHATWG Streams spec - part 2 - Use of ReadableStream in WebIDL files, r=bkelly
2017-08-10 18:04:54 -07:00
Bill McCloskey
f115503a0b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Andrea Marchesini
4b75cfc9bc
Bug 1373555 - Move the Fetch consume body login in a separate class - part 3 - Move the consuming body logic from FetchBody to FetchBodyConsumer, r=bkelly
2017-06-20 17:53:21 +02:00
Andrea Marchesini
50e54e6b44
Bug 1373555 - Move the Fetch consume body login in a separate class - part 2 - Rename FetchBodyWrapper to FetchBodyConsumer, r=bkelly
2017-06-20 17:53:21 +02:00
Andrea Marchesini
349f7847d7
Bug 1373555 - Move the Fetch consume body login in a separate class - part 1 - separate files, r=bkelly
2017-06-20 17:53:21 +02:00
Andrea Marchesini
e768233bc4
Bug 1371889 - Fetch body must be kept alive using refcounting, r=bkelly
2017-06-20 17:53:20 +02:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Andrea Marchesini
4db0707bc6
Bug 1373542 - Replace AutoFreeBuffer with MakeScopeExit in Fetch.cpp, r=bkelly
2017-06-18 11:47:45 +02:00
Andrea Marchesini
0b97e9af19
Bug 1372888 - FetchBody<Derived>::BeginConsumeBody should check the return value of nsEventTarget::Dispatch, r=bkelly
2017-06-14 15:53:04 +02:00
Andrea Marchesini
a0d570d039
Bug 1372887 - Fetch Response type should not change if the body is consumed twice, r=bkelly
2017-06-14 15:52:46 +02:00
Henri Sivonen
432653453a
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Bevis Tseng
b5230ddca8
Bug 1363318 - Part 3: Label FetchDriver. r=baku
2017-05-16 18:27:01 +08:00
Bevis Tseng
024ff96b5b
Bug 1363318 - Part 2: Label FetchBody. r=baku
2017-05-16 18:12:24 +08:00
Bevis Tseng
93f8ac4e38
Bug 1363318 - Part 1: Label FetchSignalProxy. r=baku
...
Replace the use of NS_DispatchToMainThread, NS_ReleaseOnMainThread with WorkerPrivate->MainThreadEventTarget().
2017-05-16 16:59:29 +08:00
Kershaw Chang
8b2e612d40
Bug 1312515 - Part 2: Lower the channel's priority if this Fetch is created from tracking script. r=baku
...
If the Fetch request is created by a tracking script, we want to lower the priority of the http channel.
--HG--
extra : rebase_source : fc258770a2f58a503777dec8a05fd2aeab2ff889
2017-05-19 01:29:00 -04:00
Ben Kelly
a68b3b11fd
Bug 1350433 Expose WorkerPrivate::ServiceWorkerScope() instead of using WorkerName() all over the place. r=asuth
2017-03-24 19:56:48 -04:00
Andrea Marchesini
0ef3f36c49
Bug 1341738 - Implement FetchController and FetObserver - part 5 - Dispatching observer events, r=bkelly
2017-03-22 11:07:27 +01:00
Andrea Marchesini
e6ad00d782
Bug 1341738 - Implement FetchController and FetObserver - part 3 - FetchSignal in Fetch API, r=bkelly
2017-03-22 11:06:08 +01:00
Andrea Marchesini
4434f5a668
Bug 1337722 - Use BufferSource in webIDL, r=qdot
2017-02-09 10:37:54 +01:00
Tom Tung
e185f7bc4c
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Boris Zbarsky
1f816c60cf
Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly
2017-02-01 15:43:37 -05:00
Andrea Marchesini
0d8f8e4333
Bug 1329298 - Part 2 - use nsIXHRSendable instead Blob/FormData/URLSearchParams, r=smaug
2017-01-24 12:14:00 +01:00
Andrea Marchesini
20247bbf3f
Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug
2017-01-24 12:13:31 +01:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Boris Zbarsky
36041fae42
Bug 781782 part 1. Fix fetch code to not set a Content-Type header when it shouldn't. r=bkelly
2016-11-28 15:58:02 -05:00
Andrea Marchesini
50b8aabe39
Bug 1312410 - Fetch API should use MutableBlobStorage to store big Blobs on disk, r=qdot
2016-10-26 09:07:25 +02:00
Saurabh Singhal
0a5645d30d
Bug 1278275 - Update Headers::GetAll and Headers::Get to match the specification. r=jdm, r=bkelly
2016-10-10 22:50:14 +05:30
Ben Kelly
c26c5533f0
Bug 1300658 P4 Make dom/fetch use the worker MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Wes Kocher
17b9381e0b
Backed out 6 changesets (bug 1300658) for frequent Windows VM Xpcshell failures a=backout
...
Backed out changeset 6cf3a60640cf (bug 1300658)
Backed out changeset c74062a27462 (bug 1300658)
Backed out changeset 39fbc61739ef (bug 1300658)
Backed out changeset 0b9d70b040a2 (bug 1300658)
Backed out changeset 4e921d61f036 (bug 1300658)
Backed out changeset 56496fad6494 (bug 1300658)
2016-09-12 16:34:08 -07:00
Ben Kelly
c66b226166
Bug 1300658 P4 Make dom/fetch use the worker MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
a8a4ae3c4f
Backout rev 5c7368370ff9 to 980659720b86 (bug 1300118 and bug 1300658) for incorrect bug number in commit message. r=me
2016-09-12 12:29:17 -07:00
Ben Kelly
ebc2408a14
Bug 1300658 P4 Make dom/fetch use the worker MainThreadTaskQueue. r=baku
2016-09-12 11:21:02 -07:00