WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
23890
Some long-running JS does not get detected as "Slow Script" and stopped.
https://bugs.webkit.org/show_bug.cgi?id=23890
Summary
Some long-running JS does not get detected as "Slow Script" and stopped.
Dmitry Titov
Reported
2009-02-10 22:11:12 PST
The long-running script should be aborted with a "Slow Script" dialog. But sometimes, this dialog does not appear and the script is not aborted - instead the browser just hangs. Url that hangs: javascript:function fib(i) { return i < 2 ? 0 : fib(i - 1) + fib(i - 2) + 1;}; fib(60); Url that popups the right dialog as expected: javascript:while(true) {};
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2009-02-10 23:36:08 PST
Is this a regression from shipping Safari/WebKit?
Dmitry Titov
Comment 2
2009-02-10 23:45:22 PST
Not a recent regression. Safari 3.2.1 behaves same way.
Geoffrey Garen
Comment 3
2009-02-11 12:43:06 PST
We've never done slow script checking at call / return boundaries (though we probably should).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug