// deno-fmt-ignore-file postMessage({ envGlobal: (await Deno.permissions.query({ name: "env" })).state, envFoo: (await Deno.permissions.query({ name: "env", variable: "foo" })).state, envAbsent: (await Deno.permissions.query({ name: "env", variable: "absent" })).state, netGlobal: (await Deno.permissions.query({ name: "net" })).state, netFoo: (await Deno.permissions.query({ name: "net", host: "foo" })).state, netFoo8000: (await Deno.permissions.query({ name: "net", host: "foo:8000" })).state, netBar: (await Deno.permissions.query({ name: "net", host: "bar" })).state, netBar8000: (await Deno.permissions.query({ name: "net", host: "bar:8000" })).state, ffiGlobal: (await Deno.permissions.query({ name: "ffi" })).state, ffiFoo: (await Deno.permissions.query({ name: "ffi", path: new URL("foo", import.meta.url) })).state, ffiBar: (await Deno.permissions.query({ name: "ffi", path: "bar" })).state, ffiAbsent: (await Deno.permissions.query({ name: "ffi", path: "absent" })).state, readGlobal: (await Deno.permissions.query({ name: "read" })).state, readFoo: (await Deno.permissions.query({ name: "read", path: new URL("foo", import.meta.url) })).state, readBar: (await Deno.permissions.query({ name: "read", path: "bar" })).state, readAbsent: (await Deno.permissions.query({ name: "read", path: "absent" })).state, runGlobal: (await Deno.permissions.query({ name: "run" })).state, runFoo: (await Deno.permissions.query({ name: "run", command: new URL("foo", import.meta.url) })).state, runBar: (await Deno.permissions.query({ name: "run", command: "bar" })).state, runBaz: (await Deno.permissions.query({ name: "run", command: "./baz" })).state, runAbsent: (await Deno.permissions.query({ name: "run", command: "absent" })).state, writeGlobal: (await Deno.permissions.query({ name: "write" })).state, writeFoo: (await Deno.permissions.query({ name: "write", path: new URL("foo", import.meta.url) })).state, writeBar: (await Deno.permissions.query({ name: "write", path: "bar" })).state, writeAbsent: (await Deno.permissions.query({ name: "write", path: "absent" })).state, });