Reviewed by Kevin.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Jul 2005 04:48:45 +0000 (04:48 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Jul 2005 04:48:45 +0000 (04:48 +0000)
commit7abf67dce22c28d2b5baee22b5063a2a4b163181
treea243d5cba90c6c340d7719321f5db0ab825ce119
parent2ac90de0134abeb80b79d68bb193077868c46a37
    Reviewed by Kevin.

        - convert some more things to use the new hashtable

        * khtml/ecma/kjs_binding.cpp:
        (KJS::domObjects):
        (KJS::domNodesPerDocument):
        (KJS::ScriptInterpreter::getDOMObject):
        (KJS::ScriptInterpreter::putDOMObject):
        (KJS::ScriptInterpreter::deleteDOMObject):
        (KJS::ScriptInterpreter::forgetDOMObject):
        (KJS::ScriptInterpreter::getDOMNodeForDocument):
        (KJS::ScriptInterpreter::forgetDOMNodeForDocument):
        (KJS::ScriptInterpreter::putDOMNodeForDocument):
        (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument):
        (KJS::ScriptInterpreter::mark):
        (KJS::ScriptInterpreter::updateDOMNodeDocument):
        * khtml/ecma/kjs_binding.h:
        * khtml/ecma/kjs_window.h: Include QPtrDict header
        * khtml/ecma/xmlhttprequest.h: ditto

- fix a bug with remove of a nonexistent key - it used to trash
the table

        * khtml/misc/hashtable.h:
        (khtml::::remove):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/dom/gc-5-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/gc-5.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_binding.cpp
WebCore/khtml/ecma/kjs_binding.h
WebCore/khtml/ecma/kjs_window.h
WebCore/khtml/ecma/xmlhttprequest.h
WebCore/khtml/misc/hashtable.h