diff options
author | snek <snek@deno.com> | 2024-11-06 15:08:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 14:08:26 +0000 |
commit | 700f54a13cce0fcdcf19d1893e3254579c7347f4 (patch) | |
tree | 16e72baca781c32c1304f3bed009878854ae9edc /runtime/snapshot.rs | |
parent | 64e887083aa67047f5ad37b9d55c418274b03ea3 (diff) |
fix(ext/node): better inspector support (#26471)
implement local inspector
future changes:
- wire up InspectorServer to enable open/close/url
- wire up connectToMainThread
Fixes https://github.com/denoland/deno/issues/25004
Diffstat (limited to 'runtime/snapshot.rs')
-rw-r--r-- | runtime/snapshot.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/snapshot.rs b/runtime/snapshot.rs index 0d81af6e7..251ee5f41 100644 --- a/runtime/snapshot.rs +++ b/runtime/snapshot.rs @@ -82,6 +82,13 @@ impl deno_node::NodePermissions for Permissions { ) -> Result<(), PermissionCheckError> { unreachable!("snapshotting!") } + fn check_net( + &mut self, + _host: (&str, Option<u16>), + _api_name: &str, + ) -> Result<(), PermissionCheckError> { + unreachable!("snapshotting!") + } fn check_read_path<'a>( &mut self, _path: &'a Path, |