RESOLVED DUPLICATE of bug 93179554
Script written by a script but not closed by it is not parsed correctly
https://bugs.webkit.org/show_bug.cgi?id=9554
Summary Script written by a script but not closed by it is not parsed correctly
mitz
Reported 2006-06-23 09:25:27 PDT
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.
Attachments
Test case (will assert) (262 bytes, text/html)
2006-06-23 09:26 PDT, mitz
no flags
mitz
Comment 1 2006-06-23 09:26:58 PDT
Created attachment 8982 [details] Test case (will assert)
mitz
Comment 2 2006-06-25 22:35:27 PDT
This bug is the "first half" of bug 9317. *** This bug has been marked as a duplicate of 9317 ***
Note You need to log in before you can comment on or make changes to this bug.