GNOME Bugzilla – Bug 762753
test-ephy-snapshot-service is failing
Last modified: 2018-08-03 20:46:55 UTC
test-ephy-snapshot-service is failing since 18ad317 when I fixed it to not return success when there is an error. I am not sure how this test ever worked (maybe it worked in WK1?) because it does not wait for pages to load before taking snapshots, the call to frameView->visibleContentRect() in webkitWebPageDidReceiveMessage (WebKitWebPage.cpp) returns an empty WebCore::IntRect, and in the end nullptr gets returned by webkit_web_view_get_snapshot_finish.
It still returns a nullptr snapshot even when spinning a nested main loop until the LOAD_COMPLETE event and waiting an extra five seconds. Maybe because the web_view is not actually visible?
Created attachment 322493 [details] [review] Some broken changes to snapshot-service-test Posting this just so it doesn't get lost.
Created attachment 322509 [details] [review] Some broken changes to snapshot-service-test Posting this just so it doesn't get lost.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/303.