IDBDatabase.mozCreateFileHandle() and IDBMutableFile.getFile() have been removed

Published:

Categories: DOM

Releases: Firefox 74, Firefox 78 ESR

Description

In Firefox 74, 2 changes have been made to the FileHandle API.

The non-standard mozCreateFileHandle method on the IDBDatabase interface, deprecated since Firefox 33, has been removed. Use the standard createMutableFile method instead.

The non-standard getFile method on the IDBMutableFile interface has also been removed. Since no other browsers support this, the compatibility impact should be minimum. The interface itself, previously called FileHandle, will be removed in the near future.

How can I test this?

This change can be tested with the compatibilty checker in our Firefox Developer Tools extension. Get it today!

References