[Webkit-unassigned] [Bug 47397] TextResourceDecoder::checkForHeadCharset can look way past the limit.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 8 16:22:16 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47397





--- Comment #10 from Dmitry Titov <dimich at chromium.org>  2010-10-08 16:22:15 PST ---
(In reply to comment #9)
> > This particular test will succeed because the net effect is that the sniffer forever thinks it's in head section
> 
> I guess I could just check for myself in debugger, but I don't follow this explanation. The sniffer is supposed to ignore <meta> and other tags inside <script>, and you said that it never bails out of "in script" mode.

Sorry Alexey, I was thinking about my issue while answering :-). Well, I've just traced your example in the debugger and the code does skip closing </script> tag and then processes <meta> even while having non-null enclosingTagName. So I'm not sure it actually skips tags inside <script>...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list