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 authored Jun 7, 2024
1 parent fc3e2e9 commit 150134a
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 150134a

Please sign in to comment.