[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 18:25:41 PDT 2012


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





--- Comment #8 from Boris Zbarsky <bzbarsky at mit.edu>  2012-05-15 18:24:45 PST ---
If I read the specs right, the "already started" flag is set whenever the element is inserted into a document...  That should include DOMParser and XMLHttpRequest automatically.

By the way, WebKit seems to fail the similar XMLHttpRequest testcase:

test.xml:
  <root>
    <script xmlns="http://www.w3.org/1999/xhtml">
      document.body.textContent = 'FAIL';
    </script>
  </root>

test.html:

  <!DOCTYPE html>
  <body>PASS
    <script>
      var xhr = new XMLHttpRequest();
      xhr.open("GET", "test.xml", false);
      xhr.send();
      document.body.appendChild(
        document.importNode(xhr.responseXML.querySelector("script"), true));
    </script>
  </body>

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