JavaScriptCore:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2007 08:44:44 +0000 (08:44 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2007 08:44:44 +0000 (08:44 +0000)
commit9c8cb5ef4dca6c80e25aeb57e4fb3889246c590a
tree45385ccf8a107062f398925a1cb62b99b066cdc3
parent758e30c839358536571b62f67aaed89f45d67d1e
JavaScriptCore:

        Reviewed by Mark.

        - re-enable asserts for access to empty or deleted keys

        * wtf/HashTable.h:
        (WTF::::lookup):
        (WTF::::lookupForWriting):
        (WTF::::fullLookupForWriting):
        (WTF::::add):

WebCore:

        Reviewed by Mark.

        - fixed assertion failures detected by the new assertions

        * bindings/objc/DOMRGBColor.mm:
        (-[DOMRGBColor dealloc]): Clear _internal before calling [super dealloc]
        because it's not a pointer and shouldn't be in the normal wrapper cache.
        * dom/Document.cpp:
        (WebCore::Document::addImageMap): Don't access hashmap if name is null.
        (WebCore::Document::removeImageMap): ditto
        * dom/StyledElement.cpp:
        (WebCore::StyledElement::parseMappedAttribute): Don't claim we have a class
        when the class attribute is empty.
        * platform/TextCodecICU.cpp:
        (WebCore::gbkCallbackEscape): Don't look up 0 code points.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/wtf/HashTable.h
WebCore/ChangeLog
WebCore/bindings/objc/DOMRGBColor.mm
WebCore/dom/Document.cpp
WebCore/dom/StyledElement.cpp
WebCore/platform/TextCodecICU.cpp