Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Does anyone know of a working example of the File_Handle_API / File Storage

  • 4 válasz
  • 1 embernek van ilyen problémája
  • 7 megtekintés
  • Utolsó üzenet ettől: cmo-agr

more options

hello, does anyone know of a working example of the File Storage working with file handle https://developer.mozilla.org/en-US/docs/Web/API/File_Handle_API#File_storage ?

This line is failing:

var store = DB.transaction(['files'], 'readwrite').objectStore('files');

failing with this message:

   NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.
hello, does anyone know of a working example of the File Storage working with file handle https://developer.mozilla.org/en-US/docs/Web/API/File_Handle_API#File_storage ? This line is failing: var store = DB.transaction(['files'], 'readwrite').objectStore('files'); failing with this message: NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.

Összes válasz (4)

more options

This site would be your best please for that sort of thing. Very good place. https://stackoverflow.com/questions/45290613/how-to-implement-the-file-handle-api-file-storage-in-firefox

Please let us know if this solved your issue or if need further assistance.

more options

Note that it isn't guaranteed that all examples work with your outdated Firefox 45.2.0 version.

Did you test this with the current release (54.0.1)?

See also:

more options

Pkshadow said

This site would be your best please for that sort of thing. Very good place. https://stackoverflow.com/questions/45290613/how-to-implement-the-file-handle-api-file-storage-in-firefox Please let us know if this solved your issue or if need further assistance.

Thanks, though, you actually linked my own (unanswered) question on stack overflow. ;D

more options

cor-el said

Note that it isn't guaranteed that all examples work with your outdated Firefox 45.2.0 version. Did you test this with the current release (54.0.1)? See also:

Thanks, I did try it in the new release and I get the same road block there. I'm sure this is not a commonly used, if used at all, function but I was hopeful someone out there had a successful implementation they could share.... and there probably is but they don't have ears here.

btw... that v45.2.0 is our wonderful ESR version. Nothing like living in the past to be more secure! I'm thinking about just unplugging the cable to be almost fully safe on the network. :D