WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 12009
17412
Lack of //--> before </script> causes rendering inaccessible (blank) a rest of the page
https://bugs.webkit.org/show_bug.cgi?id=17412
Summary
Lack of //--> before </script> causes rendering inaccessible (blank) a rest o...
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug