1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:47:47 +00:00

LibWeb: Add event handler attributes to XMLHttpRequestEventTarget

This patch adds the following event handler attributes to XHR's
EventTarget base class:

- onloadstart
- onprogress
- onabort
- onerror
- onload
- ontimeout
- onloadend
This commit is contained in:
Andreas Kling 2021-09-19 01:41:55 +02:00
parent dc8707527f
commit 6b03d18d95
4 changed files with 107 additions and 0 deletions

View file

@ -1,3 +1,11 @@
interface XMLHttpRequestEventTarget : EventTarget {
attribute EventHandler onloadstart;
attribute EventHandler onprogress;
attribute EventHandler onabort;
attribute EventHandler onerror;
attribute EventHandler onload;
attribute EventHandler ontimeout;
attribute EventHandler onloadend;
};