Skip to content
  • eric@webkit.org's avatar
    2010-04-01 MORITA Hajime <morrita@google.com> · 34b6479d
    eric@webkit.org authored
            Reviewed by Darin Adler.
    
            setting document.title doesn't change document.title value
            https://bugs.webkit.org/show_bug.cgi?id=36802
    
            * fast/dom/Document/script-tests/title-with-multiple-children.js: Added.
            * fast/dom/Document/title-with-multiple-children-expected.txt: Added.
            * fast/dom/Document/title-with-multiple-children.html: Added.
    2010-04-01  MORITA Hajime  <morrita@google.com>
    
            Reviewed by Darin Adler.
    
            setting document.title doesn't change document.title value
            https://bugs.webkit.org/show_bug.cgi?id=36802
    
            An entity of "value" argument on HTMLTitleElement::setTitle() could be
            Document::m_title and be changed during HTMLTitleElement::setText().
            Fix copying the argument to keep the original value.
    
            Test: fast/dom/Document/title-with-multiple-children.html
    
            * html/HTMLTitleElement.cpp:
            (WebCore::HTMLTitleElement::setText):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    34b6479d