Pass a cross-origin File from chrome://media-app to chrome://media-app-guest
Currently we pass an ArrayBuffer which does not work for large files such as video. Passing a File works, and doesn't require a copy. Add media/video to the list of handlers now we know it works. Tested manually with a 5GB video, and covered by existing unit and integration tests (with smaller files). Update the existing file_handler.accept map rather than adding a new handler due to https://crbug.com/1047509. BUG=996088, b/144865801 Change-Id: I46b3ba53676534e06ba039c9a52c8701b4d1d432 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2029532Reviewed-by:Bugs Nash <bugsnash@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#737175}
Showing
Please register or sign in to comment