[Webkit-unassigned] [Bug 12941] JavaScript hangs Safari (&nightly)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 1 21:48:50 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12941
ap at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Comment #4 from ap at webkit.org 2007-03-01 21:48 PDT -------
while(txt.indexOf('<'+'?xml ') != -1)
txt.replace(/^<\?xml .*?>/i,'');
This replace() doesn't really remove the XML declaration, so it's an infinite
loop. Firefox has the same behavior.
Now, Firefox has an ability to interrupt scripts with infinite loops, and
Safari does not have it. This feature has been already implemented in WebKit
back-end, but we are waiting for a Safari release that will enable it - this is
why the problem still happens even with the nightlies.
--
Configure bugmail: http://bugs.webkit.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