mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
874202ef7a
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.
7 lines
125 B
HTML
7 lines
125 B
HTML
<html>
|
|
<head><meta http-equiv="refresh" content="0; url=/" /></head>
|
|
<body>
|
|
Redirect to / after 0 seconds.
|
|
</body>
|
|
</html>
|