[webkit-changes] [WebKit/WebKit] 1a21c4: [WPE][WebDriver] WebKitWebView warn if current Web...

Lauro Moura noreply at github.com
Fri Jul 5 11:20:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a21c42e7e1c29e3e1242460fdc2cb7cd578ec8a
      https://github.com/WebKit/WebKit/commit/1a21c42e7e1c29e3e1242460fdc2cb7cd578ec8a
  Author: Lauro Moura <lmoura at igalia.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
    M Tools/MiniBrowser/wpe/main.cpp

  Log Message:
  -----------
  [WPE][WebDriver] WebKitWebView warn if current WebContext doesn't allow automation for automated views
https://bugs.webkit.org/show_bug.cgi?id=276225

Reviewed by Carlos Garcia Campos.

Put just a warning for now, to avoid breaking current behavior. In a
future commit we can enforce this behavior and add a capability/flag to
allow the WebDriver client request a persistent data directory (e.g. for
repeatedly testing heavy PWA or pages with huge resources)

* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
(webkitWebViewConstructed): Add warning
* Tools/MiniBrowser/wpe/main.cpp:
(activate): Enable automation before creating the first view

Canonical link: https://commits.webkit.org/280695@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list