Bug 260739
| Summary: | Create 'CanPlayTypeResult' enum in HTMLMediaElement.idl for 'type' as per WebIDL spec | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | annevk, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
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.
Radar WebKit Bug Importer
<rdar://problem/114841766>