From 41b980b4224343a4ba689dea1ce4e14e1af8a409 Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Fri, 7 Jun 2024 09:46:42 +0200 Subject: [PATCH] Replace XMLHttpRequestEventTarget with its subclasses as event target see https://github.com/w3c/webref/issues/1216#issuecomment-2068997553 --- tools/amend-event-data.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/amend-event-data.js b/tools/amend-event-data.js index 6bc71b47e8c6..ba259339ef2b 100644 --- a/tools/amend-event-data.js +++ b/tools/amend-event-data.js @@ -412,6 +412,13 @@ const patches = { change: { interface: "Event" } } ], + 'xhr': [ + { + pattern: { targets: 'XMLHttpRequestEventTarget' }, + matched: 7, + change: { targets: ['XMLHttpRequest', 'XMLHttpRequestUpload'] } + } + ], 'webaudio': [ { pattern: { type: 'update' },