[webkit-changes] [WebKit/WebKit] 730150: REGRESSION(257681 at main) [WebDriver] Invalid WebPag...

Lauro Moura noreply at github.com
Fri Dec 16 07:42:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7301504e0c2211b49de5b829413cd4f4e4ce2847
      https://github.com/WebKit/WebKit/commit/7301504e0c2211b49de5b829413cd4f4e4ce2847
  Author: Lauro Moura <lmoura at igalia.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp

  Log Message:
  -----------
  REGRESSION(257681 at main) [WebDriver] Invalid WebPageProxy references after RefPtr moved into callbacks
https://bugs.webkit.org/show_bug.cgi?id=249452

Reviewed by Žan Doberšek.

Make sure the WebPageProxy are valid through the
exitFullscreenWindowForPage call.

* Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::WebAutomationSession::setWindowFrameOfBrowsingContext):
(WebKit::WebAutomationSession::maximizeWindowOfBrowsingContext):
(WebKit::WebAutomationSession::hideWindowOfBrowsingContext):

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




More information about the webkit-changes mailing list