demo · v132

Permission lifecycle for a handle

Open a file, the handle has read permission. Want to write? Ask. Want to keep working after a reload? Use IDB. Walk a handle through every permission state and watch the log.

checking support…
handle.name
handle.kind
read permission
unknown
readwrite permission
unknown
click "showOpenFilePicker" to begin

see also