[Webkit-unassigned] [Bug 260365] New: Make VTTCue.size() from 'int' to 'double'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 17 15:16:48 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260365

            Bug ID: 260365
           Summary: Make VTTCue.size() from 'int' to 'double'
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WPTImpact
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: eric.carlson at apple.com, jer.noble at apple.com

Hi Team,

While going through WPT failures, I noticed that we are failing following test:

WPT Test Case: https://wpt.fyi/results/webvtt/api/VTTCue/size.html?label=experimental&label=master&aligned

WPT Live Link: http://wpt.live/webvtt/api/VTTCue/size.html

I started looking and noticed that in IDL file, we have it as double but in VTTCue.cpp and VTTCue.h, we have it as 'int', which is just whole number and on local build after changing it to 'double', it make us pass the following test.

Interface IDL Web-Spec: https://w3c.github.io/webvtt/#the-vttcue-interface

It is just to align with spec and start using 'double'.

Just raising so I can fix it.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230817/b3b144aa/attachment-0001.htm>


More information about the webkit-unassigned mailing list