[Bug 10115] EOF handling in foreign content needs to change the insertion mode

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10115


Eric Seidel <eric@webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
                 CC|                            |eric@webkit.org
           Severity|normal                      |critical




--- Comment #1 from Eric Seidel <eric@webkit.org>  2010-07-08 22:25:04 ---
"in foreign content":

An end-of-file token
Parse error.

Pop elements from the stack of open elements until either a math element or an
svg element has been popped from the stack, and reprocess the token.


I believe that will recurse infinitely, since it never changes the insertion
mode.  So it's just gonna end up attempting to pop forever.  (In WebKit it
would eventually hit an ASSERT since our open elements data structure will
ASSERT when it runs out of things to pop.)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 8 July 2010 22:25:06 UTC