Skip to content

Commit

Permalink
Replace XMLHttpRequestEventTarget with its subclasses as event target
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Jun 7, 2024
1 parent 2e9e1c6 commit 41b980b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/amend-event-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,13 @@ const patches = {
change: { interface: "Event" }
}
],
'xhr': [
{
pattern: { targets: 'XMLHttpRequestEventTarget' },
matched: 7,
change: { targets: ['XMLHttpRequest', 'XMLHttpRequestUpload'] }
}
],
'webaudio': [
{
pattern: { type: 'update' },
Expand Down

0 comments on commit 41b980b

Please sign in to comment.