4 ms·
Unsure, but I think if you have an extension, you can make the request in an extension page, which isn't CORS-restricted. (I don't totally understand the diffe
by geofft 7y ago
Unsure, but I think if you have an extension, you can make the request in an extension page, which isn't CORS-restricted.
(I don't totally understand the difference between a Chrome app and an extension that turns itself into a PWA, both are browser-specific and both are distributed through the Chrome web store, right?)
- tyingq 7y agoA chrome app has access to normal sockets, local filesystem, etc.
- tracker1 7y agoNot sure how they'll handle this... given the risk of losing a local db store's data in chrome, I'm hoping they normalize on something. Ideally, a directory for access/storage enough to use SQLite as via WebAssembly should be available to plugins with a request/approval for read (and optionally write) access ... to me, that should be a goal of any file system interface presented via WebAssembly, is the option for something that at least supports that use case.
- geofft 7y agoThere's a standardized File API https://developer.mozilla.org/en-US/docs/Web/API/File https://developer.mozilla.org/en-US/docs/Web/API/File and a nonstandard FileSystem API being driven by Google https://developer.mozilla.org/en-US/docs/Web/API/FileSystem https://developer.mozilla.org/en-US/docs/Web/API/FileSystem But yeah it seems network sockets are going away. Honestly that seems good from a security perspective but I will miss the mosh app for CrOS.