Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85ad05a1e4a88daaed6106eaeb0895f8452f9507
      
https://github.com/WebKit/WebKit/commit/85ad05a1e4a88daaed6106eaeb0895f8452f9507
  Author: Anne van Kesteren <[email protected]>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M 
LayoutTests/fast/events/constructors/progress-event-constructor-expected.txt
    M LayoutTests/fast/events/constructors/progress-event-constructor.html
    M 
LayoutTests/imported/w3c/web-platform-tests/xhr/progressevent-constructor-expected.txt
    M Source/WebCore/dom/ProgressEvent.cpp
    M Source/WebCore/dom/ProgressEvent.h
    M Source/WebCore/dom/ProgressEvent.idl

  Log Message:
  -----------
  Allow doubles for ProgressEvent loaded and total
https://bugs.webkit.org/show_bug.cgi?id=288688
rdar://146356214

Reviewed by Youenn Fablet.

Match the recently changed specification, as well as Chrome and
Firefox. This change will allow the ProgressEvent class to be used for
more use cases, without really impacting what kind of values it can
represent, as integers and floats are the same thing in JavaScript.

* LayoutTests/fast/events/constructors/progress-event-constructor-expected.txt:
* LayoutTests/fast/events/constructors/progress-event-constructor.html:
* 
LayoutTests/imported/w3c/web-platform-tests/xhr/progressevent-constructor-expected.txt:
* Source/WebCore/dom/ProgressEvent.cpp:
(WebCore::ProgressEvent::ProgressEvent):
* Source/WebCore/dom/ProgressEvent.h:
(WebCore::ProgressEvent::create):
(WebCore::ProgressEvent::loaded const):
(WebCore::ProgressEvent::total const):
* Source/WebCore/dom/ProgressEvent.idl:

Canonical link: https://commits.webkit.org/292359@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to