Remove or pref off non-standard IDB extensions

NEW
Unassigned

Status

()

Core
DOM: IndexedDB
2 years ago
22 days ago

People

(Reporter: Ms2ger, Unassigned)

Tracking

(Blocks: 1 bug, {addon-compat, dev-doc-needed, site-compat})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: btpp-followup-2016-04-07)

(Reporter)

Description

2 years ago
I found:

* createMutableFile
* mozCreateFileHandle
* IDBFileRequest
* IDBFileHandle

and there's probably a bunch more I didn't find. Nobody else seems interested in supporting them, so we should not ship them in release.
(Reporter)

Updated

2 years ago
Blocks: 1254929
(Reporter)

Comment 1

2 years ago
* IDBMutableFile

Comment 2

2 years ago
I know at least one site that uses this stuff, www.peer5.com
Guy Paskar should know more.

The plan is to extend current MutableFile implementation to support the new FileSystem API and once that ships and sites adjust to it, we'll remove createMutableFile, etc. from IndexedDB.
(In reply to Jan Varga [:janv] from comment #2)
> I know at least one site that uses this stuff, www.peer5.com
> Guy Paskar should know more.

Does peer5.com do something different for other browsers?
 
> The plan is to extend current MutableFile implementation to support the new
> FileSystem API and once that ships and sites adjust to it, we'll remove
> createMutableFile, etc. from IndexedDB.

It's not clear we're going to implement the FileSystem API in the short term.
Flags: needinfo?(jvarga)
Whiteboard: btpp-followup-2016-04-07

Comment 4

2 years ago
(In reply to Andrew Overholt [:overholt] from comment #3)
> (In reply to Jan Varga [:janv] from comment #2)
> > I know at least one site that uses this stuff, www.peer5.com
> > Guy Paskar should know more.
> 
> Does peer5.com do something different for other browsers?

Yes, I think they use google's filesystem api.

>  
> > The plan is to extend current MutableFile implementation to support the new
> > FileSystem API and once that ships and sites adjust to it, we'll remove
> > createMutableFile, etc. from IndexedDB.
> 
> It's not clear we're going to implement the FileSystem API in the short term.

Yeah and the current FileHandle in IndexedDB doesn't do any big harm, so I think we should just keep it for now.
Flags: needinfo?(jvarga)
I think we should add use counter telemetry to measure how much these are used in the wild. Will file a bug.
Depends on: 1271457

Updated

6 months ago
See Also: → bug 1361917

Comment 6

4 months ago
Is the IDB MutableFile support going to be available to WebExtensions? Migrating an addon to a WebExtension, shall I consider these interfaces to be stable and available or deprecated?
(Reporter)

Comment 7

4 months ago
The features in this bug are not in any web standard and are not implemented in any other browser. I would generally assume that such features will be removed eventually.
You need to log in before you can comment on or make changes to this bug.