-
darin authored
- fixed <rdar://problem/4126166> using JavaScript-assigned accesskeys crashes Safari - DOM::NodeImpl::dispatchEvent Test cases added: * layout-tests/fast/events/access-key-self-destruct.html: Added. * layout-tests/fast/events/access-key-self-destruct-expected.txt: Added. * khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchMouseEvent): Ref the node for the duration with a SharedPtr; this helps in cases where the last reference to the node goes away inside the event handler. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bded90a8