webkit2gtk-actor-tiles manual
medium
- Image Variant:
- basesdk, sdk, target
- Image Architecture:
- any
- Image Deployment:
- APT
- Type:
- functional
Description
Test implementation of actor-based tiled backing store in webkit2gtk.
Resources
- Mouse or touchscreen.
Pre Conditions
- Ensure Rootfs is remounted as read/write.
- Install dependencies
- Restart the system to restore the filesystem state to read-only before running the test.
$ sudo mount -o remount,rw /
$ sudo apt install webkit2gtk-testing
$ sudo reboot
Execution Steps
- Launch the test application with each URL in resources with and without CLUTTER_PAINT=paint-volumes:
- Check that the rendering of the page matches the reference in the results section.
- Click the link that will scroll the page a bit
- Check that the rendering of the page matches the reference in the results section
- Click the link that will scroll to the very bottom
- Check that the rendering of the page matches the reference in the results section
- Click the first link that will take you to a different page
- Check that the rendering of the page matches the reference in the results section
- Click the back button of the browser
- Check that the rendering of the page matches the reference in the results section
- Click the second link, that will send you to the bottom
- Follow the links again until you get to the end of the page again, always making sure the rendering matches the reference rendering
$ env CLUTTER_PAINT=paint-volumes GtkClutterLauncher file:///usr/share/webkit2gtk/testing/actor-tiles-test.html
Expected
This test will be considered a PASS if it works with at least one of mouse or touchpad because this is not a test for the mouse or touchpad working.
The page will look like this after the first load:

After clicking the first link the page will look like this:

After clicking the second link the page will look like this:

The new page that will be loaded looks like this:

Going back should give you the same rendering you had before clicking the link to the new page, except the link will be colored purple.

After clicking the link that will take you to the beginning of the page and repeating the process, the renderings should be the same as the ones above.
Note that when a page starts loading some of the tiles may contain a checker board; that is normal, but we plan to improve on it.