Bug 17412
| Summary: | Lack of //--> before </script> causes rendering inaccessible (blank) a rest of the page | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Bertrand Presles <bpresles> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Robert Blaut
Webkit as well as Opera does not forgive lack of closing comment tag:
"return false
}
//-->
</script>"
Adding "//-->" fixes problem. So Evangelism bug?
Robert Blaut
*** This bug has been marked as a duplicate of 12009 ***