Introduced by https://github.com/electron/electron/pull/33906.

Root Cause: https://chromium-review.googlesource.com/c/chromium/src/+/3579297

<details> <summary> Stacktrace </summary>

```
[46358:0518/110313.131061:FATAL:values_mojom_traits.h(100)] Check failed: value.is_dict(). 
0   Electron Framework                  0x000000012ef92ba9 base::debug::CollectStackTrace(void**, unsigned long) + 9
1   Electron Framework                  0x000000012eeb3ac3 base::debug::StackTrace::StackTrace() + 19
2   Electron Framework                  0x000000012eecccdf logging::LogMessage::~LogMessage() + 175
3   Electron Framework                  0x000000012eecdd2e logging::LogMessage::~LogMessage() + 14
4   Electron Framework                  0x000000012a9ed02a mojo::internal::Serializer<mojo_base::mojom::DeprecatedDictionaryValueDataView, base::Value>::Serialize(base::Value&, mojo::internal::MessageFragment<mojo_base::mojom::internal::DeprecatedDictionaryValue_Data>&) + 90
5   Electron Framework                  0x000000012e7582da printing::mojom::PrintRenderFrameProxy::PrintRequestedPages(bool, base::Value) + 362
6   Electron Framework                  0x0000000133f15232 printing::PrintViewManagerBase::CompletePrintNow(content::RenderFrameHost*) + 146
7   Electron Framework                  0x0000000133f14f3b printing::PrintViewManagerBase::PrintNow(content::RenderFrameHost*, bool, base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>) + 395
8   Electron Framework                  0x000000012a56ed16 electron::api::WebContents::OnGetDefaultPrinter(base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >) + 1686
9   Electron Framework                  0x000000012a580b93 void base::internal::FunctorTraits<void (electron::api::WebContents::*)(base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >), void>::Invoke<void (electron::api::WebContents::*)(base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >), base::WeakPtr<electron::api::WebContents>, base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > > >(void (electron::api::WebContents::*)(base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >), base::WeakPtr<electron::api::WebContents>&&, base::Value&&, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>&&, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >&&, bool&&, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >&&) + 291
10  Electron Framework                  0x000000012a58099d base::internal::Invoker<base::internal::BindState<void (electron::api::WebContents::*)(base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >), base::WeakPtr<electron::api::WebContents>, base::Value, base::OnceCallback<void (bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> >, bool>, void (std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >)>::RunOnce(base::internal::BindStateBase*, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >&&) + 77
11  Electron Framework                  0x000000012a581102 void base::internal::ReplyAdapter<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > > >(base::OnceCallback<void (std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >)>, std::__1::unique_ptr<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > >, std::__1::default_delete<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > > > >*) + 210
12  Electron Framework                  0x000000012a4f9627 base::internal::Invoker<base::internal::BindState<void (*)(base::OnceCallback<(anonymous namespace)::CloseFileResult ()>, std::__1::unique_ptr<(anonymous namespace)::CloseFileResult, std::__1::default_delete<(anonymous namespace)::CloseFileResult> >*), base::OnceCallback<(anonymous namespace)::CloseFileResult ()>, base::internal::UnretainedWrapper<std::__1::unique_ptr<(anonymous namespace)::CloseFileResult, std::__1::default_delete<(anonymous namespace)::CloseFileResult> > > >, void ()>::RunOnce(base::internal::BindStateBase*) + 39
13  Electron Framework                  0x000000012ef74403 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) + 211
14  Electron Framework                  0x000000012ef74499 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) + 73
15  Electron Framework                  0x000000012ef261f9 base::TaskAnnotator::RunTaskImpl(base::PendingTask&) + 313
16
Electron Framework                  0x000000012ef4e1ca base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*) + 1066
17  Electron Framework                  0x000000012ef4d88e base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() + 126
18  Electron Framework                  0x000000012ef4e9e2 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() + 18
19  Electron Framework                  0x000000012efa83e1 base::MessagePumpCFRunLoopBase::RunWork() + 97
20  Electron Framework                  0x000000012efa78c2 base::mac::CallWithEHFrame(void () block_pointer) + 10
21  Electron Framework                  0x000000012efa7e0f base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 63
22  CoreFoundation                      0x00007ff80b673aeb __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
23  CoreFoundation                      0x00007ff80b673a53 __CFRunLoopDoSource0 + 180
24  CoreFoundation                      0x00007ff80b6737cd __CFRunLoopDoSources0 + 242
25  CoreFoundation                      0x00007ff80b6721e8 __CFRunLoopRun + 892
26  CoreFoundation                      0x00007ff80b6717ac CFRunLoopRunSpecific + 562
27  HIToolbox                           0x00007ff8142f8ce6 RunCurrentEventLoopInMode + 292
28  HIToolbox                           0x00007ff8142f8a4a ReceiveNextEventCommon + 594
29  HIToolbox                           0x00007ff8142f87e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
30  AppKit                              0x00007ff80e09853d _DPSNextEvent + 927
31  AppKit                              0x00007ff80e096bfa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
32  AppKit                              0x00007ff80e0892a9 -[NSApplication run] + 586
33  Electron Framework                  0x000000012efa8e7c base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 348
34  Electron Framework                  0x000000012efa796b base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 155
35  Electron Framework                  0x000000012ef4ef97 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) + 695
36  Electron Framework                  0x000000012ef01dc6 base::RunLoop::Run(base::Location const&) + 726
37  Electron Framework                  0x000000012dac4c83 content::BrowserMainLoop::RunMainMessageLoop() + 243
38  Electron Framework                  0x000000012dac6822 content::BrowserMainRunnerImpl::Run() + 82
39  Electron Framework                  0x000000012dac1fce content::BrowserMain(content::MainFunctionParams) + 270
40  Electron Framework                  0x000000012a90bd12 content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) + 258
41  Electron Framework                  0x000000012a90d28b content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) + 1403
42  Electron Framework                  0x000000012a90cc90 content::ContentMainRunnerImpl::Run() + 736
43  Electron Framework                  0x000000012a90b637 content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) + 2679
44  Electron Framework                  0x000000012a90b752 content::ContentMain(content::ContentMainParams) + 98
45  Electron Framework                  0x000000012a4b883d ElectronMain + 157
46  dyld                                0x0000000114aee51e start + 462
Task trace:
0   Electron Framework                  0x000000012a56f8b0 electron::api::WebContents::Print(gin::Arguments*) + 2832
1   Electron Framework                  0x000000012a56f8b0 electron::api::WebContents::Print(gin::Arguments*) + 2832
2   Electron Framework                  0x000000012f718430 IPC::(anonymous namespace)::ChannelAssociatedGroupController::Accept(mojo::Message*) + 784
3   Electron Framework                  0x000000012f2f4f9e mojo::SimpleWatcher::Context::Notify(unsigned int, MojoHandleSignalsState, unsigned int) + 430
Crash keys:
  "ui_scheduler_async_stack" = "0x12A56F8B0 0x12A56F8B0"
  "io_scheduler_async_stack" = "0x12BEBEDDB 0x0"
  "platform" = "darwin"
  "process_type" = "browser"
```

</details> 
shell/browser/api/electron_api_web_contents.cc
content::WebContents* source,
    const content::OpenURLParams& params) {
  auto weak_this = GetWeakPtr();
  if (params.disposition != WindowOpenDisposition::CURRENT_TAB) {
    Emit("-new-window", params.url, "", params.disposition, "", params.referrer,
         params.post_data);
    return nullptr;
  }
  if (!weak_this || !ontents())
    return nullptr;
  content::NavigationController::LoadURLParams load_url_params(params.url);
  load_url_params.referrer = params.referrer;
  load_url_params.transition_type = params.transition;
  load_url_params.extra_headers = params.extra_headers;
  load_url_params.should_replace_current_entry =
      params.should_replace_current_entry;
  load_url_params.is_renderer_initiated = params.is_renderer_initiated;
  load_url_params.started_from_context_menu = params.started_from_context_menu;
  load_url_params.initiator_origin = params.initiator_origin;
  load_url_params.source_site_instance = params.source_site_instance;
  load_url_params.frame_tree_node_id = params.frame_tree_node_id;