Andrea Marchesini
e3427f1588
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
6925e8a2f5
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
75f65419b6
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
41515fa1ab
Bug 1128959 - Implement the WHATWG Streams spec - part 9 - FetchStreamReader, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
16e02ab255
Bug 1128959 - Implement the WHATWG Streams spec - part 7 - Response.body, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
a28cad28a8
Bug 1128959 - Implement the WHATWG Streams spec - part 4 - Fetch implementation, r=bkelly
2017-08-10 18:04:54 -07:00
Andrea Marchesini
1efb2e2488
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
ce42826bdf
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
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
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
4763377ab4
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
4fedaaecea
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
adc614148c
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
2bfb5352bf
Bug 1371889 - Fetch body must be kept alive using refcounting, r=bkelly
2017-06-20 17:53:20 +02:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
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
e6dc9e02bc
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
ceb542b8be
Bug 1373542 - Replace AutoFreeBuffer with MakeScopeExit in Fetch.cpp, r=bkelly
2017-06-18 11:47:45 +02:00
Andrea Marchesini
8c8f7e02a7
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
51acf47627
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
7af0452b6b
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
e682a0b46c
Bug 1363318 - Part 3: Label FetchDriver. r=baku
2017-05-16 18:27:01 +08:00
Bevis Tseng
3ada2d30ff
Bug 1363318 - Part 2: Label FetchBody. r=baku
2017-05-16 18:12:24 +08:00
Bevis Tseng
a4a95e257a
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
9e8681a25a
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.
2017-05-19 01:29:00 -04:00
Ben Kelly
fbff56f3d8
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
ee3d9e351a
Bug 1341738 - Implement FetchController and FetObserver - part 5 - Dispatching observer events, r=bkelly
2017-03-22 11:07:27 +01:00
Andrea Marchesini
2f5c3f1a4f
Bug 1341738 - Implement FetchController and FetObserver - part 3 - FetchSignal in Fetch API, r=bkelly
2017-03-22 11:06:08 +01:00
Andrea Marchesini
5f1cbea616
Bug 1337722 - Use BufferSource in webIDL, r=qdot
2017-02-09 10:37:54 +01:00
Tom Tung
c08930401f
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Boris Zbarsky
942ec8bf1b
Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly
2017-02-01 15:43:37 -05:00
Andrea Marchesini
2ff25e1c30
Bug 1329298 - Part 2 - use nsIXHRSendable instead Blob/FormData/URLSearchParams, r=smaug
2017-01-24 12:14:00 +01:00
Andrea Marchesini
cef12d2d65
Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug
2017-01-24 12:13:31 +01:00
Andrea Marchesini
28f084ecf0
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
633af84985
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
0ce4aeb4a5
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
b2f399d7ae
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
f82a9c9066
Bug 1300658 P4 Make dom/fetch use the worker MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Wes Kocher
e70a727506
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
27b6b7474e
Bug 1300658 P4 Make dom/fetch use the worker MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
449d185850
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
1cdc145c14
Bug 1300658 P4 Make dom/fetch use the worker MainThreadTaskQueue. r=baku
2016-09-12 11:21:02 -07:00
Tom Tung
aedb197f83
Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly.
2016-09-07 10:20:23 +08:00
Michael Layzell
f2f13378b5
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Ben Kelly
bee31710b3
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-18 07:11:04 -07:00
Phil Ringnalda
6ef267a68f
Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
...
CLOSED TREE
Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly
72fb8c6934
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-17 20:01:35 -07:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Nicholas Nethercote
0e059d48ee
Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz.
2016-07-14 13:18:11 +10:00
Andrea Marchesini
796bda032a
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-23 10:53:14 +02:00