1Pass bug repro

1Pass bug repro

by Csaba Hellinger

HTML

<p>Repeat typing/focusing/unfocusing the field and watch the length changing.</p>
<p id="historyLength">History length: X</p>
<input id="username" type="text" placeholder="User Name" />

JavaScript

const historyLength = document.getElementById('historyLength');
setInterval(() => historyLength.innerText = `History length: ${history.length}`, 100);