Crash exiting from HTML5 FS mode to normal mode via ESC key
Created attachment 157568 [details] Patch
Committed r125319: <http://trac.webkit.org/changeset/125319>
Comment on attachment 157568 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=157568&action=review > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:-148 > - _watchdogTimer = adoptNS([NSTimer scheduledTimerWithTimeInterval:DefaultWatchdogTimerInterval target:self selector:@selector(exitFullScreen) userInfo:nil repeats:NO]); Or you could just take out the adoptNS and do a straight assignment. That would also work.
(In reply to comment #3) > (From update of attachment 157568 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=157568&action=review > > > Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm:-148 > > - _watchdogTimer = adoptNS([NSTimer scheduledTimerWithTimeInterval:DefaultWatchdogTimerInterval target:self selector:@selector(exitFullScreen) userInfo:nil repeats:NO]); > > Or you could just take out the adoptNS and do a straight assignment. That would also work. I considered that, but I was simultaneously getting rid of the autorelease.