Skip to content

Commit ca2ab86

Browse files
committed
chore: fix the typo
1 parent 434679e commit ca2ab86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ext/content-scripts/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ async function xhr(details, control, promise) {
345345
/** @type {TypeExtMessages.XHRUploadHandlersObj} */
346346
const uploadHandlers = {};
347347
/** @type {TypeExtMessages.XHRUploadHandlers} */
348-
const XHRUploadHHandlers = [
348+
const XHRUploadHandlers = [
349349
"onabort",
350350
"onerror",
351351
"onload",
@@ -355,7 +355,7 @@ async function xhr(details, control, promise) {
355355
"ontimeout",
356356
];
357357
if (typeof details.upload === "object") {
358-
for (const handler of XHRUploadHHandlers) {
358+
for (const handler of XHRUploadHandlers) {
359359
if (
360360
handler in XMLHttpRequestEventTarget.prototype &&
361361
typeof details.upload[handler] === "function"

0 commit comments

Comments
 (0)