gecko-dev/dom/file
Tom Ritter 16f0facaae Bug 1440195 For timestamps that are absolute, specify a null context pointer r=baku
Note that by not using the same context pointer for all timestamps within a single
'communication group' (that is, all things that can communication to each other
in JavaScript), it's possible to observe time going backwards.

Imagine comparing
  performance.timeOrigin + performance.now() < new File([], "").lastModified

In theory this should always be true. However, if performance.now() was jittered
up (using one context pointer, because it is a relative timestamp) and File was
jittered down (using a null context pointer, because it is an absolute timestamp)
then this may evaluate to False.

I think this is okay.

MozReview-Commit-ID: BfgbmGS8XdD

--HG--
extra : rebase_source : 1d105d9b63e61561be06dbfe2a3fccf534ee68b3
2018-02-28 15:37:26 -06:00
..
ipc Bug 1445540 - Use WorkerRef in IPCBlob, r=smaug 2018-03-14 15:24:38 +01:00
tests Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +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
Blob.cpp Bug 792808 - Migrate BodyExtractor away from using nsIXHRSendable; r=baku 2017-09-19 21:32:12 -04:00
Blob.h Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku 2017-11-19 17:11:41 -05:00
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 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
File.h
FileBlobImpl.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
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
FileList.h
FileReader.cpp Bug 1436784 - Use WorkerRef in FileReader, r=smaug 2018-03-13 21:17:06 +01:00
FileReader.h Bug 1436784 - Use WorkerRef in FileReader, r=smaug 2018-03-13 21:17:06 +01:00
FileReaderSync.cpp Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01: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 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
MultipartBlobImpl.cpp Bug 1440195 For timestamps that are absolute, specify a null context pointer r=baku 2018-02-28 15:37:26 -06:00
MultipartBlobImpl.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
MutableBlobStorage.cpp Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
MutableBlobStorage.h Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
MutableBlobStreamListener.cpp Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
MutableBlobStreamListener.h Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
StreamBlobImpl.cpp
StreamBlobImpl.h
StringBlobImpl.cpp Bug 1413112 - Move FileReaderSync into dom/file, r=me 2018-01-30 10:13:29 +01:00
StringBlobImpl.h
TemporaryFileBlobImpl.cpp
TemporaryFileBlobImpl.h
moz.build Bug 1436711 - update BUG_COMPONENT to dom/file/* and dom/filesystem/* files, r=catalinb 2018-02-08 14:47:16 +01:00
nsHostObjectProtocolHandler.cpp Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer 2018-02-21 01:00:54 +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 1434163 - Make all nsIURI attributes readonly r=mayhemer 2018-02-27 00:07:48 +01:00
nsHostObjectURI.h Bug 1441688 - Remove nsIIPCSerializableURI.Deserialize r=mayhemer 2018-03-05 04:14:44 +01:00
nsIDOMBlob.idl
nsIDOMFileList.idl