Reduction: http://help.improve.safari.googlepages.com/xj-9you.html Verified against webkit nightly: r28278
Created attachment 17638 [details] Screenshot
Created attachment 17669 [details] further reduced test case Somehow, we fail to ignore <noscript> content here.
This has even stranger behavior when run locally (for me). If I dump the contents of the .js file into a <script> tag in the html file, then all I see is "); in the rendered document. I wonder if this is related to bug 8961. Marking it as depends on, in case it is.
This appears to have been fixed by the HTML5 parser. @Eric: that's because the </script> in the JavaScript string closes the script block.
ap... always wanting more tests :)
Created attachment 64474 [details] Patch
Comment on attachment 64474 [details] Patch Tests!!!
Comment on attachment 64474 [details] Patch Clearing flags on attachment: 64474 Committed r65402: <http://trac.webkit.org/changeset/65402>
All reviewed patches have been landed. Closing bug.