REGRESSION (r53857): Crash when tabbing to <map>
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Mar 2010 00:10:13 +0000 (00:10 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Mar 2010 00:10:13 +0000 (00:10 +0000)
commite298587600ff28d91fe67863b3128dc1e32fcc31
tree1ad444a400cab4c8fa388d5aec567404b74ed8b0
parent11dc396b0ffdbe509d93bd31d7725e61fcacacc6
REGRESSION (r53857): Crash when tabbing to <map>
https://bugs.webkit.org/show_bug.cgi?id=36017

Reviewed by Darin Adler.

WebCore:

Test: fast/events/imagemap-norender-crash.html

* html/HTMLMapElement.cpp:
(WebCore::HTMLMapElement::imageElement):

LayoutTests:

Also fix the path to js-test-post.js in tab-imagemap.html.

* fast/events/imagemap-norender-crash-expected.txt: Added.
* fast/events/imagemap-norender-crash.html: Added.
* fast/events/tab-imagemap-expected.txt:
* fast/events/tab-imagemap.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/imagemap-norender-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/imagemap-norender-crash.html [new file with mode: 0644]
LayoutTests/fast/events/tab-imagemap-expected.txt
LayoutTests/fast/events/tab-imagemap.html
WebCore/ChangeLog
WebCore/html/HTMLMapElement.cpp