geary/test
Michael James Gratton f1e92feae2 Allow determining when JS has finished loading in ClientWebView.
* src/client/components/client-web-view.vala (ClientWebView): Add
  is_content_loaded property and content_loaded signal, update and fire
  when getting a contentLoaded message from the WebProcess.

* ui/client-web-view.js: Fire the contentLoaded message when loading is
  complete. Add ClientPageStateTest test case to ensure it is working
  fine.

* test/client/components/client-web-view-test-case.vala
  (ClientWebViewTestCase::load_body_fixture): Use is_content_loaded
  rather than is_loading as the test for loading having finished, since
  we're actually interested in when the JS has finished loaded, not the
  resources.
2017-11-16 12:44:57 +11:00
..
client Allow determining when JS has finished loading in ClientWebView. 2017-11-16 12:44:57 +11:00
engine Update testcase to fix failure introduced by commit da15ebe. 2017-11-16 10:37:29 +11:00
js Allow determining when JS has finished loading in ClientWebView. 2017-11-16 12:44:57 +11:00
CMakeLists.txt Allow determining when JS has finished loading in ClientWebView. 2017-11-16 12:44:57 +11:00
main.vala Allow determining when JS has finished loading in ClientWebView. 2017-11-16 12:44:57 +11:00
testcase.vala Assorted async test case fixes. 2017-11-02 19:10:29 +11:00