fix(events): share AbortSignal EventTarget dispatch

Use inherited EventTarget methods and the shared listener registry for window and worker signals. Preserve ordered onabort handlers, cancellation options, listener mutation, and receiver validation while keeping abort algorithms with their existing owners.

Remove the duplicate dispatchers and tighten the raw callback inventory. Cover cross-realm bindings, retired targets, native abort delivery, and worker receivers.
This commit is contained in:
ldm0
2026-11-24 14:30:19 +08:00
parent ee733c7016
commit 4a2a070fa4
@@ -1,4 +1,3 @@
mod abort_signal_events;
mod callback_execution;
mod error_reporting_guard;
mod geometry_matrix_constructor_union;
@@ -1562,6 +1561,7 @@ fn service_worker_storage_apis_use_explicit_registration_storage_key() {
// ─── Basic tests ────────────────────────────────────────────────────
mod abort_signal_events;
mod abort_signal_statics;
mod cors_redirects;
mod imported_scripts;