You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New Isolate::register_op API (#3002) still needs some work, namely:
OpRegistry::call_op will panic if you try to call op that doesn't exist - it should be handled gracefully by throwing error in JS (eg. Deno.core.send called with unknown op id: 100)
New
Isolate::register_op
API (#3002) still needs some work, namely:OpRegistry::call_op
will panic if you try to call op that doesn't exist - it should be handled gracefully by throwing error in JS (eg.Deno.core.send called with unknown op id: 100
)deno/core/ops.rs
Lines 66 to 81 in 97d8498
deno/cli/ops/dispatch_minimal.rs
Lines 74 to 81 in 97d8498
deno/cli/ops/dispatch_json.rs
Lines 46 to 53 in 97d8498
They would panic if you send bad data, eg.
Again this should throw an error in JS.
I say this is a prerequisite for native plugins.
Related issues:
The text was updated successfully, but these errors were encountered: