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
74bc0e9cfd
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Wes Kocher
32c77eed4a
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Thomas Wisniewski
db30f3ebfe
Bug 1341609 - Don't throw on async XHR send() failures when open() created no channel; r=baku
...
MozReview-Commit-ID: IKVSbdRXoP8
2017-09-29 11:36:55 -04:00
Andrea Marchesini
c6eb34d6b3
Bug 1403981 - Clean up the return value of MutableBlobStorage::GetBlobWhenReady, r=qdot
2017-09-29 09:19:13 +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
Andrea Marchesini
e7c64f1a41
Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug
2017-09-14 14:28:29 +02:00
Andrea Marchesini
2daba7f880
Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug
2017-09-26 07:21:27 +02:00
Andrea Marchesini
b9173fa851
Bug 1398733 - IPCBlobInputStream::Available() should return 0 before any AsyncWait() call, r=smaug
2017-09-22 08:12:19 +02:00
Nicholas Nethercote
e8236888ee
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
2017-09-22 14:35:46 +10:00
Boris Zbarsky
69e8f0e795
Bug 1401171 - Make nsIMultiplexInputStream not inherit from nsIInputStream. r=bkelly
...
This is a preexisting issue that makes nsMultiplexInputStream multiple-inherit
from nsIInputStream: once via nsIMultipartInputStream and once via
nsIAsyncInputStream. This causes problems once we end up with more multiplex
streams that are async streams, because then some assingments to
nsCOMPtr<nsIInputStream> start asserting. This patch just removes the footgun
by getting rid of the multiple inheritance.
2017-09-19 16:26:21 +02:00
Sebastian Hengst
ded9a64296
Backed out changeset 3c9e25405f59 (bug 1401204) an request from baku for landing with wrong bug number. r=backout
2017-09-19 16:25:20 +02:00
Boris Zbarsky
16e792c08f
Bug 1401204 - Make nsIMultiplexInputStream not inherit from nsIInputStream. r=bkelly
...
This is a preexisting issue that makes nsMultiplexInputStream multiple-inherit
from nsIInputStream: once via nsIMultipartInputStream and once via
nsIAsyncInputStream. This causes problems once we end up with more multiplex
streams that are async streams, because then some assingments to
nsCOMPtr<nsIInputStream> start asserting. This patch just removes the footgun
by getting rid of the multiple inheritance.
2017-06-11 00:07:23 -04:00
Sebastian Hengst
2f495eb5c1
Bug 1399466 - Remove duplicate interface definition which caused bustage. r=bustage-fix on a CLOSED TREE
2017-09-16 17:50:42 +02:00
Sebastian Hengst
baec3c93e1
Backed out changeset 7822d49cfd59 (bug 1399466) for frequent leaks on Linux x64 debug (bug 1400132) and on Linux x64 asan (bug 1399117). r=backout
2017-09-16 17:28:15 +02:00
Andrea Marchesini
0fbcd4579e
Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug
2017-09-14 14:28:29 +02:00
Andrea Marchesini
38aad07616
Bug 1398556 - IPCBlobInputStream should call OnInputStreamReady() on the current thread if ::AsyncWait() is called without passing nsIEventTarget, r=smaug
2017-09-13 15:29:39 +02:00
Sebastian Hengst
c0d207732b
Backed out changeset 0140b9418003 (bug 1398556) for asserting at dom/file/ipc/IPCBlobInputStream.cpp:555. r=backout on a CLOSED TREE
2017-09-13 16:57:39 +02:00
Sebastian Hengst
f8b411c84d
Backed out changeset 393e901c47f6 (bug 1399466) so bug 1398556 can be backed out. r=backout on a CLOSED TREE
2017-09-13 16:56:25 +02:00
Andrea Marchesini
cb69e6d3c1
Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug
2017-09-13 15:37:49 +02:00
Andrea Marchesini
0e22e11971
Bug 1398556 - IPCBlobInputStream should call OnInputStreamReady() on the current thread if ::AsyncWait() is called without passing nsIEventTarget, r=smaug
2017-09-13 15:29:39 +02:00
Jon Coppeard
2b6e958310
Bug 1399141 - Attribute malloc memory when creating reflector object r=baku
2017-09-13 11:21:12 +01:00
Jon Coppeard
4cacf92d42
Bug 1301863 - Tell the JS engine how much memory blob reflectors hold alive r=baku
2017-09-12 10:46:51 +01:00
Andrea Marchesini
6237d5a32a
Bug 1397645 - Propagation of the IPCBlobInputStream slicing to the parent process, r=asuth
2017-09-11 17:29:44 +02:00
Andrea Marchesini
fd519aed46
Bug 1397645 - Optimize IPCBlobInputStream slicing with the introduction of nsICloneableInputStreamWithRange, r=asuth
2017-09-11 17:29:15 +02:00
Andrea Marchesini
081d05a2b5
Bug 1398635 - IPCBlobInputStream must release the remoteStream when the pipe inputStream wraps it in order to avoid double close(), r=smaug
2017-09-11 13:08:36 +02:00
Christoph Kerschbaumer
829d995d83
Bug 1397655 - Update tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug
2017-09-10 13:24:07 +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
Andrea Marchesini
b77742f7d4
Bug 1397627 - nsIAsyncFileMetadata interface, r=asuth
2017-09-08 16:06:26 +02:00
Andrea Marchesini
e34f8479e3
Bug 1397627 - IPCBlobInputStream should be always async, r=smaug
2017-09-08 16:06:25 +02:00
Andrea Marchesini
e8c53fbe46
Bug 1397627 - IPCBlobInputStream doesn't need to be seekable, r=smaug
2017-09-08 16:06:25 +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
Luke Wagner
5910209680
Bug 1351488 - Add async notification API for wasm compilation and async stream using it (r=janv,luke,asuth)
...
MozReview-Commit-ID: K0MOcxS8CMT
2017-08-29 10:56:49 -05:00
Masatoshi Kimura
26299618f5
Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
...
MozReview-Commit-ID: E88DZK5sfwx
2017-08-07 02:28:52 +09:00
Sebastian Hengst
80162c79f9
Backed out changeset 685802013f43 (bug 1389460) for OS X bustage at widget/cocoa/nsMenuX.mm:364: no member named 'DispatchDOMEvent' in 'nsIContent'. r=backout
2017-08-11 17:46:42 +02:00
Masatoshi Kimura
a0bcec8f88
Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
...
MozReview-Commit-ID: E88DZK5sfwx
2017-08-07 02:28:52 +09:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Bevis Tseng
2ecbda13e2
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
2017-07-26 16:13:35 +08:00
Bevis Tseng
ce50e5aaca
Bug 1378930 - Part 1: Remove nsINamed::SetName(). r=billm
...
MozReview-Commit-ID: 7aM1yJRsfPH
2017-07-21 11:50:43 +08:00
Andrea Marchesini
bf12d01926
Bug 1377589 - FileReader should create a pipe if the stream is blocking, r=smaug
2017-07-14 15:31:23 +02:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Nicholas Nethercote
fcd4f4fa21
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
2017-06-30 19:05:41 -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
Florian Quèze
c0468168f5
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Carsten "Tomcat" Book
bcce027fe7
Merge mozilla-central to mozilla-inbound
2017-06-22 14:10:35 +02:00
Florian Quèze
d0406d270c
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Andrea Marchesini
3c9c6b67eb
Bug 1362945 - Label runnables in dom/file/ipc, r=btseng
2017-06-22 11:05:56 +02:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Andrea Marchesini
4c97247518
Bug 1373222 - MutableBlobStorage always returns a temporary-file Blob if the size of data is greater than 1mb, r=smaug
2017-06-20 13:27:59 +02:00