Bug 27220
Summary: | Assertion failure in createSearcher() (usearch_open() status is U_USING_DEFAULT_WARNING) | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | darin |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | Other |
mitz
After <http://trac.webkit.org/changeset/45762>, when I attempt a “find in page” operation, I hit an assertion failure in createSearcher(), because the status code from usearch_open() is U_USING_DEFAULT_WARNING.
currentSearchLocaleID() is "en".
The first entry in my AppleLanguages user defualt is "en".
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
U_USING_DEFAULT_WARNING means that the result came from the root locale. Perhaps the "en" locale does not override anything in the root locale in the version of ICU that I have.
Darin Adler
The assertion should be changed to allow U_USING_DEFAULT_WARNING as well as U_ZERO_ERROR and U_USING_FALLBACK_WARNING.
Darin Adler
http://trac.webkit.org/changeset/45849