gecko-dev/dom/file
Andrea Marchesini f6768a8ff6 Bug 1228139 - Remove nsIURIWithPrincipal - part 3 - main part, r=bz
nsIURIWithPrincipal is currently used to retrieve the nsIPrincipal from a
BlobURL object.  BlobURLProtocolHandler has a hashtable containing, for each
blobURL, a BlobImpl and its nsIPrincipal. This patch introduces
BlobURLProtocolHandler::GetBlobURLPrincipal() that retrieves the nsIPrincipal
from this hashtable.

This patch fixes also a bug in how the revocation of blobURLs is broadcasted to
other processes. This should be done immediately because each process creates
its own timer to revoke them after 5 seconds.

An important change is related to NS_SecurityCompareURIs() where, if 1 (or
both) of the 2 URIs to compare, is a revoked BlobURL, we will QI its URL to
nsIStandardURL and fail out at that point.
2018-07-24 22:15:57 +02:00
..
ipc Bug 1466314 - StreamBlobImpl CTOR must receive an already_AddRefed inputStream, r=smaug 2018-06-13 08:37:26 -07:00
tests Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
uri Bug 1228139 - Remove nsIURIWithPrincipal - part 3 - main part, r=bz 2018-07-24 22:15:57 +02:00
BaseBlobImpl.cpp Bug 1440195 For timestamps that are absolute, specify a null context pointer r=baku 2018-02-28 15:37:26 -06:00
BaseBlobImpl.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
Blob.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
Blob.h Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz 2018-05-21 17:32:44 -07:00
BlobImpl.cpp
BlobImpl.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
BlobSet.cpp Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
BlobSet.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
EmptyBlobImpl.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
EmptyBlobImpl.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
File.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
File.h Bug 1458883 - Remove File.lastModifiedDate, r=qdot 2018-05-04 14:39:53 +02:00
FileBlobImpl.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
FileBlobImpl.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
FileCreatorHelper.cpp
FileCreatorHelper.h
FileList.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
FileList.h Bug 1446515 - Remove nsIDOMFileList. r=bz 2018-03-16 20:55:32 +01:00
FileReader.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
FileReader.h Bug 1436784 - Use WorkerRef in FileReader, r=smaug 2018-03-13 21:17:06 +01:00
FileReaderSync.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
FileReaderSync.h Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
MemoryBlobImpl.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
MemoryBlobImpl.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
MultipartBlobImpl.cpp Bug 1469126 - Multipart Blobs should use nsMultiplexInputStream only when needed, r=smaug 2018-06-18 11:35:46 -04:00
MultipartBlobImpl.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
MutableBlobStorage.cpp Bug 1466023 - nsHostObjectURI renamed BlobURL, r=qdot 2018-06-02 15:51:42 +02:00
MutableBlobStorage.h Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot 2018-06-02 15:51:42 +02:00
MutableBlobStreamListener.cpp Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot 2018-06-02 15:51:42 +02:00
MutableBlobStreamListener.h Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
StreamBlobImpl.cpp Bug 1466314 - StreamBlobImpl should wrap the cloned stream with InputStreamLengthWrapper if needed, r=smaug 2018-06-13 08:37:26 -07:00
StreamBlobImpl.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
StringBlobImpl.cpp Bug 1413112 - Move FileReaderSync into dom/file, r=me 2018-01-30 10:13:29 +01:00
StringBlobImpl.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
TemporaryFileBlobImpl.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +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 1466023 - Move blobURL and fontTableURI code in a separate directory, r=qdot 2018-06-02 15:51:42 +02:00