[Webkit-unassigned] [Bug 40068] New: Second document.write() of external script fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 10:25:32 PDT 2010


           Summary: Second document.write() of external script fails
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tonyg at chromium.org
                CC: eric at webkit.org

The second document.write() of an external script fails. Here's a minimal test case.

This alerts "[object HTMLScriptElement]", "null":
    document.write('<script src=ignored.js id=foo></scri'+'pt>');
    document.write('<script src=ignored.js id=bar></scri'+'pt>');

I'd expect it to work like writing two inline scripts. This alerts "[object HTMLScriptElement]", "[object HTMLScriptElement]":
    document.write('<script id=foo></scri'+'pt>');
    document.write('<script id=bar></scri'+'pt>');

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