versotile-org/verso

Crash when pasting in the `<input>`

Closed this issue · 0 comments

Crashes when pasting something in the <input>

logs

thread 'Script(1,1)' panicked at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/clipboard_provider.rs:23:19:
called `Result::unwrap()` on an `Err` value: Disconnected
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1654:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1077:23
   4: <script_traits::ScriptToConstellationChan as script::clipboard_provider::ClipboardProvider>::clipboard_contents
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/clipboard_provider.rs:23:9
   5: script::textinput::TextInput<T>::handle_keydown_aux::{{closure}}
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/textinput.rs:898:32
   6: keyboard_types::shortcuts::ShortcutMatcher<T>::shortcut
             at /Users/jason/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyboard-types-0.7.0/src/shortcuts.rs:89:35
   7: script::textinput::TextInput<T>::handle_keydown_aux
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/textinput.rs:855:9
   8: script::textinput::TextInput<T>::handle_keydown
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/textinput.rs:838:9
   9: <script::dom::htmlinputelement::HTMLInputElement as script::dom::virtualmethods::VirtualMethods>::handle_event
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/dom/htmlinputelement.rs:2546:30
  10: script::dom::event::Event::dispatch
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/dom/event.rs:329:21
  11: script::dom::eventtarget::EventTarget::dispatch_event
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/dom/eventtarget.rs:403:9
  12: script::dom::event::Event::fire
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/dom/event.rs:398:9
  13: script::dom::document::Document::dispatch_key_event
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/dom/document.rs:1801:9
  14: script::script_thread::ScriptThread::process_pending_compositor_events
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:1622:21
  15: script::script_thread::ScriptThread::update_the_rendering
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:1671:13
  16: script::script_thread::ScriptThread::rendering_opportunity::{{closure}}::{{closure}}
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:1762:25
  17: std::thread::local::LocalKey<T>::try_with
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/thread/local.rs:284:16
  18: std::thread::local::LocalKey<T>::with
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/thread/local.rs:260:9
  19: script::script_thread::ScriptThread::rendering_opportunity::{{closure}}
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:1759:17
  20: core::ops::function::FnOnce::call_once
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
  21: <script::script_thread::ScriptThread::rendering_opportunity::update_the_rendering<F> as script::task::TaskOnce>::run_once
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/task.rs:24:17
  22: <script::task::CancellableTask<T> as script::task::TaskOnce>::run_once
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/task.rs:114:13
  23: <T as script::task::TaskBox>::run_box
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/task.rs:57:9
  24: script::script_thread::ScriptThread::handle_msgs
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:1881:21
  25: script::script_thread::ScriptThread::start
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:1455:15
  26: <script::script_thread::ScriptThread as script_layout_interface::ScriptThreadFactory>::create::{{closure}}::{{closure}}
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:846:25
  27: profile_traits::mem::ProfilerChan::run_with_memory_reporting
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/shared/profile/mem.rs:91:9
  28: <script::script_thread::ScriptThread as script_layout_interface::ScriptThreadFactory>::create::{{closure}}
             at /Users/jason/.cargo/git/checkouts/servo-12bfca331f128de3/ad01342/components/script/script_thread.rs:844:17
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.