Bug 38318 - LayoutTests/fast/dom/Range/range-expand.html failure
Summary: LayoutTests/fast/dom/Range/range-expand.html failure
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 04:16 PDT by Kent Tamura
Modified: 2010-04-29 15:52 PDT (History)
2 users (show)

See Also:


Attachments
Test result diff (69.13 KB, text/html)
2010-04-29 04:20 PDT, Kent Tamura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2010-04-29 04:16:05 PDT
LayoutTests/fast/dom/Range/range-expand.html always fails on Japanese SnowLeopard.
Comment 1 Kent Tamura 2010-04-29 04:20:42 PDT
Created attachment 54689 [details]
Test result diff
Comment 2 Xiaomei Ji 2010-04-29 09:47:23 PDT
range expand uses ICU's text break iterator.

Is the ICU's text break iterator different for OS X 10.5 and SnowLeopard? Or is it different for Japanese SnowLeopard?

Since ICU does not support Chinese segmentation, the Chinese word are segmented character by character. Looks like in Japanese SnowLeopard, "在甲型" is segmented as one word.

For Hebrew testing, the difference seems that in Japanese SnowLeopard, when segment into sentence and block, 0x0A (Line Feed) is added at the end of sentence/block.

If the difference is due to platform difference. I will need to make the result as Mac OS X 10.5 only.
Comment 3 Alexey Proskuryakov 2010-04-29 13:38:57 PDT
> Is the ICU's text break iterator different for OS X 10.5 and SnowLeopard?

This test doesn't fail on Snow Leopard build bot, so this shouldn't be because of a different ICU version.
Comment 4 Kent Tamura 2010-04-29 15:52:27 PDT
(In reply to comment #3)
> > Is the ICU's text break iterator different for OS X 10.5 and SnowLeopard?
> 
> This test doesn't fail on Snow Leopard build bot, so this shouldn't be because
> of a different ICU version.

It's curious.  What's the difference between my machine and the bot?

I changed the system locale to English.  The test still failed.
I tried both of 32bit build and 64bit build.  The test failed on both settings.
My OS version is Mac OS X 10.6.3 (10D573), my Xcode version is 3.2.2.