This is a testharness.js-based test.
[FAIL] User succesfully selected an empty directory.
promise_test: Unhandled rejection with value: object "AbortError: Failed to execute 'showDirectoryPicker' on 'Window': The user aborted a request."
[FAIL] User granted write access.
promise_test: Unhandled rejection with value: object "AbortError: Failed to execute 'showDirectoryPicker' on 'Window': The user aborted a request."
[FAIL] Attempt to create a sync access handle.
promise_test: Unhandled rejection with value: object "AbortError: Failed to execute 'showDirectoryPicker' on 'Window': The user aborted a request."
Harness: the test ran to completion.