I am experiencing a full window freeze when uploading files using Firefox 138 on Windows 11, making the browser unresponsive and preventing mouse interaction. This issue does not occur when performing the same action in other browsers. Attached is the analysis report url
— please help identify the root cause.


This is a test html file,
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>upload</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f9;
}
.upload-container {
text-align: center;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input[type="file"] {
margin-top: 10px;
}
#fileName {
margin-top: 10px;
font-size: 16px;
color: #333;
}
</style>
</head>
<body>
<div class="upload-container">
<h2>upload file</h2>
<input type="file" id="fileInput" />
<p id="fileName"></p>
</div>
<script>
document.getElementById('fileInput').addEventListener('change', function(event) {
const file = event.target.files[0];
if (file) {
document.getElementById('fileName').textContent = 'selected: ' + file.name;
} else {
document.getElementById('fileName').textContent = '';
}
});
</script>
</body>
</html>