haikuwebkit/Tools/wpe
Lauro Moura 74809f681a [WPE][WebDriver] Basic fullscreen support for the headless backend
https://bugs.webkit.org/show_bug.cgi?id=229380

Reviewed by Adrian Perez de Castro.

Tools:

r280774 added support for fullscreen in the WindowViewBackend, but
many webdriver tests started failing as they run in the headless
backend.

This commits adds basic support in HeadlessBackend to make some
tests pass. Currently, just storing the fullscreen state and
forwarding the events to the WPE backend functions.

A number of tests are still failing due to the missing multiple window
support (required through the `session` fixtures), but also there are
still some failing that expect the view to be started in
non-fullscreen mode, which does not happen in the headless backend.

* wpe/backends/HeadlessViewBackend.cpp:
(WPEToolingBackends::HeadlessViewBackend::HeadlessViewBackend):
(WPEToolingBackends::HeadlessViewBackend::onDOMFullScreenRequest):
(WPEToolingBackends::HeadlessViewBackend::dispatchFullscreenEvent):
* wpe/backends/HeadlessViewBackend.h:

WebDriverTests:

* TestExpectations.json: Skip some tests still failing, mainly due to multiple window support missing.


Canonical link: https://commits.webkit.org/240817@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-23 01:41:34 +00:00
..
backends [WPE][WebDriver] Basic fullscreen support for the headless backend 2021-08-23 01:41:34 +00:00
dependencies [WPE] Add missing required dependencies to build WPE 2021-07-28 08:29:44 +00:00
patches [JHbuild] Add patch to wpebackend-fdo to fix the build on Ubuntu-18.04 2020-10-22 06:43:54 +00:00
install-dependencies [GTK][WPE] Organize list of package dependencies into separated files 2021-07-27 11:57:22 +00:00
jhbuild-minimal.modules [JHBuild] Add support for using a minimal moduleset 2020-07-08 10:41:54 +00:00
jhbuild.modules [JHbuild] Add patch to wpebackend-fdo to fix the build on Ubuntu-18.04 2020-10-22 06:43:54 +00:00
jhbuildrc
manifest.txt.in [WPE] Bump API version when building with libsoup3 2021-03-18 12:07:38 +00:00