1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00
elinks/test/refresh-0timeout.html
Miciah Dashiel Butler Masters 874202ef7a Don't fail assertion on 0-second meta-refresh
In start_document_refresh, use register_bottom_half instead of
install_timer if the timeout is 0 because install_timer asserts that it is
given a delay greater than 0.

Add a test case, test/refresh-0timeout.html.  Note that
document.browse.minimum_refresh_time must be set to 0 to reproduce the
assertion failure.
2009-06-18 18:13:25 +00:00

7 lines
125 B
HTML

<html>
<head><meta http-equiv="refresh" content="0; url=/" /></head>
<body>
Redirect to / after 0 seconds.
</body>
</html>