- From: Jonas Sicking <jonas@sicking.cc>
- Date: Tue, 30 Mar 2010 17:32:29 -0700
- To: Michael Nordman <michaeln@google.com>
- Cc: Darin Fisher <darin@chromium.org>, Web Applications Working Group WG <public-webapps@w3.org>, Eric Uhrhane <ericu@google.com>
On Tue, Mar 30, 2010 at 5:00 PM, Michael Nordman <michaeln@google.com> wrote: > > > On Tue, Mar 30, 2010 at 4:56 PM, Darin Fisher <darin@chromium.org> wrote: >> >> The only way to get a FileWriter at the moment is from <input >> type="saveas">. What is desired is a way to simulate the load of a resource >> with Content-Disposition: attachment that would trigger the browser's >> download manager. > > When it comes to questions like these (when offline, how to do something > that happens in the online case)... i tend to say why not do it exactly the > same way as its done in the online case... so load a resource with a > Content-Disposition:attachment header on it :) "online" doesn't have File objects, it has URLs, so the analogy is pretty poor IMHO. / Jonas
Received on Wednesday, 31 March 2010 00:33:21 UTC