[Webkit-unassigned] [Bug 10435] New: nbsp in javascript causes parse errors

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Aug 16 09:18:24 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10435

           Summary: nbsp in javascript causes parse errors
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.csapscores.org/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: bugzilla at mrdini.com


Was idly browsing Google Earth stuff, and happened to seee this site.

Loaded it up. Got "Loading, Please wait...", with three JS console errors. Maps
simply do not load. The relevant JS error is 
---
SyntaxError: Parse error
http://www.csapscores.org/map.js
Line: 738
---
Investigation reveals the following:-
This line begins with a NBSP.
When page is loaded with UTF-8 encoding, the .js file chokes.
When encoding is changed to Western (ISO Latin 1), and page reloaded, the maps
loads up just fine.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list