WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
24869
[Qt] tst_qwebpage.cpp has an incorrect case
https://bugs.webkit.org/show_bug.cgi?id=24869
Summary
[Qt] tst_qwebpage.cpp has an incorrect case
Erik L. Bunce
Reported
2009-03-26 19:19:55 PDT
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.
Attachments
Fix to make the expected value 0 and not 2
(1.14 KB, patch)
2009-03-26 19:26 PDT
,
Erik L. Bunce
hausmann
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Erik L. Bunce
Comment 1
2009-03-26 19:26:41 PDT
Created
attachment 28999
[details]
Fix to make the expected value 0 and not 2 Fix split out of patch 28829 of
bug #24746
per request of Simon Hausmann.
Simon Hausmann
Comment 2
2009-03-27 05:59:41 PDT
Comment on
attachment 28999
[details]
Fix to make the expected value 0 and not 2 Good catch.
Simon Hausmann
Comment 3
2009-03-27 05:59:55 PDT
Landed in
r42035
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug