0
Files
src/storage
Joel Hockey c847a2385b Allow content-URIs in IsolatedContext, fixes webkitGetAsEntry()
Drag-drop support for files in android was recently added, however
DataTransferItem.webkitGetAsEntry() is failing.

The failure is because files are not getting registered correct
with IsolatedContext which currently checks path.IsAbsolutePath()
which returns false for a content-URI path such as
content://authority/path.

This fixes the validation to allow content-URIs.

Change-Id: I42282c3dde18f6d4e49731eb700cdf37d9398f3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6370628
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1435869}
2025-03-20 22:41:58 -07:00
..