Allow doubles for ProgressEvent's loaded and total · whatwg/xhr@4a6401c
domenic
·
2025-03-11
·
via Recent Commits to xhr:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1753,14 +1753,14 @@ interface ProgressEvent : Event {
|
1753 | 1753 | constructor(DOMString type, optional ProgressEventInit eventInitDict = {}); |
1754 | 1754 | |
1755 | 1755 | readonly attribute boolean lengthComputable; |
1756 | | - readonly attribute unsigned long long loaded; |
1757 | | - readonly attribute unsigned long long total; |
| 1756 | + readonly attribute double loaded; |
| 1757 | + readonly attribute double total; |
1758 | 1758 | }; |
1759 | 1759 | |
1760 | 1760 | dictionary ProgressEventInit : EventInit { |
1761 | 1761 | boolean lengthComputable = false; |
1762 | | -unsigned long long loaded = 0; |
1763 | | -unsigned long long total = 0; |
| 1762 | +double loaded = 0; |
| 1763 | +double total = 0; |
1764 | 1764 | }; |
1765 | 1765 | </pre> |
1766 | 1766 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。