intercellular / cell

A self-driving web app framework
https://www.celljs.org
MIT License
1.5k stars 93 forks source link

window.webkitStorageInfo is deprecated on Chrome. #122

Closed timcombs closed 7 years ago

timcombs commented 7 years ago

I'm playing with cell.js on Chrome and I get this error message in the Developer Console:

[Deprecation] 'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead. (anonymous) @ cell.js:348 detect @ cell.js:346 create @ cell.js:371 (anonymous) @ cell.js:395

devsnek commented 7 years ago

First of all that isn't an error. This happens because Cell iterates through Object.keys of window

Chrome has setup a getter on window.webkitStorageInfo to show a console warning telling developers that it is deprecated so when Cell tries to see if window.webkidStorageInfo.$cell is a thing that deprecation warning will show.

TLDR; nothing to worry about. (can close)