1. 08 Jul, 2006 1 commit
    • mjs's avatar
      Reviewed by Darin, tweaked slightly and landed by Maciej. · 965a62f1
      mjs authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9787
              fast/frames tests failing (bad pointer to owner element) under MallocScribble
              
              * html/HTMLFrameElement.cpp:
              (WebCore::HTMLFrameElement::close):
              Disconnect the owner element of our frame.
              
              * html/HTMLIFrameElement.cpp:
              (WebCore::HTMLIFrameElement::attach):
              Don't call setFrame here.
              
              * html/HTMLPlugInElement.cpp:
              (WebCore::HTMLPlugInElement::detach):
              Disconnect the owner element of our frame.
      
              * html/HTMLPlugInElement.h:
              (WebCore::HTMLPlugInElement::setFrameName):        
              New function.
              
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              Don't call setFrame.
              
              (WebCore::Frame::~Frame):
              Null out the owner element.
              
              (WebCore::Frame::requestObject):
              When an object creates a child frame, assign it a name so it can be
              accessed from HTMLPlugInElement.
              
              * rendering/RenderPart.cpp:
              (WebCore::RenderPart::RenderPart):
              (WebCore::RenderPart::~RenderPart):
              * rendering/RenderPart.h:
              Get rid of setFrame.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      965a62f1
  2. 12 May, 2006 1 commit
    • eseidel's avatar
      2006-05-10 Eric Seidel <eseidel@apple.com> · d2f36a16
      eseidel authored
              Reviewed by mjs & adele.
      
              Split html_objectimpl.* into multiple files (one per class)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8836
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_dom.cpp:
              (KJS::DOMNamedNodeMap::lengthGetter):
              (KJS::DOMNamedNodeMap::indexGetter):
              (KJS::DOMNamedNodeMap::nameGetter):
              (KJS::DOMNamedNodeMapProtoFunc::callAsFunction):
              (KJS::getRuntimeObject):
              * bindings/js/kjs_html.cpp:
              * html/HTMLAppletElement.cpp: Added.
              * html/HTMLAppletElement.h: Added.
              * html/HTMLElementFactory.cpp:
              * html/HTMLEmbedElement.cpp: Added.
              (WebCore::HTMLEmbedElement::HTMLEmbedElement):
              (WebCore::HTMLEmbedElement::getInstance):
              (WebCore::HTMLEmbedElement::parseMappedAttribute):
              * html/HTMLEmbedElement.h: Added.
              * html/HTMLNameCollection.cpp:
              (WebCore::HTMLNameCollection::traverseNextItem):
              * html/HTMLObjectElement.cpp: Added.
              (WebCore::HTMLObjectElement::getInstance):
              (WebCore::HTMLObjectElement::form):
              (WebCore::HTMLObjectElement::parseMappedAttribute):
              (WebCore::HTMLObjectElement::updateDocNamedItem):
              * html/HTMLObjectElement.h: Added.
              * html/HTMLParamElement.cpp: Added.
              * html/HTMLParamElement.h: Added.
              * html/HTMLParser.cpp:
              * html/HTMLPlugInElement.cpp: Added.
              * html/HTMLPlugInElement.h: Added.
              * html/html_objectimpl.cpp: Removed.
              * html/html_objectimpl.h: Removed.
              * page/Frame.cpp:
              (WebCore::Frame::handleFallbackContent):
              * rendering/RenderApplet.cpp:
              * rendering/render_frames.cpp:
              (WebCore::RenderPartObject::updateWidget):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2f36a16