// Results in a call to the OnQuery method in hang_test.cc
  window.cefQuery({
    request: 'HangTest:' + command
  });
}

// Hang the render process for the specified number of seconds.
function triggerHang() {
  const delayMs = parseInt(document.getElementById('hangtime').value) * 1000;
  const startTime = performance.now();
  while(performance.now() - startTime < delayMs) {}
}

</script>

</head>
<form id="form">
<body bgcolor="white" onload="setup()">
<div>Use the below controls to trigger a render proc