X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

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

Được đăng

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.

Chi tiết hệ thống bổ sung

Phần bổ trợ đã cài đặt

  • Adobe PDF Plug-In For Firefox and Netscape 17.9.20044
  • Citrix Receiver Plugin (Win32)
  • Citrix Online App Detector Plugin
  • Mozilla Plug-in
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • The plugin allows you to have a better experience with Microsoft SharePoint
  • The plugin allows you to have a better experience with Microsoft Lync
  • iPrint Plug-in 1.0.0 - Provides iPrint client services for Windows
  • Shockwave Flash 26.0 r0

Ứng dụng

  • Firefox 45.2.0
  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
  • URL hỗ trợ: https://support.mozilla.org/1/firefox/45.2.0/WINNT/en-US/

Tiện ích mở rộng

  • Adblock Plus 2.6.9.1-signed ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Adobe Acrobat DC - Create PDF 15.01.03 (web2pdfextension.15@web2pdf.adobedotcom)
  • checkCompatibility 1.3 (check-compatibility@dactyl.googlecode.com)
  • ColorZilla 2.8.1-signed ({6AC85730-7D0F-4de0-B3FA-21142DD85326})
  • Firebug 2.0.12 (firebug@software.joehewitt.com)
  • Firefox Hello Beta 1.1.14 (loop@mozilla.org)
  • NoScript 2.9.5.3 ({73a6fe31-595d-460b-a920-fcc0f8843232})
  • Smart-IP Connection Info 1.2.1-signed.1-signed (smartinfowidget@smart-ip.net)
  • Tamper Data 11.0.1.1-signed ({9c51bd27-6ed8-4000-a2bf-36cb95c0c947})
  • Web Developer 1.2.5.1-signed ({c45c406e-ab73-11d8-be73-000a95be3b12})
  • IBM SmartCloud Sametime WebPlayer 9.0.0.1523 ({7F91CC4E-C8E7-4326-86AE-1671D8B7E612}) (không hoạt động)
  • Pastebin 3.0.1-signed.1-signed (pastebin.com@gmail.com) (không hoạt động)

Javascript

  • incrementalGCEnabled: True

Đồ họa

  • adapterDescription: NVIDIA NVS 300
  • adapterDescription2:
  • adapterDeviceID: 0x10d8
  • adapterDeviceID2:
  • adapterDrivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterDrivers2:
  • adapterRAM: 512
  • adapterRAM2:
  • adapterSubsysID: 086210de
  • adapterSubsysID2:
  • adapterVendorID: 0x10de
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.22164
  • driverDate: 9-17-2012
  • driverDate2:
  • driverVersion: 9.18.13.668
  • driverVersion2:
  • failures: [u'[GFX1-]: [D3D11] create swap chain failed: 0x80070057, 0', u'[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(10640,70) Code: 0x80070057 format 1', u'[GFX1-]: [D3D11] create swap chain failed: 0x80070057, 0', u'[GFX1]: [D2D1.1] 4CreateBitmap failure Size(33,14) Code: 0x8899000c format 0', u'[GFX1-]: [D3D11] create swap chain failed: 0x80070057, 0', u'[GFX1-]: Compositors might be mixed (1,4)']
  • indices: [0, 6, 2, 3, 4, 5]
  • info: {u'AzureCanvasBackend': u'direct2d 1.1', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d 1.1', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • supportsHardwareH264: No; Unsupported layers backend
  • webglRenderer: Google Inc. -- ANGLE (NVIDIA NVS 300 Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Basic

Thay đổi cài đặt

Linh tinh

  • Người dùng JS: Không
  • Có thể tiếp cận: Không
Shadow110 1072 giải pháp 14836 câu trả lời
Được đăng

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.

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.
cor-el
  • Top 10 Contributor
  • Moderator
17583 giải pháp 159079 câu trả lời
Được đăng

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:

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: *https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase

Người tạo câu hỏi

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

''Pkshadow [[#answer-989867|said]]'' <blockquote> 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. </blockquote> Thanks, though, you actually linked my own (unanswered) question on stack overflow. ;D

Người tạo câu hỏi

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

''cor-el [[#answer-989878|said]]'' <blockquote> 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: *https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase </blockquote> 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