Commit Graph

592 Commits

Author SHA1 Message Date
Ben Kelly
00d42d9d6b Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku 2018-05-02 06:29:26 -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
Andrea Marchesini
2aa16211a9 Bug 1455811 - ReadableStream.cancel() must cancel the actual download - part 2, r=bkelly 2018-04-24 16:10:38 +02:00
Andrea Marchesini
8617b48e8e Bug 1455811 - ReadableStream.cancel() must cancel the actual download - part 1, r=bkelly 2018-04-24 16:09:58 +02:00
Ben Kelly
dc7660b692 Bug 1394399 P1 Default Request.credentials to "same-origin" instead of "omit". r=baku 2018-04-20 08:45:13 -07:00
Andrea Marchesini
4b23deda27 Bug 1448328 - Use thread-safe nsIURI in the URI API - part 1 - No getter/setter runnables, r=valentin 2018-04-14 01:06:35 +02:00
Sebastian Hengst
0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Nathan Froyd
7bb7ffd8c9 Bug 1453134 - part 1 - add a string input stream constructor that accepts move references; r=baku
This method is more efficient when we know we're not going to need the
string afterwards, and should cut down on intermediate allocations.
2018-04-11 10:06:17 -04:00
Catalin Badea
1cf810fbe8 Bug 1402892 - Implement Request.destination. r=asuth,baku 2018-04-11 13:23:11 +01:00
Boris Zbarsky
1c287692f6 Bug 1452235 part 5. Stop inheriting nsISupports for nsDOMSerializer. r=qdot
MozReview-Commit-ID: 89iyRqKcAl0
2018-04-09 16:30:33 -04:00
Boris Zbarsky
a43a4c2e87 Bug 1452235 part 1. Remove nsIDOMSerializer::SerializeToStream. r=qdot
MozReview-Commit-ID: IB4W7R7Rg2P
2018-04-09 16:30:32 -04:00
Margareta Eliza Balazs
46479527fd Backed out 3 changesets (bug 1402892) for wpt failures in /fetch/api/request/request-idl.html on a CLOSED TREE
Backed out changeset 7218641c9b12 (bug 1402892)
Backed out changeset 2fce477733f0 (bug 1402892)
Backed out changeset 34e219813b64 (bug 1402892)
2018-04-09 20:01:12 +03:00
Catalin Badea
1c8f28f854 Bug 1402892 - Implement Request.destination. r=asuth,baku 2018-04-09 16:29:15 +01:00
Boris Zbarsky
4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Dave Townsend
e2dffad4ac Bug 1448500: Add speculative request content policy type. r=bz, r=kmag
Adds a new TYPE_SPECULATIVE to nsIContentPolicy uses it as the type for
speculative connection channels from the IO service. I believe I've added it to
all the content policies in tree to make sure it behaves the same as TYPE_OTHER
used to.

The webextension test shows that the webextension proxy API sees speculative
lookups requested through the IO service.

MozReview-Commit-ID: DQ4Kq0xdUOD

--HG--
extra : rebase_source : d9460fdac118bc68f0db79749a16f181b580f2e7
2018-03-23 15:27:08 -07: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
446bd86ffe Bug 1445587 - Port Fetch to WorkerRef - part 4 - Fetch Request, r=smaug 2018-03-16 16:52:29 +01:00
Andrea Marchesini
2035842eaa Bug 1445587 - Port Fetch to WorkerRef - part 3 - FetchStreamReader, r=smaug 2018-03-16 16:52:29 +01:00
Andrea Marchesini
86e59d5cd5 Bug 1445587 - Port Fetch to WorkerRef - part 2 - FetchStream, r=smaug 2018-03-16 16:52:29 +01:00
Andrea Marchesini
f46c7858b5 Bug 1446204 - Response body should be marked as used if used as stream, r=till 2018-03-16 16:52:28 +01: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
899bf212ef Bug 1445540 - Use WorkerRef in FetchUtil, r=smaug 2018-03-14 15:27:52 +01:00
Andrea Marchesini
86d581422b Bug 1440941 - FetchDriver should check if the operation has been already aborted when OnStartRequest is called, r=bkelly 2018-02-26 22:32:15 +01:00
Thomas Wisniewski
7c05457e0d Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku
MozReview-Commit-ID: 8yzCXSeyO85

--HG--
extra : rebase_source : 80f2a96df1e250ad646a20271b7d3dbebf7774e4
2017-11-19 17:11:41 -05:00
Thomas Wisniewski
bd0b3ab10a Bug 792808 - Migrate BodyExtractor away from using nsIXHRSendable; r=baku
MozReview-Commit-ID: 1fNcm1mPJJB

--HG--
extra : rebase_source : 443ad7309f2e6a064b54466ece967ced0c3155ea
2017-09-19 21:32:12 -04:00
Eric Rahm
3efc420b11 Bug 1437693 - Stop warning about unknown content lengths. r=bkelly
--HG--
extra : rebase_source : 943658882837ad790542231634d2a24c21906094
2018-02-12 14:54:14 -08: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
Eric Rahm
9f798eecf1 Bug 1437188 - Part 1: Remove verbose fetch related warnings. r=bkelly
This removes the most verbose fetch related warnings. Cumulatively these
account for about 11,000 warnings during testing.

--HG--
extra : rebase_source : ee930dec1e18b9a7f34d5c66944dc015be10be69
2018-02-09 14:04:03 -08:00
Andrea Marchesini
1126b00aed Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot 2018-01-31 16:45:20 +01:00
Andrea Marchesini
67fac604a1 Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj 2018-01-31 16:45:20 +01: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
Boris Zbarsky
478687c2e8 Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Sebastian Hengst
14018b66f7 Backed out changeset 52b418c8febf (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
--HG--
extra : histedit_source : d98d3d57b04e85bbee527549ecc271e5fc02e21e
2018-01-31 20:31:22 +02:00
Sebastian Hengst
e33e198739 Backed out changeset f1221589e7a6 (bug 1405974) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
--HG--
extra : histedit_source : d11737083bf4383b50707e024539f45f174531f9
2018-01-31 20:30:45 +02:00
Andrea Marchesini
69f4700dfd Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot 2018-01-31 16:45:20 +01:00
Andrea Marchesini
c16f42b917 Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj 2018-01-31 16:45:20 +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
7e52540256 Bug 1432963 - Fixing workers headers - part 16 - JSSettings in a workerinternals namespace, r=smaug 2018-01-31 08:24:59 +01:00
Andrea Marchesini
2c7c69af24 Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +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
c4b257cdc6 Bug 1432963 - Fixing workers headers - part 12 - WorkerRunnable without workers namespace, r=smaug 2018-01-31 08:22:56 +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
Gurzau Raul
ea1ff80377 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 19:08:48 +02:00
Yury Delendik
0cc3f8ba82 Bug 1431864 - Use Response.url as WebAssembly module URL. r=bkelly,luke
MozReview-Commit-ID: 2xAasdmpIKX

--HG--
extra : rebase_source : a4664e04930eda6dc1a4429be5b9a3c3467cd71b
2018-01-22 14:55:30 -06:00