mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibWeb: Add the missing ProgressEvent IDL constructor
This commit is contained in:
parent
1e8ba0d9d3
commit
4d71f22673
4 changed files with 32 additions and 9 deletions
|
@ -1,7 +1,15 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
interface ProgressEvent : Event {
|
||||
constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
|
||||
|
||||
readonly attribute boolean lengthComputable;
|
||||
readonly attribute unsigned long loaded;
|
||||
readonly attribute unsigned long total;
|
||||
|
||||
};
|
||||
|
||||
dictionary ProgressEventInit : EventInit {
|
||||
boolean lengthComputable = false;
|
||||
unsigned long loaded = 0;
|
||||
unsigned long total = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue