| Summary: | [iOS] Pressing 'done' in fullscreen video sometimes does nothing; stuck in fullscreen | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Jer Noble
2015-07-28 13:27:06 PDT
Created attachment 257674 [details]
Patch
Comment on attachment 257674 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=257674&action=review > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h:151 > + WebCore::Timer m_watchdogTimer; Nit: Isn't RunLoop::Timer<> the new hotness? > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:1389 > + if (!m_watchdogTimer.isActive()) You should probably remove this check so you reset the watchdog in the (unlikely?) event that this is called recursively. (In reply to comment #2) > Comment on attachment 257674 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=257674&action=review > > > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h:151 > > + WebCore::Timer m_watchdogTimer; > > Nit: Isn't RunLoop::Timer<> the new hotness? That takes a RunLoop& parameter, which we don't have access to. > > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:1389 > > + if (!m_watchdogTimer.isActive()) > > You should probably remove this check so you reset the watchdog in the > (unlikely?) event that this is called recursively. I want to avoid a situation where AVKit asks us to exit repeatedly, but we never do because the request keeps resetting the timer. Created attachment 257684 [details]
Patch for landing
Comment on attachment 257684 [details] Patch for landing Clearing flags on attachment: 257684 Committed r187617: <http://trac.webkit.org/changeset/187617> |