Re: javascript interruption

2008-08-11 Thread Brad Midgley
fwiw,

 I've noticed that when using the browser, if I haven't clicked
 anything on my n810 for a while, the javascript execution in the
 browser is halted.

it's sort of cosmic... the answer was 42.

I had to build and periodically execute acpi_fakekey 42 to keep the
browser awake. 42 is the value for the left shift key... plus I get to
hear the keyboard tapping away by itself.

I would feel better with a hack-free way to do this. It won't work on
my n800 since acpi_fakekey can't find a keyboard. I'm not sure how to
change it to insert events into a different device or if there even is
a no-op I can insert there that won't get ignored.

-- 
Brad
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


javascript interruption

2008-08-10 Thread Brad Midgley
Hey

I've noticed that when using the browser, if I haven't clicked
anything on my n810 for a while, the javascript execution in the
browser is halted. It doesn't matter if the browser is the front
application, it doesn't matter if the screen has blanked, etc. As soon
as I tap something again, unplug the AC, etc then the javascript in
the page runs again.

Is there any way to modify this behavior so the javascript will
continue to run for longer than the ~5 minute timeout? It would be
nice if it was driven by the screen blank state since I can control
that programatically and through preferences.

-- 
Brad
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers