[Webkit-unassigned] [Bug 24869] New: [Qt] tst_qwebpage.cpp has an incorrect case
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 26 19:19:55 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24869
Summary: [Qt] tst_qwebpage.cpp has an incorrect case
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: elbunce at xendom.com
When running tst_qwebpage I get the following failure:
FAIL! : tst_QWebPage::cursorMovements() Compared values are not the same
Actual (page->selectionStartOffset()): 0
Expected (2): 2
Loc:
[/Users/erik/work/webkit-svn2/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(835)]
After analyzing the code, it turns out that the Expected value in the test was
incorrect and not the Actual.
In this case the cursor is expected to be before the word "be", which occurs
immediately after a <br/>, so the selectionStartOffset() should be 0, and not
2.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list