MantisBT - NetSurf | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001825 | NetSurf | [All Projects] General | public | 2007-04-24 18:18 | 2009-02-20 15:29 |
Reporter | Sourceforge Import placeholder | ||||
---|---|---|---|---|---|
Assigned To | Sourceforge Import placeholder | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Fixed in CI build # | |||||
Reported in CI build # | |||||
URL of problem page | |||||
Summary | 0001825: Not ignoring Javascript correctly? | ||||
Description | Using NetSurf test build 20 Apr 2007 19:15 When you visit the URL http://www.x-cosmos.it/cropcircles/ all you get is a completely blank page. Having looked at the source code to the page, there are some embedded document.write('html') and 'body' tags inside a <script>...</script> porttion (from line 18 in the source code onwards). It looks like NetSurf is seeing these tags and somehow interpreting them to (falsely) believe there is no content between the <body>...</body> tags. Surely NS should ignore everything from <script> until </script>? If you manually delete this section of Javascript, then the page starts to render (still not correctly, but that's probably due to other javascript) but at least you can see the main body etc. regards, Paul Vigay nospam (at) vigay.com | ||||
Additional Information | nobody added a note on Wed Apr 25 19:04:13 2007 Logged In: NO Officially the script ends at the first ETAGO so the script is wrong, and the three occurences should be escaped. It probably works in other browsers as the page will use quirks mode (no DOCTYPE). http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.2.1 john rjek added a note on Tue Apr 24 18:53:37 2007 Logged In: YES user_id=893271 Originator: NO My understanding is that UAs should ignore tags that they don't understand, but render their contents as if there tags where not there. This is why people often use HTML comments to hide the contents of their <script> tags. This will need somebody who is more well-read in the spec than I to decide, however. Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=1706778 on Tue Dec 10 17:34:13 2013 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
There are no notes attached to this issue. |
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2013-12-10 17:41 | Vincent Sanders | New Issue | |||
2013-12-10 17:41 | Vincent Sanders | Assigned To | => Sourceforge Import placeholder |