Re: [whatwg] Inline Web Worker

2010-10-25 Thread Dmitry Titov
On Mon, Oct 18, 2010 at 11:28 AM, Drew Wilson wrote: > I believe it's a security feature. > > Imagine that you download foo.html into your C:/ - according to the logic > below, script running in foo.html should be able to read *any file on your > C:/ drive*. That seems scary to me. > > FWIW, chro

Re: [whatwg] Inline Web Worker

2010-10-18 Thread Drew Wilson
I believe it's a security feature. Imagine that you download foo.html into your C:/ - according to the logic below, script running in foo.html should be able to read *any file on your C:/ drive*. That seems scary to me. FWIW, chrome allows passing the --allow-file-access-from-files command line f

Re: [whatwg] Inline Web Worker

2010-10-16 Thread Tab Atkins Jr.
On Sat, Oct 16, 2010 at 3:30 AM, Simon Pieters wrote: > On Sat, 16 Oct 2010 03:12:38 +0200, Jonas Sicking wrote: > >> Allowing both blob URLs and data URLs for workers sounds like a great >> idea. > > FWIW, Opera supports data URLs for Worker (but not SharedWorker since it > could be used to cros

Re: [whatwg] Inline Web Worker

2010-10-16 Thread Samuel Ytterbrink
Good news. :D But then i got another problem, why is not "file:///some_directory_where_the_html_are/" not the same domain as "file:///some_directory_where_the_html_are/child_directory_with_ajax_stuff/". I understand if it was not okay to go closer to root when ajax, "file:///where_all_secrete_stuf

Re: [whatwg] Inline Web Worker

2010-10-16 Thread Simon Pieters
On Sat, 16 Oct 2010 03:12:38 +0200, Jonas Sicking wrote: Allowing both blob URLs and data URLs for workers sounds like a great idea. FWIW, Opera supports data URLs for Worker (but not SharedWorker since it could be used to cross the same-origin policy if two pages opened a SharedWorker w

Re: [whatwg] Inline Web Worker

2010-10-15 Thread Jonas Sicking
Allowing both blob URLs and data URLs for workers sounds like a great idea. / Jonas On Fri, Oct 15, 2010 at 3:49 PM, Eric Uhrhane wrote: > How about using a Blob URL?  See the discussion here: > https://groups.google.com/a/chromium.org/group/chromium-html5/tree/browse_frm/thread/4288931009182422

Re: [whatwg] Inline Web Worker

2010-10-15 Thread Eric Uhrhane
How about using a Blob URL? See the discussion here: https://groups.google.com/a/chromium.org/group/chromium-html5/tree/browse_frm/thread/4288931009182422/12703ab802469702. On Fri, Oct 15, 2010 at 3:17 PM, Samuel Ytterbrink wrote: > > Hi I have found something really frustrating with the specs.

[whatwg] Inline Web Worker

2010-10-15 Thread Samuel Ytterbrink
Hi I have found something really frustrating with the specs. to show that I at least read the blog about proposing features here is the questions and answers: *What is the problem you are trying to solve?* To create sophisticated single file webpages. *What is the feature you are suggesting to hel