When a script in a web page calls window.setTimeout, ELinks sets document.timeout. So, when two tabs are displaying the same document (e.g. test/ecmascript/scroll.html), only one of the tabs can have a timeout at a time. If that tab is closed, then nothing has a timeout any more. That does not seem right to me.
Witekfl originally added ecmascript_interpreter.timeout on 2006-10-23, but then replaced that with document.timeout in commit 2fe0623298a5a16b6a97885de30f5aae1a44855d the next day. Why was that? On a related note, we should perhaps add a document_view.title or view_state.title that ECMAScript could modify instead of document.title. It seems weird that document title changes affect multiple tabs while input field changes do not.
pgp4QhRF422Ty.pgp
Description: PGP signature
_______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
