https://bugs.webkit.org/show_bug.cgi?id=134943
Reviewed by Dean Jackson.
AppKit doesn't remove a view from the Key View Loop when removing it from its superview.
This codepath is already "tested" in fullscreen/full-screen-cancel.html, but because of our
testing infrastructure, the broken codepath doesn't actually get hit in DRT. Therefore,
there is no test.
* WebView/WebFullScreenController.mm:
(-[WebFullScreenController enterFullScreen:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171120
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-07-15 Myles C. Maxfield <mmaxfield@apple.com>
+
+ [OSX] [WK1] Crash when exiting fullscreen
+ https://bugs.webkit.org/show_bug.cgi?id=134943
+
+ Reviewed by Dean Jackson.
+
+ AppKit doesn't remove a view from the Key View Loop when removing it from its superview.
+
+ This codepath is already "tested" in fullscreen/full-screen-cancel.html, but because of our
+ testing infrastructure, the broken codepath doesn't actually get hit in DRT. Therefore,
+ there is no test.
+
+ * WebView/WebFullScreenController.mm:
+ (-[WebFullScreenController enterFullScreen:]):
+
2014-07-14 Bear Travis <betravis@adobe.com>
[Feature Queries] Enable Feature Queries on Mac
NSView* contentView = [[self window] contentView];
[contentView addSubview:_webView positioned:NSWindowBelow relativeTo:nil];
[_webView setFrame:[contentView bounds]];
+ [[_webViewPlaceholder.get() window] recalculateKeyViewLoop];
[[self window] makeResponder:webWindowFirstResponder firstResponderIfDescendantOfView:_webView];