- From: Jonas Sicking <jonas@sicking.cc>
- Date: Tue, 7 Dec 2010 16:49:01 -0800
On Tue, Dec 7, 2010 at 3:48 PM, Ian Hickson <ian at hixie.ch> wrote: >> > > If we can do all this that should turn it into a one-way dependency >> > > with most definitions being completely self-contained. >> > >> > I'm not sure it's worth it in the case of the origin thing. >> >> So what happens when we define how to get a Document out of a File? > > We would update the HTML spec. Or, now, the File spec can define it. > Either is fine by me. I still think that we should set up a > post-processing step that merges all these specs into one anyway. :-) For what it's worth, this is already possible in Firefox. We support using XMLHttpRequest to load from from a File using xhr = new XMLHttpRequest; xhr.open("GET", URL.createObjectURL(myfile), false); xhr.send(); var documentFromFile = xhr.responseXML; / Jonas
Received on Tuesday, 7 December 2010 16:49:01 UTC