If FileSystemSyncAccessHandle.close() is synchronous, why does it return a Promise? #29420
Labels
Content:WebAPI
Web API docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/close
What specific section or headline is this issue about?
Return value
What information was incorrect, unhelpful, or incomplete?
All methods of FileSystemSyncAccessHandle are described as synchronous. But the mdn webdocs states that some of them return a
Promise
. This includesclose()
,flush()
,getSize()
andtruncate()
.What did you expect to see?
Return nothing or an explicit value.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/filesystemsyncaccesshandle/close
The text was updated successfully, but these errors were encountered: