Bug 17412

Summary: Lack of //--> before </script> causes rendering inaccessible (blank) a rest of the page
Product: WebKit Reporter: Bertrand Presles <bpresles>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://gaia.hdfrench.com/rips.php

Bertrand Presles
Reported 2008-02-17 12:01:37 PST
The http://gaia.hdfrench.com/rips.php website doesn't render well, even with both Safari 3.04 and latest WebKit nightly. The console reports 2 errors: SyntaxError: Parse error http://gaia.hdfrench.com/rips.php (line 1309) ReferenceError: Can't find variable: phpmyvisitesURL http://gaia.hdfrench.com/stat/phpmyvisites.js (line 116) Both error seems indeed true, as there is a </table> at the end of the page after the </html> which could explain the parse error, and as the phpmyvisitesURL variable used in the pmv_log(phpmyvisitesURL, phpmyvisitesSite, pagename, a_vars); method call seems indeed not declared. Use Firefox to see the page fully rendered.
Attachments
Robert Blaut
Comment 1 2008-02-17 13:39:28 PST
Webkit as well as Opera does not forgive lack of closing comment tag: "return false } //--> </script>" Adding "//-->" fixes problem. So Evangelism bug?
Robert Blaut
Comment 2 2008-02-18 00:42:04 PST
*** This bug has been marked as a duplicate of 12009 ***
Note You need to log in before you can comment on or make changes to this bug.