[webkit-changes] [WebKit/WebKit] af3682: [TestWebKitAPI] register WebProcessTestRunner only...

Przemyslaw Gorszkowski noreply at github.com
Mon Feb 6 01:24:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: af3682230d4e02cc379762abae2cb116380fb5a9
      https://github.com/WebKit/WebKit/commit/af3682230d4e02cc379762abae2cb116380fb5a9
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp

  Log Message:
  -----------
  [TestWebKitAPI] register WebProcessTestRunner only for main frame
https://bugs.webkit.org/show_bug.cgi?id=251684

Reviewed by Carlos Garcia Campos.

It fixes the problem with reporting an object leak at the end of the
test:
Leaked objects in WebProcess: WebKitWebPage(0x55f0239978a0)
Bail out! ERROR:/app/webkit/Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp:49:void checkLeaks(): 's_watchedObjects.isEmpty()' should be TRUE

* Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp:
(windowObjectClearedCallback):

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




More information about the webkit-changes mailing list