Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graph: fix “Download PNG” for large images (#1610)
Summary: When viewing large graphs in Chrome, clicking the “Download PNG” button could the error message, “Failed - Network error”. This is because Chrome does not support downloading large data-URLs. Chrome does, however, support downloading large object URLs, so this patch makes the appropriate change to use that API instead. Test Plan: Generate the `audio_demo` data and open the `wave:01;sine_wave` graph in TensorBoard in Chrome. Transitively expand all node groups. Then, click “Download PNG”. Before this patch, this consistently failed to download. After this patch, it downloads and image with the correct contents. Also tested in Firefox. wchargin-branch: graph-download-png-blob
- Loading branch information