Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8440
        iExploder(#3327): Crash in StringImpl::initWithQChar()

        Test: fast/parser/number-sign-in-map-name.html

        * html/html_imageimpl.cpp:
        (WebCore::HTMLMapElement::parseMappedAttribute): Fixed handling of names starting with a '#'.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed