Bug 1830580 [wpt PR 39755] - FSA: Relax file name checks in the BucketFS, a=testonly
commit7be8fa0745bf7b42dc81b0e6f031d975a933f8ae
authorAustin Sullivan <asully@chromium.org>
Wed, 18 Oct 2023 08:51:08 +0000 (18 08:51 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 26 Oct 2023 08:56:36 +0000 (26 08:56 +0000)
treea89e7609bcf05131160dc0e5977557a3043330ec
parent4bd830f45e41c254091be58bfc110c8a52f2836b
Bug 1830580 [wpt PR 39755] - FSA: Relax file name checks in the BucketFS, a=testonly

Automatic update from web-platform-tests
FSA: Relax file name checks in the BucketFS

Unlike when saving files to the local file system, the names of files in
the the Bucket File System (a.k.a. OPFS) are obfuscated before they end
up on disk - if they even end up on disk at all.

As such, we don't need to perform the same name sanitization and
obfuscation for these files as we do for files that end up on the
user-visible file system.

See https://github.com/whatwg/fs/issues/93 for context

Bug: 1399536
Change-Id: I019b393b731cd20aa4c45eade4eca19b6633e9cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4492076
Reviewed-by: Daseul Lee <dslee@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1206676}

--

wpt-commits: e4c1bdf27a01716a605a70e171be797f560952bf
wpt-pr: 39755
testing/web-platform/tests/fs/resources/test-helpers.js
testing/web-platform/tests/fs/script-tests/FileSystemFileHandle-move.js