Edouard Oger
6341dc253c
Bug 1419146 - Respect mozErrors in Request. r=bkelly
...
MozReview-Commit-ID: Lbx395q7BYF
--HG--
extra : rebase_source : 9928a998378b4f84914f0b45ebb2266f34b04230
2017-11-20 17:07:26 -05:00
Edouard Oger
ee0f18811d
Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly
...
MozReview-Commit-ID: FD2NUJZtAhT
--HG--
extra : rebase_source : cff033ea3d7e9581112392e7725290819fbec18b
2017-11-15 14:53:42 -05:00
Andrea Marchesini
97baa05333
Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb, r=tanvi
2017-11-16 12:27:01 +01:00
Sebastian Hengst
6c1d6be6fb
Backed out 3 changesets (bug 1398229) for failing own browser-chrome browser/components/contextualidentity/test/browser/browser_saveLink.js. r=backout on a CLOSED TREE
...
Backed out changeset 5b3b0a38b2d1 (bug 1398229)
Backed out changeset a726fc7506ca (bug 1398229)
Backed out changeset 53dae7764e58 (bug 1398229)
2017-11-15 20:49:09 +02:00
Andrea Marchesini
11eefa61bb
Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb
2017-11-15 18:16:29 +01:00
Andrea Marchesini
73712f7d05
Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth
2017-11-15 07:58:38 +01:00
Andrew McCreight
1d0acbdb9b
Bug 1412125, part 1 - Manually add mode lines and MPL to files that were missing them entirely. r=qdot
...
These were detected by the script used to generate part 2.
MozReview-Commit-ID: VMcT154f6f
--HG--
extra : rebase_source : 2f5fc8a314302fcacac840a8dbe0ff874d518e51
2017-10-26 14:54:59 -07:00
Ben Kelly
9d8fb37a12
Bug 1380255 P2 Don't fire FetchDriverObserver::OnDataAvailable() for every FetchDriver ODA callback. r=baku
2017-10-12 19:23:16 -07:00
Catalin Badea
6a9fd06ae6
Bug 1380255 - FetchDriver should have threadsafe refcounting. r=baku
2017-09-26 11:53:00 +01:00
Jonathan Watt
24b417787f
Bug 1406820 part 1. Initialize InternalRequest::mBodyLength in the fetch code. r=qdot
2017-10-11 00:46:17 +01:00
Luke Wagner
cf897d6fcb
Bug 1347644 - Baldr: implement ConsumeStreamCallback in browser (r=bkelly)
...
MozReview-Commit-ID: DXv2MegefDw
--HG--
extra : rebase_source : aca4d6e40ae9af03e05520ec8bdef92889e44acc
2017-10-10 14:41:24 -05:00
Ben Kelly
47571637f3
Bug 1391693 P4 Don't count internal redirects towards Response.redirected r=tt
2017-10-09 10:03:40 -07:00
Sebastian Hengst
15b8e9a53b
Backed out changeset 097c44e15165 (bug 1371699)
2017-10-05 13:10:55 +02:00
Andrea Marchesini
1867437172
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Sebastian Hengst
e8e914baa7
Backed out changeset c033bdb24e14 (bug 1371699)
2017-10-03 16:55:02 +02:00
Andrea Marchesini
ff3b280260
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Andrea Marchesini
baa04d619a
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
fa921ed2a3
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
32e27f63b8
Bug 1380255 - FetchDriver should have threadsafe refcounting. r=baku
2017-09-26 12:52:53 +01:00
Andrea Marchesini
53d31f2d9c
Bug 1402888 - Remove nsIInputStreamPump::Init() offset and limit params, r=smaug
2017-09-26 07:21:44 +02:00
Andrea Marchesini
86c5c52e0e
Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug
2017-09-26 07:21:27 +02:00
Chris Peterson
a6a56ed916
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
--HG--
extra : rebase_source : 714dd78df0f4c33e23e5b117615bd8fd561674c5
extra : source : 742bda9e6b1ddaf34d09894204ad18ce798b79b7
2017-09-07 18:25:25 -07:00
Andrea Marchesini
4753d050bd
Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot
2017-09-17 11:18:20 +02:00
Andrea Marchesini
157334f4b0
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
00788aac72
Bug 1396300 - Use fallible allocation in GetAsStream. r=bkelly
2017-09-08 11:59:46 +08:00
Tom Tung
a1e22fa9e7
Bug 1290481 - P5: Implement a function to generate padding size. r=bkelly
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : 982139c536c17a6699d700df7c8b3071939bb3c0
2017-07-10 17:03:24 +08:00
Tom Tung
9321dc629d
Bug 1290481 - P1: Make InternalResponse and CacheResponse be able to keep padding size. r=bkelly
...
MozReview-Commit-ID: LIxkSdfPZtf
--HG--
extra : rebase_source : ff52bdc1cc813ebc4d5ec679b4bac3dfb52550ac
2017-07-10 17:11:29 +08:00
Andrea Marchesini
ec603f10be
Bug 1381748 - Cleanup FetchConsumer workflow - part 3 - shutdown workflow, r=catalinb
2017-09-04 17:06:47 +02:00
Andrea Marchesini
08253b4c69
Bug 1381748 - Cleanup FetchConsumer workflow - part 2 - cleanup RegisterWorkerHolder, r=catalinb
2017-09-04 17:06:31 +02:00
Andrea Marchesini
0af2f0aa2c
Bug 1381748 - Cleanup FetchConsumer workflow - part 1 - no mBody, r=catalinb
2017-09-04 17:06:18 +02:00
Sebastian Hengst
e2f54c0cd7
merge mozilla-central to autoland. r=merge a=merge
2017-09-01 10:43:32 +02:00
Honza Bambas
8d492fe637
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
f3b0f175ac
Bug 1393439 - P2: Correct the variable naming. r=bkelly
...
MozReview-Commit-ID: 1DblOV82nEd
--HG--
extra : rebase_source : e03fc7b091d7aa4a6076660416f2c9514ad8894b
2017-08-29 16:00:35 +08:00
Tom Tung
85b52e428b
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
--HG--
extra : rebase_source : acee9a04c1be416fa8c779308062d3aebdba8b6a
2017-08-25 16:36:59 +08:00
Andrea Marchesini
76ea37870c
Bug 1390717
- FetchStream should not have an extra JS::Heap<ReadableStream>, r=jonco
2017-08-31 16:29:02 +02:00
Andrea Marchesini
7c7bc057d2
Bug 1395220 - FetchStream must support multiple read requests, r=bkelly
2017-08-31 15:36:18 +02:00
Honza Bambas
4263c50db2
Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana
...
--HG--
extra : rebase_source : 1ab691fe066e641c948aa5f42827305411579708
2017-08-30 09:32:00 -04:00
Andrea Marchesini
1df07a3979
Bug 1395141 - RequestInit dictionary must have AbortSignal as optional, r=bkelly
2017-08-30 18:47:23 +02:00
Andrew McCreight
78807d8776
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
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Andrea Marchesini
508c8078ce
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
3e5de60a22
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
a441d6f43c
Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly
2017-08-29 11:31:06 +02:00
Andrea Marchesini
f533937740
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 11:31:06 +02:00
Andrea Marchesini
186795d3eb
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 11:31:06 +02:00
Andrea Marchesini
bf4a05e410
Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly
...
--HG--
rename : dom/fetch/FetchController.cpp => dom/abort/FetchController.cpp
rename : dom/fetch/FetchController.h => dom/abort/FetchController.h
rename : dom/fetch/FetchSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/fetch/FetchSignal.h => dom/abort/FetchSignal.h
rename : dom/tests/mochitest/fetch/file_fetch_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/tests/mochitest/fetch/test_fetch_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/tests/mochitest/fetch/worker_fetch_controller.js => dom/abort/tests/worker_fetch_controller.js
2017-08-29 11:31:05 +02:00
Sebastian Hengst
784834cf76
Backed out changeset 81c100a42bb6 (bug 1378342) for linting failures, e.g. in file_abort_controller.html. r=backout
...
--HG--
rename : dom/abort/FetchController.cpp => dom/fetch/FetchController.cpp
rename : dom/abort/FetchController.h => dom/fetch/FetchController.h
rename : dom/abort/FetchSignal.cpp => dom/fetch/FetchSignal.cpp
rename : dom/abort/FetchSignal.h => dom/fetch/FetchSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/tests/mochitest/fetch/file_fetch_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/tests/mochitest/fetch/test_fetch_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/tests/mochitest/fetch/worker_fetch_controller.js
2017-08-29 09:17:57 +02:00
Sebastian Hengst
ffe4336403
Backed out changeset e5c6f95530f2 (bug 1378342)
...
--HG--
rename : dom/abort/AbortController.cpp => dom/abort/FetchController.cpp
rename : dom/abort/AbortController.h => dom/abort/FetchController.h
rename : dom/abort/AbortSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/abort/AbortSignal.h => dom/abort/FetchSignal.h
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_fetch_controller.js
rename : dom/webidl/AbortController.webidl => dom/webidl/FetchController.webidl
rename : dom/webidl/AbortSignal.webidl => dom/webidl/FetchSignal.webidl
2017-08-29 09:17:21 +02:00
Sebastian Hengst
80e618e605
Backed out changeset 2c6f49d73935 (bug 1378342)
2017-08-29 09:16:59 +02:00
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