PATCH: javascript setTimeout over midnight bug
Charles Samuels
charles at kde.org
Sat Mar 4 00:50:42 GMT 2006
The attached patch to 3.5 branch fixes a buggle in which timeouts occur much
sooner than they should if timeout goes over midnight.
Steps to reproduce:
- set your system clock to 23:55
- load test.html
- click the link
- observe the timeout occur immediately instead of after 10 minutes.
Since most patches here are ignored, I'll commit it after 24 hours if I don't
hear anything :)
It'd be wise for someone working against trunk to apply it there as well (it
should more or less cleanly)
cs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml-ecma-timeout-midnight.diff
Type: text/x-diff
Size: 6261 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060304/b8e812df/attachment.diff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060304/b8e812df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060304/b8e812df/attachment.sig>
More information about the kfm-devel
mailing list