[Webkit-unassigned] [Bug 86376] Incorrect cloning behavior for scripts: "already started" flag not copied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 15 17:46:39 PDT 2012


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





--- Comment #7 from Pablo Flouret <pablof at motorola.com>  2012-05-15 17:45:43 PST ---
(In reply to comment #6)
> There's a testcase at https://bugzilla.mozilla.org/attachment.cgi?id=621309 that shows an <svg:script> running after being imported from a DOMParser-generated document.
> 
> I assume the attached patch fixes that situation for <html:script>, right?

WebKit doesn't support text/html in DOMParser yet, afaik. But that testcase does indeed fail for svg and xhtml.

Implementation-wise, the xml case is a bit trickier to fix since DOMParser uses Document::createElement, which uses the automatically generated element constructors. Also, is there even enough info at that point to decide whether 'already started' should be set or not?

Adam, any ideas?

Btw, should there also be a note for the xml case here:
http://html5.org/specs/dom-parsing.html#domparser

-- 
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