FileHandler: Updates manifest.file_handler to match the explainer.
Explainer: https://github.com/WICG/file-handling/blob/master/explainer.md#example Summary of Changes: Old way: { "file_handler": { "action": "/files", "files": { "name": "Text", "accept": [ "text/plain", ".txt", ".md" ] } } } New way: { "file_handlers": [ { "action": "/files", "name": "Text", "accept": { "text/plain": [ ".txt", ".md" ] } } ] } Note: This change is behind the NativeFileSystemAPI and FileHandlingAPI flags, so this change won't effect any live web APIs. Bug: 829689 Change-Id: I85ea3abdc22f1b6c89749e051e2ce5dc592357dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877497 Commit-Queue: Jay Harris <harrisjay@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Matt Giuca <mgiuca@chromium.org> Cr-Commit-Position: refs/heads/master@{#720766}
Showing
This diff is collapsed.
Please register or sign in to comment