We are working with HTML5 games we need to know when a game has completely finished downloading all it's assets. In case of HTML5, this is not the same as when the page finishes loading. After the page finishes loading, the game's assets are downloaded.
We are running these games in a native app in which we have embedded the Crosswalk webview. The Crosswalk-project is based on the Chromium project, so chances are what works for Chromium will work for Crosswalk too. How do I find out when the browser has completely stopped making network requests and has basically stopped all communication with the internet?