Dear all,
simply doing
JavaScript.get_interface("document").addEventListener("visibilitychange", callback)
never calls the appropriate callback in this script (the callback is created with JavaScript.create_callback function) The JS event "visibilitychange" is never triggered when the page lose the visibility.
Is this normal ? Thanks !!!!