Bug 17412 - Lack of //--> before </script> causes rendering inaccessible (blank) a rest of the page
Summary: Lack of //--> before </script> causes rendering inaccessible (blank) a rest o...
Status: RESOLVED DUPLICATE of bug 12009
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://gaia.hdfrench.com/rips.php
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-17 12:01 PST by Bertrand Presles
Modified: 2008-02-18 00:42 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Presles 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.
Comment 1 Robert Blaut 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?
Comment 2 Robert Blaut 2008-02-18 00:42:04 PST

*** This bug has been marked as a duplicate of 12009 ***