Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 0 additions & 2 deletions crates/base/test_cases/user-worker-san-check/.blocklisted
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ futime
futimeSync
link
linkSync
lstat
lstatSync
makeTempFile
makeTempFileSync
readLink
Expand Down
1 change: 1 addition & 0 deletions crates/base/test_cases/user-worker-san-check/.whitelisted
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
mkdirSync
readDirSync
removeSync
lstatSync
statSync
writeFileSync
writeTextFileSync
Expand Down
2 changes: 2 additions & 0 deletions ext/runtime/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ globalThis.bootstrapSBEdge = (opts, ctx) => {
"cwd": true,

"open": true,
"lstat": true,
"stat": true,
"realPath": true,
"realPathSync": true,
Expand All @@ -671,6 +672,7 @@ globalThis.bootstrapSBEdge = (opts, ctx) => {
"addSignalListener": "mock",
"removeSignalListener": "mock",

"lstatSync": "allowIfRuntimeIsInInit",
"statSync": "allowIfRuntimeIsInInit",
"removeSync": "allowIfRuntimeIsInInit",
"writeFileSync": "allowIfRuntimeIsInInit",
Expand Down