RESOLVED FIXED 87740
[Qt] REGRESSION(r118568): It broke fast/forms/textarea-maxlength.html on Qt 4.8
https://bugs.webkit.org/show_bug.cgi?id=87740
Summary [Qt] REGRESSION(r118568): It broke fast/forms/textarea-maxlength.html on Qt 4.8
Csaba Osztrogonác
Reported 2012-05-29 06:34:40 PDT
After http://trac.webkit.org/changeset/118568, fast/forms/textarea-maxlength.html started to fail on Qt 4.8 platforms. (It passes on Qt 5, because Qt 5 build uses ICU) --- /ramdisk/qt-linux-64-release/build/layout-test-results/fast/forms/textarea-maxlength-expected.txt +++ /ramdisk/qt-linux-64-release/build/layout-test-results/fast/forms/textarea-maxlength-actual.txt @@ -23,8 +23,8 @@ PASS textArea.value is "A\nB" PASS textArea.value is "a\n\n" PASS textArea.value is "\n\n\n" -PASS textArea.value is "AB" + fancyX -PASS textArea.value.length is 5 +FAIL textArea.value should be ABxĚ̲. Was AB. +FAIL textArea.value.length should be 5. Was 2. PASS textArea.value is "ABC" PASS textArea.value is "AB" + u10000 PASS textArea.value.length is 4
Attachments
Possible fix (875 bytes, patch)
2012-05-29 11:05 PDT, mitz
no flags
Use the return value of setUpIterator in the NonSharedCharacterBreakIterator constructor (2.82 KB, patch)
2012-05-30 13:13 PDT, mitz
darin: review+
Csaba Osztrogonác
Comment 1 2012-05-29 06:48:16 PDT
I skipped it - http://trac.webkit.org/changeset/118766 Please unskip it with the proper fix.
mitz
Comment 2 2012-05-29 11:05:11 PDT
Created attachment 144588 [details] Possible fix Sorry about breaking this! I don’t have access to this build configuration, but I think this patch will fix the regression. Can you try it? Thanks!
Csaba Osztrogonác
Comment 3 2012-05-30 12:56:08 PDT
(In reply to comment #2) > Created an attachment (id=144588) [details] > Possible fix > > Sorry about breaking this! I don’t have access to this build configuration, but I think this patch will fix the regression. Can you try it? Thanks! Not problem. I tried your patch and it fixed fast/forms/textarea-maxlength.html test. Thanks.
mitz
Comment 4 2012-05-30 13:13:45 PDT
Created attachment 144901 [details] Use the return value of setUpIterator in the NonSharedCharacterBreakIterator constructor
mitz
Comment 5 2012-05-30 15:59:17 PDT
Note You need to log in before you can comment on or make changes to this bug.