Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
getMetadata() method of the
IDBFileHandle allows retrieving some metadata about the file.
Note: The three interfaces
IDBFileRequest are deprecated and only implemented
for backward compatibility in Firefox. Do not use them anymore:
consider using the File and Directory Entries API instead.
An object used to request specific metadata. Each key is a boolean where
truemeans the metadata is expected and where
falsemeans it is not expected. Note that if the key is
undefined, it is considered as if it were
The following metadata are supported:
The size of the file.
Datewhen the file was last modified.
IDBFileRequest object. In case of success, the request's
result is an object with the metadata requested through the param object.
This feature is not part of any current specification. It is no longer on track to become a standard.