WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
18491
JavaScriptCore should treat nbsp just like any other space
https://bugs.webkit.org/show_bug.cgi?id=18491
Summary
JavaScriptCore should treat nbsp just like any other space
Eric Seidel (no email)
Reported
2008-04-14 08:45:46 PDT
JavaScriptCore should treat nbsp just like any other space
https://bugzilla.mozilla.org/show_bug.cgi?id=23613
is the mozilla bug. Seems we have the same bug.
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2008-04-17 07:42:49 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.
Eric Seidel (no email)
Comment 2
2008-04-17 07:49:42 PDT
The right fix seems to be to hack dftables.
Alexey Proskuryakov
Comment 3
2008-04-21 09:06:33 PDT
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
.
Cameron Zwarich (cpst)
Comment 4
2008-09-18 04:04:12 PDT
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?
Gavin Barraclough
Comment 5
2011-06-15 01:15:18 PDT
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.
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