[piexwasm] test.html: implement file system create and file write api
Implement createFileSystem(): assume the images are up to 30M each in size when creating the HTML file system. Implement writeToFileSystem(): fetch the image from the server, store it in the file system. Strip the leading 'image/' from the test image name when storing the image (repetative, and not needed). Bug: 935285 Change-Id: Id62e37b05c15b305377c0bccc149e260f6d911d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1562254 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by:Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/master@{#650573}
Showing
Please register or sign in to comment