Bug 1943649 - Allow doubles for ProgressEvent's loaded and total r=dom-core,webidl,edgar

Differential Revision: https://phabricator.services.mozilla.com/D235468
This commit is contained in:
Olli Pettay
2025-03-05 09:42:09 +00:00
parent 62fe21cd46
commit 08cdac95a1

View File

@@ -10,13 +10,13 @@ interface ProgressEvent : Event
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;
};