Given the following code: > await navigator.storage.getDirectory().then(structuredClone) the expected output would be: > FileSystemDirectoryHandle {kind: 'directory', name: ''} but instead, Safari throws: > DataCloneError: The object cannot be cloned. Among other things, this lack of serializability means that file system handles cannot be passed to workers to enable write operations.
<rdar://problem/114823273>