Commit Graph
498 Commits
Author SHA1 Message Date
Sebastian Hengst b5db322841 Backed out changeset c033bdb24e14 (bug 1371699) 2017-10-03 16:55:02 +02:00
Andrea Marchesini c65fe02da3 Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj 2017-10-03 07:20:18 +02:00
Andrea Marchesini 792189dd57 Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
Sebastian Hengst 33bb338391 Backed out changeset 22a322b57f50 (bug 1380255) for asserting and failing mochitest-plain toolkit/components/extensions/test/mochitest/test_ext_webrequest_responseBody.html. r=backout 2017-09-26 15:45:24 +02:00
Catalin Badea c9613d74d3 Bug 1380255 - FetchDriver should have threadsafe refcounting. r=baku 2017-09-26 12:52:53 +01:00
Andrea Marchesini 93901ebca1 Bug 1402888 - Remove nsIInputStreamPump::Init() offset and limit params, r=smaug 2017-09-26 07:21:44 +02:00
Andrea Marchesini 2daba7f880 Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug 2017-09-26 07:21:27 +02:00
Chris Peterson bd442bfa70 Bug 870698 - Part 6: Replace Append(NS_LITERAL_CSTRING("")) with AppendLiteral(""). r=erahm
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.

MozReview-Commit-ID: F750v6NN81s
2017-09-07 18:25:25 -07:00
Andrea Marchesini 0db5365be4 Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot 2017-09-17 11:18:20 +02:00
Andrea Marchesini 26b14d70a4 Bug 1397627 - Fetch API and other components should pass the length of the stream to necko when known, r=smaug 2017-09-08 16:06:26 +02:00
Shawn Huang 0555c4c84b Bug 1396300 - Use fallible allocation in GetAsStream. r=bkelly 2017-09-08 11:59:46 +08:00
Tom Tung 388e584d55 Bug 1290481 - P5: Implement a function to generate padding size. r=bkelly
MozReview-Commit-ID: 6poDeyErBjc
2017-07-10 17:03:24 +08:00
Tom Tung d54c8f4a66 Bug 1290481 - P1: Make InternalResponse and CacheResponse be able to keep padding size. r=bkelly
MozReview-Commit-ID: LIxkSdfPZtf
2017-07-10 17:11:29 +08:00
Andrea Marchesini 34ae6c44f7 Bug 1381748 - Cleanup FetchConsumer workflow - part 3 - shutdown workflow, r=catalinb 2017-09-04 17:06:47 +02:00
Andrea Marchesini b7959ca456 Bug 1381748 - Cleanup FetchConsumer workflow - part 2 - cleanup RegisterWorkerHolder, r=catalinb 2017-09-04 17:06:31 +02:00
Andrea Marchesini d47d38f6dc Bug 1381748 - Cleanup FetchConsumer workflow - part 1 - no mBody, r=catalinb 2017-09-04 17:06:18 +02:00
Sebastian Hengst 20c89a3fed merge mozilla-central to autoland. r=merge a=merge 2017-09-01 10:43:32 +02:00
Honza Bambas a90d5297b3 Bug 1395525 - Make all changes landed as part of tracker request tailing preferrable. r=dragana 2017-08-31 06:07:00 -04:00
Tom Tung 321e378223 Bug 1393439 - P2: Correct the variable naming. r=bkelly
MozReview-Commit-ID: 1DblOV82nEd
2017-08-29 16:00:35 +08:00
Tom Tung 437bf42c3c Bug 1393439 - P1: Don't return TypeError for no-cors mode and don't check SRI for the hidden opaque body. r=bkelly
MozReview-Commit-ID: 1IspF2IlqqP
2017-08-25 16:36:59 +08:00
Andrea Marchesini 7536f4b756 Bug 1390717 - FetchStream should not have an extra JS::Heap<ReadableStream>, r=jonco 2017-08-31 16:29:02 +02:00
Andrea Marchesini 13bf92b711 Bug 1395220 - FetchStream must support multiple read requests, r=bkelly 2017-08-31 15:36:18 +02:00
Honza Bambas 559460ce73 Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana 2017-08-30 09:32:00 -04:00
Andrea Marchesini 10b0d94bc9 Bug 1395141 - RequestInit dictionary must have AbortSignal as optional, r=bkelly 2017-08-30 18:47:23 +02:00
Andrew McCreight 84ee98de3c Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1
2017-08-29 16:02:48 -07:00
Andrea Marchesini 4530765681 Bug 1378342 - AbortSignal/AbortController - part 10 - Reject the fetch() promise if AbortSignal is already aborted, r=bkelly 2017-08-29 11:31:07 +02:00
Andrea Marchesini f7eb755da0 Bug 1378342 - AbortSignal/AbortController - part 9 - Request.signal should not be a reference of RequestInit.signal, r=bkelly 2017-08-29 11:31:07 +02:00
Andrea Marchesini 59472c07f1 Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini 2a9df1a0b5 Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini 5e4e426a93 Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini 2301c113ad Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly 2017-08-29 11:31:05 +02:00
Sebastian Hengst 8693859750 Backed out changeset 81c100a42bb6 (bug 1378342) for linting failures, e.g. in file_abort_controller.html. r=backout 2017-08-29 09:17:57 +02:00
Sebastian Hengst db08812374 Backed out changeset e5c6f95530f2 (bug 1378342) 2017-08-29 09:17:21 +02:00
Sebastian Hengst 2489acb202 Backed out changeset 2c6f49d73935 (bug 1378342) 2017-08-29 09:16:59 +02:00
Sebastian Hengst 6387e67653 Backed out changeset 64d0dbf9706b (bug 1378342) 2017-08-29 09:16:48 +02:00
Sebastian Hengst efd6a4702c Backed out changeset 4c41e61d6763 (bug 1378342) 2017-08-29 09:16:43 +02:00
Sebastian Hengst de54158fe3 Backed out changeset 68192e795b74 (bug 1378342) 2017-08-29 09:16:37 +02:00
Andrea Marchesini d526bad3fb 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 967d5dee18 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 2918612317 Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly 2017-08-29 07:30:21 +02:00
Andrea Marchesini e2680ff9c6 Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly 2017-08-29 07:30:21 +02:00
Andrea Marchesini dcb5d92cfd Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly 2017-08-29 07:30:19 +02:00
Andrea Marchesini 10f3b8d4d5 Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly 2017-08-29 07:30:19 +02:00
Ben Kelly 05af0e1889 Bug 1128959 - Implement the WHATWG Streams spec - part 18 - cycle collect FetchStreamReader r=bz 2017-08-10 18:04:56 -07:00
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 693036056d Bug 1128959 - Implement the WHATWG Streams spec - part 16 - report stream errors during consumption r=bkelly 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