Not working with Chrome 4 (dev channel) and Safari 3.2.2
Working with Firefox 3.5
Go to the URL. Check the DOM.
Compare it with http://netro.fileave.com/webkitbug2.html.
The bug is caused by the "<" character in webkitbug1.html's string variable temp.
When the created script element is appended, its innerHTML treats /<.*>/ as HTML tags.
And this causes the error.
An obvious workaround is to use textContent instead of innerHTML (innerText also works, but it's not supported by Firefox).
Created attachment 45539 [details]
Created attachment 46100 [details]
This fixes the problem for SCRIPT and STLYE elements (actually, we didn't support setting innerHTML for style at all before). I'm not sure if any other elements need this treatment - Firefox behavior seems somewhat confused, as it applies it to NOSCRIPT for whatever reason.
style-queue ran check-webkit-style on attachment 46100 [details] without any errors.