mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update ProgressEvent to use doubles (#36487)
See: https://github.com/whatwg/xhr/pull/394 Testing: WPT tests exist for this Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
parent
4c55104b36
commit
85bd0918f2
5 changed files with 24 additions and 26 deletions
|
@ -16,12 +16,12 @@
|
|||
interface ProgressEvent : Event {
|
||||
[Throws] constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
|
||||
readonly attribute boolean lengthComputable;
|
||||
readonly attribute unsigned long long loaded;
|
||||
readonly attribute unsigned long long total;
|
||||
readonly attribute double loaded;
|
||||
readonly attribute double total;
|
||||
};
|
||||
|
||||
dictionary ProgressEventInit : EventInit {
|
||||
boolean lengthComputable = false;
|
||||
unsigned long long loaded = 0;
|
||||
unsigned long long total = 0;
|
||||
double loaded = 0;
|
||||
double total = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue