[Webkit-unassigned] [Bug 9370] Nothing rendered when missing ending </script> tag

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Jun 9 02:10:27 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9370





------- Comment #4 from ddkilzer at kilzer.net  2006-06-09 02:10 PDT -------
(In reply to comment #3)
> I'm inclined to go even further, i'd guess that any unclosed tag in the head
> SHOULD be closed on head close, amd that the three bugs about unclosed <style>,
> <script> and <title> are in fact dupes of the same problem.

On the surface it looks that way, but it's a little more complex than this. 
Each tag has its own handling code and thus must be special-cased.  Also when
the tag appears in the <head>, this is a different code path than when the tag
appears in the <body>.

I got stuck a couple months ago on Bug 3905 and Bug 6314 when someone found a
page in production that cause the tokenizer (and parser?) to "run out" of HTML
to process while a page was loading, but only because the network couldn't feed
the tokenizer/parser fast enough.  I need a reproducible test case for this
condition before I can fix the bug, and it's going to have to be an http test.

I was also hoping that not looking at the tokenizer/parser code for a couple
months would give me some fresh ideas when I went back to it.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list