[Bug 21293] New: [Templates]: EOF processing fails if a <template> in a non-html namespace is on the stack of open elements

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21293

            Bug ID: 21293
           Summary: [Templates]: EOF processing fails if a <template> in a
                    non-html namespace is on the stack of open elements
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: rafaelw@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 15476

E.g. <template><svg></template>

This is apropos of the HTML bug I just opened: 

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21292

What happens here is:

-EOF is hit
-The stack of template insertion modes is non-empty, so we generated a fake
</template>
-The </template> handling pops past the first "template" tag on the stack,
which is <svg template>
-It resets the insertion mode, which hits the (html) <template> tries to find
the current one from the stack of template insertion modes...which is now
empty.
=>crash

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 14 March 2013 23:18:56 UTC