[fyi] icedtea-web - making browsers tests more stable - softkiller, session backup and it integration to firefox
Jiri Vanek
jvanek at redhat.com
Fri Nov 16 08:08:55 PST 2012
Hi!
This is another effort to make browser tests more stable.
First part - softkiller - is Pavels attempt to close window "like cross is clicked". Hmm It is working... I'm still not sure how. Firefox looks to endure longer without safe mode, but eg opera can not survive it. And eg streams from browsers are flushed more properly. But also some lags are here which make it simetimes unstable. It also contains its integration to ITW make processes.
/me is not taking any responsibility for this part :)
Second part is oriented to usage of softkiller where possible and to backuping and restoring of FF sessions(by backuping/restoring profiles).
To do this I had to do quite large refactoring, so the "executeProcess" logic will possible to accept implementations of some Interfaces, and then will be able to launch the interface's methods.
All the executeProcess have been moved to ProcessWraper class. (old methods in ServerAccess like executeJavaws are now creating ProcessWraper instance). All browsers now Implements ReactableProcess, which can be called
by executeProcess beforeProcess, afterProcess,beforeKill and afterKill. Implementation is done just for firefox, but I believe it will be helpful when other processes eill nedd some tunning. Usage of interface's methods in firefox for backuping/restoring session is quite strightforward then
Any hints (especially to this early design) welcomed!
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-integratedSoftkilerCache.patch
Type: text/x-patch
Size: 50727 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121116/e58b9835/icedtea-web-integratedSoftkilerCache.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-Softkiler.patch
Type: text/x-patch
Size: 12854 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121116/e58b9835/icedtea-web-Softkiler.patch
More information about the distro-pkg-dev
mailing list