-
reni@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=122092 Reviewed by Darin Adler. Source/WebCore: Remove a bogus assert in Document::setTitle(). m_titleElement can be either of HTMLTitleElement or SVGTitleElement. The assertion was wrong. Backported from Blink: https://src.chromium.org/viewvc/blink?revision=158620&view=revision Test: svg/custom/title-assertion.html * dom/Document.cpp: (WebCore::Document::setTitle): * svg/SVGTitleElement.cpp: (WebCore::SVGTitleElement::insertedInto): LayoutTests: * svg/custom/title-assertion-expected.txt: Added. * svg/custom/title-assertion.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
66b4561c