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
BaseBlobImpl.h
Blob.cpp Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug 2017-11-23 13:12:13 -05:00
Blob.h
BlobImpl.cpp
BlobImpl.h
BlobSet.cpp Bug 1427091 - BlobSet must use nsCString instead of nsAutoCString, r=me 2018-01-05 15:38:06 +01:00
BlobSet.h
EmptyBlobImpl.cpp
EmptyBlobImpl.h
File.cpp
File.h
FileBlobImpl.cpp
FileBlobImpl.h
FileCreatorHelper.cpp
FileCreatorHelper.h
FileList.cpp
FileList.h
FileReader.cpp
FileReader.h
MemoryBlobImpl.cpp
MemoryBlobImpl.h
MultipartBlobImpl.cpp
MultipartBlobImpl.h
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
MutableBlobStreamListener.cpp
MutableBlobStreamListener.h
StreamBlobImpl.cpp
StreamBlobImpl.h
StringBlobImpl.cpp
StringBlobImpl.h
TemporaryFileBlobImpl.cpp
TemporaryFileBlobImpl.h
moz.build
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