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
Hi,
I want to report the following bug found while using prototype.__defineSetter__ on Deno's built-in objects:
Details:
Version: Deno 1.42.1
Platform: linux x86_64
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: linux x86_64
Version: 1.42.1
Args: ["deno", "run", "9.ts"]
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.272.0/error.rs:420:71:
called Result::unwrap() on an Err value: ExpectedObject("undefined")
stack backtrace:
0: rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
3: deno_core::error::JsError::inner_from_v8_exception
4: deno_core::error::exception_to_err_result
5: deno_core::runtime::jsruntime::JsRuntime::poll_event_loop
6: deno_core::runtime::jsruntime::JsRuntime::run_event_loop::{{closure}}
7: deno_runtime::worker::MainWorker::run_event_loop::{{closure}}
8: deno::worker::CliMainWorker::run::{{closure}}
9: deno::tools::run::run_script::{{closure}}
10: deno::spawn_subcommand::{{closure}}
11: <deno_unsync::task::MaskFutureAsSend as core::future::future::Future>::poll
12: tokio::runtime::task::raw::poll
13: deno::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
How To Reproduce:
Run the following script:
Array.prototype.__defineSetter__(0,function(){});// I tested it also with "Object" instead of "Array".//To trigger deno panica;
The text was updated successfully, but these errors were encountered:
Hi,
I want to report the following bug found while using
prototype.__defineSetter__
on Deno's built-in objects:Details:
Version: Deno 1.42.1
Platform: linux x86_64
How To Reproduce:
Run the following script:
The text was updated successfully, but these errors were encountered: