Bug 260739 - Create 'CanPlayTypeResult' enum in HTMLMediaElement.idl for 'type' as per WebIDL spec
Summary: Create 'CanPlayTypeResult' enum in HTMLMediaElement.idl for 'type' as per Web...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-25 14:42 PDT by Ahmad Saleem
Modified: 2023-09-01 14:43 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-08-25 14:42:39 PDT
SSIA

Adding FIXME for these in HTMLMediaElement.idl and as per Web-Spec:

https://html.spec.whatwg.org/multipage/media.html#media-elements

We should introduce 'enum' and leverage it for:

__________

DOMString canPlayType(DOMString type);

__________

Thanks!
Comment 1 Anne van Kesteren 2023-08-26 02:31:00 PDT
Not sure this is worth doing before WebKitLegacy disappears. It seems like you'd have to covert the enum back to an NSString in Source/WebKitLegacy/mac/DOM/DOMHTMLMediaElement.mm until that happens.
Comment 2 Radar WebKit Bug Importer 2023-09-01 14:43:13 PDT
<rdar://problem/114841766>