-
scheib@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=90391 Source/WebKit/chromium: WebViewImpl::handleInputEvent was keeping a pointer to an input event that would later be accessed. When in pointer lock, that pointer was not being cleared. Code modified to use TemporaryChange to automatically clear the pointer at all method exit points. Reviewed by Abhishek Arya. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleInputEvent): LayoutTests: Test that reproduces bug 90391: Enable pointer lock, receive mouse move, call window.open, don't crash. Reviewed by Abhishek Arya. * pointer-lock/bug90391-move-then-window-open-crash-expected.txt: Added. * pointer-lock/bug90391-move-then-window-open-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4a6c624e