Bug 156306
| Summary: | Move some logic in HTMLVideoElement::webkitSupportsPresentationMode() to HTMLVideoElement::supportsFullscreen() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ada Chan <adachan> |
| Component: | Media | Assignee: | Ada Chan <adachan> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ada Chan
Move some logic in HTMLVideoElement::webkitSupportsPresentationMode() to HTMLVideoElement::supportsFullscreen(). This way the logic to check for presentation mode is centralized in one place and we can simplify some code in HTMLVideoElement::webkitEnterFullscreen() and HTMLVideoElement::setFullscreenMode().
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ada Chan
Related to <rdar://problem/25303855>.
Ada Chan
Retreating this...