Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread Melvin Carvalho
On 9 April 2017 at 11:51, David Kendal wrote: > Moin, > > Over the last few years there has been a gradual downgrading of support > in browsers for running pages from the file: protocol. Most browsers now > have restrictions on the ability of JavaScript in such pages to access >

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread Philipp Serafin
Note also that the HTTP server solution requires you to ship a binary (the server) with your files, therefore sacrificing platform independence and requiring the user to run an untrusted binary, all just to show some HTML files. Jonathan Zuckerman schrieb am So., 9. Apr.

[whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread David Kendal
Moin, Over the last few years there has been a gradual downgrading of support in browsers for running pages from the file: protocol. Most browsers now have restrictions on the ability of JavaScript in such pages to access other files. Both Firefox and Chrome seem to have removed this support

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread Jonathan Zuckerman
The solution most developers use is to run a simple web server that hosts static content, it's a much simpler solution than the API you propose and requires no changes to the spec. It doesn't address the CD-ROM use case, though.. On Sun, Apr 9, 2017 at 06:11 Melvin Carvalho

Re: [whatwg] metadata

2017-04-09 Thread Anne van Kesteren
On Mon, Apr 10, 2017 at 6:44 AM, Philip Jägenstedt wrote: > There is a very old bug for exposing the metadata: > https://www.w3.org/Bugs/Public/show_bug.cgi?id=5755 > > In order to make progress, there needs to be implementer interest. Although > it may well fizzle out, a new

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread Jan Tosovsky
On 2017-04-09 David Kendal wrote: > > ... there are many possible uses for local static files accessing > other local static files: the one I have in mind is shipping static > files on CD-ROM or USB stick... In this case the file structure is fixed so it can be exported as JSON file and then

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread Gregg Tavares
I know this doesn't address your CD-ROM/USB stick situation but FYI... for the dev situation there are many *SUPER* simple web servers https://greggman.github.io/servez/ https://github.com/cortesi/devd/ https://github.com/indexzero/http-server/

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-09 Thread Brett Zamir
I support such an approach and have found the usual "use a server" response a bit disheartening. Besides the stated cases, I believe it should just be easy for new programmers, children, etc., to try out simple projects with nothing more than a browser and text editor (and the console is not

Re: [whatwg] metadata

2017-04-09 Thread Philip Jägenstedt
On Mon, Apr 10, 2017 at 8:38 AM Andy Valencia wrote: > What follows is a first pass at addressing a missing ability > when dealing with Internet streams, usually radio ones. > Comments and suggestions are quite welcome; as my first > attempt--ever--at submitting to

[whatwg] metadata

2017-04-09 Thread Andy Valencia
What follows is a first pass at addressing a missing ability when dealing with Internet streams, usually radio ones. Comments and suggestions are quite welcome; as my first attempt--ever--at submitting to this group, apologies if I've made any mistakes in how I've proceeded. Thanks, Andy Valencia