raphamorim / nautilus.js

Async CSS/JavaScript loader & dependency manager in ~1kb (600B gziped)
Apache License 2.0
19 stars 2 forks source link

Remove use of `webkitStorageInfo` #1

Closed rafaelverger closed 7 years ago

rafaelverger commented 7 years ago

DevTools is already warning about this deprecation:

[Deprecation] 'window.webkitStorageInfo' is deprecated. Please use
'navigator.webkitTemporaryStorage' or `navigator.webkitPersistentStorage' instead.
felipemsantana commented 7 years ago

This is a bug, nautilus.js extends window with all it's methods, getConfig, resetConfig, etc all are defined as props of window, when it iterates props of window in _.extends it will show this warning

felipemsantana commented 7 years ago

This bug could be identified early if using strict mode, this value would be undefined instead of window