Summary: | JavaScriptCore should treat nbsp just like any other space | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap, barraclough, mjs, ovafai, zwarich |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
URL: | https://bugzilla.mozilla.org/show_bug.cgi?id=23613 |
Description
Eric Seidel (no email)
2008-04-14 08:45:46 PDT
http://eseidel.com/webkit_bugs/18491/nbsp.html Is a test case. Uploading said test-case to bugzilla seems to cause a 500 error. Not sure why. The right fix seems to be to hack dftables. We have a (failing) test for this in ecma_3/Unicode/uc-002.js. Note that uc-001.js also fails, and that is tricky, see bug 4931 and bug 10183. The regular expression issue is bug 20966, and was fixed by the introduction of WREC on 32-bit x86 (or at least Mac and Windows), and by r36612 on other platforms. Is there any other case where we treat a non-breaking space differently, or can this bug be closed? nbsp works in regular expressions, source text, the bugs Alexey linked to are marked fixed, and ecma_3/Unicode/uc-002.js passes. Works for me. |