Skip to content

Commit 150134a

Browse files
Replace XMLHttpRequestEventTarget with its subclasses as event target (#1251)
see #1216 (comment)
1 parent fc3e2e9 commit 150134a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/amend-event-data.js

+7
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,13 @@ const patches = {
412412
change: { interface: "Event" }
413413
}
414414
],
415+
'xhr': [
416+
{
417+
pattern: { targets: 'XMLHttpRequestEventTarget' },
418+
matched: 7,
419+
change: { targets: ['XMLHttpRequest', 'XMLHttpRequestUpload'] }
420+
}
421+
],
415422
'webaudio': [
416423
{
417424
pattern: { type: 'update' },

0 commit comments

Comments
 (0)