WKFullScreenWindowController uses nil as the fireDate for a deferred one-shot timer. It shouldn't.
<rdar://problem/20149806>
Created attachment 248784 [details] Patch
Comment on attachment 248784 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=248784&action=review > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:75 > +- (void)_watchdogTimerFired:(NSTimer *)timer; I don’t think this is necessary anymore. > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:678 > + ASSERT_ARG(timer, timer == _watchdogTimer); I can’t remember a single time this kind of assertion was useful.
(In reply to comment #3) > Comment on attachment 248784 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=248784&action=review > > > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:75 > > +- (void)_watchdogTimerFired:(NSTimer *)timer; > > I don’t think this is necessary anymore. As of Xcode 4.3, correct. I only added it to parallel the other methods; removed. > > > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:678 > > + ASSERT_ARG(timer, timer == _watchdogTimer); > > I can’t remember a single time this kind of assertion was useful. Removed.
Committed r181607: <http://trac.webkit.org/changeset/181607>