Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
551f6ace99
Bug 1507893 - Fetch() should consume DOM Files on the target thread only, r=twisniewski
2018-11-20 18:08:34 +01:00
Andrea Marchesini
ebf242be0d
Bug 1500879 - Fetch should not consume Request/Response with null-body, r=asuth
...
The fetch spec treats null bodies specially. Their Body cannot become
disturbed or locked and a fresh empty ReadableStream is returned whenever an
attempt is made to consume the body. We currently fail a number of WPT tests
in this area because we do mark the body consumed as exposed via bodyUsed.
2018-11-06 14:48:07 +01:00
Till Schneidereit ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
2cfba34b8d
Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff
...
Streams have multiple parts that can be JS objects from different compartments.
For example, the [[reader]] internal slot of a stream can point to a reader
object in another compartment.
This patch makes the ReadableStream implementation robust against mixing and
matching stream-related objects and methods from different globals.
This also removes ReadableStreamBYOBReader and ReadableStreamBYOBRequest for
now, with a view toward enabling basic ReadableStream features by default in
bug 1389628.
Differential Revision: https://phabricator.services.mozilla.com/D8450
--HG--
extra : rebase_source : 71d73bed5bc82557efcb6b1ecb231275fd3e1189
extra : amend_source : de29f663b9929eb2858b23cc6f4e7ba97b23a28c
extra : source : f91eb962df6a06d5f51ad13caa2a4a9c2947f293
2018-10-11 14:18:43 -05:00
Thomas Wisniewski
ba1f0dc311
Bug 1496621 - reject Fetch promises with (informative) TypeErrors when decoding fails, per spec; r=baku
...
reject Fetch promises with (informative) TypeErrors when decoding fails, per spec
Differential Revision: https://phabricator.services.mozilla.com/D7970
--HG--
extra : moz-landing-system : lando
2018-10-08 23:57:23 +00:00
Thomas Wisniewski
d23454328e
Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku
...
shortcut blob responses from XHR and fetch when the URL is a blob URL
Differential Revision: https://phabricator.services.mozilla.com/D7253
--HG--
extra : moz-landing-system : lando
2018-10-06 17:34:24 +00:00
Ciure Andrei
47efccbbca
Backed out changeset c5ac0cb25238 (bug 1491504) for FetchConsumer.cpp build bustages CLOSED TREE
2018-10-06 02:58:44 +03:00
Thomas Wisniewski
2294c78986
Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku
...
shortcut blob responses from XHR and fetch when the URL is a blob URL
Differential Revision: https://phabricator.services.mozilla.com/D7253
--HG--
extra : moz-landing-system : lando
2018-10-05 20:23:55 +00:00
Thomas Wisniewski
400093bdb6
Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku
...
Have Fetch bodies use File blobs for local files instead of regular blobs.
Differential Revision: https://phabricator.services.mozilla.com/D3183
--HG--
extra : moz-landing-system : lando
2018-09-11 19:13:15 +00:00
Cosmin Sabou
dc72962df3
Backed out changeset 68805212630a (bug 1482752) for causing build bustages on dom/fetch. CLOSED TREE
2018-09-08 20:46:04 +03:00
Thomas Wisniewski
4d92a94c0d
Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku
...
Have Fetch bodies use File blobs for local files instead of regular blobs.
Differential Revision: https://phabricator.services.mozilla.com/D3183
--HG--
extra : moz-landing-system : lando
2018-09-08 14:34:37 +00:00
Andrea Marchesini
e1a0b51543
Bug 1478101 - Split AbortSignal in 2 classes: AbortSignal and AbortSignalImpl, r=bz
2018-08-26 14:16:21 +02:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Andrea Marchesini
f6fc0b418a
Bug 1456556 - FetchConsumer scope-exit RAII must grab 'self' by value, r=erahm
2018-05-01 08:47:13 +02:00
Emilio Cobos Álvarez
4bfb789b0c
Bug 1448612: Don't take ownership of the stream data too early. r=baku
...
MozReview-Commit-ID: F3FRoh3tR9g
2018-03-28 00:42:52 +02:00
Andrea Marchesini
0c3ba63569
Bug 1446174 - Fetch::Abort() should interrupt the underlying fetch, r=smaug
2018-03-16 16:52:28 +01:00
Andrea Marchesini
eb32241f0c
Bug 1445587 - Port Fetch to WorkerRef - part 1 - FetchConsumer, r=smaug
2018-03-16 16:52:28 +01:00
Andrea Marchesini
94d276ca33
Bug 1445594 - Fetch must release the Promise object on the owning thread, r=catalinb
2018-03-14 16:17:08 +01:00
Andrea Marchesini
44fcb1243d
Bug 1445217 - Cleanup WorkerControlRunnable in dom/fetch, r=catalinb
2018-03-14 16:17:08 +01:00
Andrea Marchesini
cb79b67922
Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug
2018-02-14 13:23:01 +01:00
Eric Rahm
00725e9047
Bug 1437188 - Part 2: Only try to retarget if the listener is retargetable. r=bkelly
...
MutableBlobStreamListener isn't retargetable, in order to avoid warning about
it we don't try retarget it at all. This should remove about 4,000 warnings
during testing.
--HG--
extra : rebase_source : 9ff00b9c5e818c5eba813915b4118749da1ecad6
2018-02-12 11:57:44 -08:00
Andrea Marchesini
80a7883970
Bug 1422036 - Using WorkerControlRunnable to release resources in fetch when the worker is shutting down, r=catalinb
2018-02-05 19:55:08 +01:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
26352bfee1
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
3513d1c407
Bug 1413112 - Renaming Workers.h to WorkerCommon.h, r=bkelly
...
--HG--
rename : dom/workers/Workers.h => dom/workers/WorkerCommon.h
2018-01-30 10:10:04 +01:00
Ben Kelly
18648deb01
Bug 1425965 P3 Make ServiceWorkerManager::FlushReportsToAllClients() use FlushReportsToConsoleForServiceWorkerScope(). r=asuth
2018-01-12 12:16:04 -05:00
Andrea Marchesini
1fd1731f81
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug
2017-11-22 11:18:57 +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
Andrea Marchesini
53d31f2d9c
Bug 1402888 - Remove nsIInputStreamPump::Init() offset and limit params, r=smaug
2017-09-26 07:21:44 +02: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
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
f533937740
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 11:31:06 +02:00
Sebastian Hengst
80e618e605
Backed out changeset 2c6f49d73935 (bug 1378342)
2017-08-29 09:16:59 +02:00
Sebastian Hengst
db728bce54
Backed out changeset 4c41e61d6763 (bug 1378342)
2017-08-29 09:16:43 +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
afa1c0c6c4
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 07:30:21 +02:00
Catalin Badea
e3a0a40a0f
Bug 1380604 - Use Killing when dispatching the sync runnable in FetchBodyConsumer::ShutDownMainThreadConsuming. r=baku
2017-07-13 12:17:21 +01:00
Andrea Marchesini
b92fb666a1
Bug 1375659 - FetchConsumer must check if the operation has been aborted before starting, r=bkelly
2017-07-10 22:07:44 +02:00
Andrea Marchesini
df4d5a917f
Bug 1375749 - Avoid FetchConsumer::ContinueConsumeBody() to be called more than once, r=bkelly
2017-06-28 11:28:42 -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
Andrea Marchesini
7a1fb44a5c
Bug 1374922 - FetchConsumer should not continue if the window is destroyed, r=bkelly
2017-06-22 13:16:32 +02: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