Summary: | [Qt] tst_QWebElement fails firstChildNextSibling and lastChildPreviousSibling | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | Tools / Tests | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | hausmann | ||||
Priority: | P2 | Keywords: | Qt, QtTriaged | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Andreas Kling
2010-07-18 15:26:36 PDT
Created attachment 61915 [details]
Proposed patch
Correct the HTML used by these tests.
Comment on attachment 61915 [details] Proposed patch > diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog > index efbee15..31b488f 100644 > --- a/WebKit/qt/ChangeLog > +++ b/WebKit/qt/ChangeLog > @@ -1,3 +1,16 @@ > +2010-07-18 Andreas Kling <andreas.kling@nokia.com> > + > + Reviewed by NOBODY (OOPS!). > + > + [Qt] tst_QWebElement fails firstChildNextSibling and lastChildPreviousSibling > + https://bugs.webkit.org/show_bug.cgi?id=42527 > + > + Correct the HTML used by these tests. > + > + * tests/qwebelement/tst_qwebelement.cpp: > + (tst_QWebElement::firstChildNextSibling): > + (tst_QWebElement::lastChildPreviousSibling): > + > 2010-07-16 Zhe Su <suzhe@chromium.org> > > Reviewed by Darin Adler. > diff --git a/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp b/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp > index 8db0ec3..2f1097a 100644 > --- a/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp > +++ b/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp > @@ -887,7 +887,7 @@ void tst_QWebElement::nullSelect() > > void tst_QWebElement::firstChildNextSibling() > { > - m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another commend><table>"); > + m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another comment--><table>"); > > QWebElement body = m_mainFrame->findFirstElement("body"); > QVERIFY(!body.isNull()); > @@ -902,7 +902,7 @@ void tst_QWebElement::firstChildNextSibling() > > void tst_QWebElement::lastChildPreviousSibling() > { > - m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another commend><table>"); > + m_mainFrame->setHtml("<body><!--comment--><p>Test</p><!--another comment--><table>"); > > QWebElement body = m_mainFrame->findFirstElement("body"); > QVERIFY(!body.isNull()); Comment on attachment 61915 [details] Proposed patch Clearing flags on attachment: 61915 Committed r63637: <http://trac.webkit.org/changeset/63637> All reviewed patches have been landed. Closing bug. |