Hi, On Thu, Feb 18, 2016 at 6:41 PM, Derek Z. H. Yan <[email protected]> wrote: > Hi, > > I built an Xwalk Windows application (with these instructions) that performs
Thanks for trying Crosswalk. > a file write to the Downloads folder. The actual code excerpt looks like the > following in the index.html: > > <script > src="https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.js"></script> > var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"}); > saveAs(blob, "hello world.txt"); > > This works for browsers (Chrome, FireFox, and even IE), and would invoke the > download manager. However, when I run it with xwalk.exe > http://localhost:8000, downloading is not invoked. Crosswalk is not a browser, thus provided the snippet above would work no Download Manager would be shown/invoked because there is no such UI. > > So here are my questions: > 1. Is there a certain flag that I can turn on when executing xwalk.exe to > enable crosswalk download manager? See above. > 2. Alternatively, does crosswalk have native filesystem libraries/interface > on Windows that I can enable in the xwalk_permissions (just like in chrome > apps) ? See https://github.com/crosswalk-project/crosswalk/tree/master/experimental/native_file_system > 3. Or, what is the proper way to write files to local storage on Windows > with my web app? > > Your help will be greatly appreciated! If you have any others questions feel free to ask. > > Best, > > Derek > > _______________________________________________ > Crosswalk-help mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help > _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
