Fixed 3922875. Fall back to DOM object is EMBED element
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2005 00:30:16 +0000 (00:30 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2005 00:30:16 +0000 (00:30 +0000)
commitddc3d0674067a2d76ccf6237c0b335df1ac16d48
treeb9aaa81d463ebed841c882ea1ac80237cc181cb3
parentafcf15fcbdb4aee06844e07ba82dc32f90ab9c8b
Fixed 3922875.  Fall back to DOM object is EMBED element
has no associated runtime object.

        Reviewed by Chris.

        * khtml/ecma/kjs_dom.cpp:
        (KJS::getRuntimeObject):
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLDocument::tryGet):
        (KJS::HTMLElement::tryGet):
        (KJS::HTMLCollection::tryGet):
        (KJS::HTMLCollection::getNamedItems):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_dom.cpp
WebCore/khtml/ecma/kjs_html.cpp