commit | 1f5a68ed07a7b4d7e1e3c37631783dcfa8168f04 | [log] [tgz] |
---|---|---|
author | Noel Gordon <noel@chromium.org> | Fri May 17 01:30:21 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 17 01:30:21 2019 |
tree | aeaf6ab6410e48cd4ccdba2d93cdb4d3bf09d472 | |
parent | 3e91f2c1c12c4d1d81fb1ef882d8526b585dcd7d [diff] |
[piexwasm] Add piex loader readFromFileSystem helper Raw image preview requests contain the source file as a DOM fileSystem URL. Add a helper to resolve the fileEntry associated with the URL and read its content into an ArrayBuffer with the DOM fileSystem API. Add closure markup / comments, add externs/platform.js to BUILD.gn for the DOM fileSystem API declarations, and Closure compile the lot. Bug: 904630 Change-Id: I80d3f695dfce939b92d42932db666c3ab272ac69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611624 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#660692}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .