Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a note regarding permissions to FileSystemFileHandle doc #2891

Merged
merged 3 commits into from
Mar 6, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions files/en-us/web/api/filesystemfilehandle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ <h3 id="Writing_a_File">Writing a File</h3>
}
</pre>

Note that read and write operations depend on file access permissions that *do not* persist after a page refresh if no other tabs for that origin remain open. The <strong><code>queryPermission()</code></strong> method of the
{{domxref("FileSystemHandle")}} interface can be used to verify permission state before accessing a file.
sideshowbarker marked this conversation as resolved.
Show resolved Hide resolved

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
Expand Down