[Webkit-unassigned] [Bug 9554] New: Script written by a script but not closed by it is not parsed correctly

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Jun 23 09:25:28 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9554

           Summary: Script written by a script but not closed by it is not
                    parsed correctly
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: opendarwin.org at mitzpettel.com


In the attached test case, the first script writes a <script> tag, followed by
one JavaScript statement, but doesn't write a </script> tag. Therefore
everything after the first script's closing tag up until the second </script>
tag should be interpreted as part of the script written by the first script.

WebKit loses the entire second script (and consequently also fails an assertion
in debug builds). Firefox behaves correctly.

Note that if the first script write a complete script, i.e. writes a </script>
tag, then it's interpreted correctly.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list