gecko-dev/dom/file
Valentin Gosu a48c8f1ada Bug 1431760 - Add NS_MutateURI.Apply that allows calling methods declared in other interfaces implemented by NS_MutateURI::mMutator r=mayhemer
* The method can be chained just as the other methods on NS_MutateURI.
* In case the mutator object does not implement the interface, mStatus will be set to an error code.
* This is useful when you are constructing a new URI and the type of the mutator is known. I expect a future patch will add a MaybeApply method, that does not set mStatus to an error code if the mutator does not implement the interface.
* This patch changes nsHostObjectProtocolHandler::NewURI to use the new method and avoid a static_cast<nsHostObjectURI*>(uri)


MozReview-Commit-ID: 9kvXJX54gUP

--HG--
extra : rebase_source : 2a27778ec583251fac26c74d78125bd7266d6d87
2018-01-22 15:52:37 +01:00
..
ipc Bug 1424981 - MutableBlobStorage must keep the file locked during the IPC communication, r=smaug 2017-12-14 15:51:40 -06:00
tests Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
BaseBlobImpl.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
BaseBlobImpl.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
Blob.cpp Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug 2017-11-23 13:12:13 -05:00
Blob.h Bug 1409325 - Update FileReader WebIDL File, r=smaug 2017-10-17 13:41:01 +02:00
BlobImpl.cpp Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug 2017-02-16 18:26:38 +01:00
BlobImpl.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
BlobSet.cpp Bug 1427091 - BlobSet must use nsCString instead of nsAutoCString, r=me 2018-01-05 15:38:06 +01:00
BlobSet.h Bug 1358410 - Gt rid of CX parameter in BlobSet::AppendString(), r=qdot 2017-04-25 22:30:23 +02:00
EmptyBlobImpl.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
EmptyBlobImpl.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
File.cpp Bug 1358410 - Gt rid of CX parameter in BlobSet::AppendString(), r=qdot 2017-04-25 22:30:23 +02:00
File.h Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug 2017-02-16 18:26:38 +01:00
FileBlobImpl.cpp Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj 2017-11-07 01:04:06 +01:00
FileBlobImpl.h Bug 1403706 - Remove race conditions in temporary blob - part 5 - Introducing TemporaryFileBlobImpl, r=smaug 2017-10-05 07:41:42 +02:00
FileCreatorHelper.cpp Bug 1344957 - Enabling File.createFromNsIFile and File.createFromFileName only for testing and file-content-process, r=ehsan, r=bobowen 2017-03-21 11:11:06 +01:00
FileCreatorHelper.h Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
FileList.cpp
FileList.h
FileReader.cpp Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth 2017-11-15 07:58:38 +01:00
FileReader.h Bug 1409325 - Update FileReader WebIDL File, r=smaug 2017-10-17 13:41:01 +02:00
MemoryBlobImpl.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
MemoryBlobImpl.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
MultipartBlobImpl.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
MultipartBlobImpl.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
MutableBlobStorage.cpp Bug 1424981 - MutableBlobStorage must keep the file locked during the IPC communication, r=smaug 2017-12-14 15:51:40 -06:00
MutableBlobStorage.h Bug 1416724 - part 2 - MutableBlobStorage should check the return value of TaskQueue::Dispatch(), r=smaug 2017-11-15 07:58:03 +01:00
MutableBlobStreamListener.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
MutableBlobStreamListener.h Bug 1362944 - Part 1: Accept nsIEventTarget in the CTOR of MutableBlobStorage to support runnable labeling. r=baku 2017-05-09 18:29:46 +08:00
StreamBlobImpl.cpp Backed out changeset 66d49b9e8217 (bug 1414767) for build bustage on OS X: CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h:693: reference to 'TextRange' is ambiguous. r=backout on a CLOSED TREE 2017-11-06 17:51:56 +01:00
StreamBlobImpl.h Bug 1403771 - SlicedInputStream takes ownership of the underlying stream and it propagates the Close() call, r=smaug 2017-10-05 07:38:48 +02:00
StringBlobImpl.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
StringBlobImpl.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
TemporaryFileBlobImpl.cpp Bug 1403706 - Remove race conditions in temporary blob - part 5 - Introducing TemporaryFileBlobImpl, r=smaug 2017-10-05 07:41:42 +02:00
TemporaryFileBlobImpl.h Bug 1403706 - Remove race conditions in temporary blob - part 5 - Introducing TemporaryFileBlobImpl, r=smaug 2017-10-05 07:41:42 +02:00
moz.build Bug 1403706 - Remove race conditions in temporary blob - part 7 - Remove TemporaryBlobImpl, r=smaug 2017-10-05 07:41:43 +02:00
nsHostObjectProtocolHandler.cpp Bug 1431760 - Add NS_MutateURI.Apply that allows calling methods declared in other interfaces implemented by NS_MutateURI::mMutator r=mayhemer 2018-01-22 15:52:37 +01:00
nsHostObjectProtocolHandler.h Bug 1420419 - Postpone the removing of BlobURL for 5 seconds in order to allow the loading of them in a remote process, r=smaug 2017-11-29 09:40:16 +01:00
nsHostObjectURI.cpp Bug 1431760 - Add NS_MutateURI.Apply that allows calling methods declared in other interfaces implemented by NS_MutateURI::mMutator r=mayhemer 2018-01-22 15:52:37 +01:00
nsHostObjectURI.h Bug 1431760 - Add NS_MutateURI.Apply that allows calling methods declared in other interfaces implemented by NS_MutateURI::mMutator r=mayhemer 2018-01-22 15:52:37 +01:00
nsIDOMBlob.idl
nsIDOMFileList.idl