My theory is that many Electron apps don't really need Electron - they just need secure, constrained local file system access. Electron has massive potential security issues. Chrome with native file system access could make it possible for many of those Electron apps to simply be browser apps, making them vastly more secure and bringing them back into the domain of the ordinary web app. It's a hugely important new fe…
Chrome 78 Beta: a new Houdini API, native file system access and more
11–20 of 80 posts
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#12The Native File System API sounds like an exploit waiting to be discovered.
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#13On the other hand, I’m really not sure if I like the future of editing Microsoft office documents in the browser. I heavily believe that apps should have an integrated UX (with appropriate OS-specific widgets), because it allows coherency and familiarity.
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#14My theory is that many Electron apps don't really need Electron - they just need secure, constrained local file system access. Electron has massive potential security issues. Chrome with native file system access could make it possible for many of those Electron apps to simply be browser apps, making them vastly more secure and bringing them back into the domain of the ordinary web app. It's a hugely important new fe…
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#15Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#16Plain HTML documents are SEO friendly, are a11y friendly almost by default, back/forward navigation works, and HTML doesn't chew battery and bandwidth on JavaScript.
For our web app the biggest pain points are: security (hard to integrate third party libraries), control over the viewport (an app header and footer that don't get lost when zoomed - like an App), control over data entry (the hacks we have to do for fast reliable time and date entry are rediculous, and other stuff is just too hard), and control over navigation (browser back/forward is broken for applications that POST data).
Unfortunately Google don't seem to want to encourage plain HTML documents (instead the insane AMP shit).
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#17I’m not sure about how to think about the file system API. On one hand, is great to see that secure file system access is possible in-browser, which allows most electron apps be converted into PWAs. That’s great, I no longer need to run 5 different chromium instances. On the other hand, I’m really not sure if I like the future of editing Microsoft office documents in the browser. I heavily believe that apps should ha…
Especially with Microsoft office, which was completely chock full of custom controls and didn't feel at all like part of the OS last time I used a natively installed version (on windows 7)
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#18Was this intended to be tied to some other feature or framework not mentioned?
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#19The Native File System API sounds like an exploit waiting to be discovered.
https://github.com/WICG/native-file-system/blob/master/EXPLA...
Re: Chrome 78 Beta: a new Houdini API, native file system access and more
#20Browsers need a bright line between documents (HTML and CSS) and applications (electron-like, notifications, complex APIs, access to features that affect the user's security). Plain HTML documents are SEO friendly, are a11y friendly almost by default, back/forward navigation works, and HTML doesn't chew battery and bandwidth on JavaScript. For our web app the biggest pain points are: security (hard to integrate third…
Glad that somebody else sees this. This muddling together of a perfectly good hypertext browser and a poor man's operating system is really not a Good Thing.
Just think about the difficulty web "applications" have dealing with something like function keys. If I press F5 in my browser, and I asking the browser to reload the page, or telling the page to do something? And how would I know ahead of time if the page has hijacked a given key combo that I intuitively expect the browser to respond to (ctrl+w maybe).
Whether we separate out the application runtime from the browser altogether and have a handoff mechanism, or add some way for a page to request something like an "application mode" to the browser, it really feels like we need a way to make this "page" vs "application" distinction.
And yes, of course, the line appears a bit fuzzy. I'm not saying figuring out an answer to this is easy, but I hope there are people out there thinking about it.