Closed Bug 240636 Opened 21 years ago Closed 20 years ago

view source shows different source than it is.

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 83221

People

(Reporter: yez, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040316 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040316 <html><head><STYLE type="text/css">BODY { height : 8.5in }TD { font-family:Verdana,Geneva,Helvetica,sans-serif; font-size:12;}#main { font-family:Verdana,Geneva,Helvetica,sans-serif; font-size:12;position : fixed;width : 100%;height : 85%;top:0; right : 0;bottom : auto;left : 0;}#footer { font-family:Verdana,Geneva,Helvetica,sans-serif; font-size:9;position : fixed;width : 100%;height : 50px;top:auto;right : 0;bottom : 0;left : 0;}</STYLE><script language="javascript> function verwijderen(naamdvd) { confirm('wil je ' + naamdvd + ' verwijderen ?'); } </script> </head><body><div id="main"><table style="font:Verdana; font-size:9px; background-color: #eeeeff; border:1px solid #000080; padding:2px; margin: 1em; clear: both;"> <tr><td colspan="10"></td> <td></td></tr> <tr><td> - Amadeus</td><td><a href="javascript:verwijderen('Amadeus')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Finding Nemo (nl. ondertiteld)</td><td><a href="javascript:verwijderen('Finding Nemo (nl. ondertiteld)')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Golden years</td><td><a href="javascript:verwijderen('Golden years')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Gone with the Wind</td><td><a href="javascript:verwijderen('Gone with the Wind')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Killing me softly</td><td><a href="javascript:verwijderen('Killing me softly')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Lord of the Rings I</td><td><a href="javascript:verwijderen('Lord of the Rings I')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Lord of the Rings II</td><td><a href="javascript:verwijderen('Lord of the Rings II')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Mijn Hondje Skip</td><td><a href="javascript:verwijderen('Mijn Hondje Skip')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Miss Congeniality</td><td><a href="javascript:verwijderen('Miss Congeniality')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Monster's ball</td><td><a href="javascript:verwijderen('Monster's ball')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Original Sin</td><td><a href="javascript:verwijderen('Original Sin')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Proof of Life</td><td><a href="javascript:verwijderen('Proof of Life')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Romeo must die</td><td><a href="javascript:verwijderen('Romeo must die')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Space Cowboys</td><td><a href="javascript:verwijderen('Space Cowboys')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - The Green Mile</td><td><a href="javascript:verwijderen('The Green Mile')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - The Matrix</td><td><a href="javascript:verwijderen('The Matrix')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - The Perfect Storm</td><td><a href="javascript:verwijderen('The Perfect Storm')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - The unsaid</td><td><a href="javascript:verwijderen('The unsaid')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> - Unfaithful</td><td><a href="javascript:verwijderen('Unfaithful')"><img src="img/remove.png" alt="Verwijderen" border=0></a></td></tr> <tr><td> </a></td><td></td></tr> </table> </form> </TD> </TR> </TABLE> </div> <div id="footer" align="center"><hr>Privacy | <a href="mailto:vragen@theek.nl?subject=Ik%20heb%20een%20vraag%20cq.%20suggestie">Vragen of suggesties</a> | Contact</div></body></html> Reproducible: Always Steps to Reproduce: Hi, when you load the html page, and do "view page source", it's different than the real source. Look at <div id="main"> or <div id="main></script>
Hi, I already know why it shows the source different. It's because of <script language="javascript> that has a quote too less. Either way, it should show the correct source.
Assignee: general → doronr
Component: Browser-General → ViewSource
Probably a dup of one of the other view-source tokenizer bugs...
Whiteboard: DUPEME
Assignee: doronr → parser
Component: ViewSource → HTML: Parser
Depends on: 57724
Because we never find a </script> in the page, we insert one right after the perceived end of the tag (which is a bit further down because of the missing quote). *** This bug has been marked as a duplicate of 83221 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.