Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

window.webkitStorageInfo' is deprecated #574

Closed
lookfirst opened this issue May 2, 2016 · 7 comments
Closed

window.webkitStorageInfo' is deprecated #574

lookfirst opened this issue May 2, 2016 · 7 comments

Comments

@lookfirst
Copy link
Contributor

This warning is back in the browser...

'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead.

Seems to only happen when I buildStatic() my code, so I'm posting it here.

Tried putting this into both jspm.browser.js and jspm.config.js:

    meta: {
        "core-js/modules/$.global.js": {
            "esmExports": false
        }
    }

Oddly, if I comment out the meta stuff above from both files, it doesn't happen when running unbundled, just with my bundle.

@lookfirst
Copy link
Contributor Author

Changing it to:

    "core-js/modules/_global.js": {

Doesn't help.

@guybedford
Copy link
Member

Thanks, this was a regression when updating from SystemJS. Fixed in 8c16e95 and also fixed the reason for the regression as well.

@lookfirst
Copy link
Contributor Author

So do I need the above meta or can I do without it now?

How do I take advantage of this before release again?

@lookfirst
Copy link
Contributor Author

btw, I'm on 0.17 now, so far so good.

@guybedford
Copy link
Member

Nice, great to hear that. Yes you can leave out the meta with this fix - the point was that we don't support the meta for static builds pending #338 so this was the workaround approach.

@lookfirst
Copy link
Contributor Author

Ignore last comment.

@guybedford
Copy link
Member

Released in 0.15.17.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants