[webkit-changes] [WebKit/WebKit] a5f69d: [GTK][WPE] CGroupMemoryController::getCgroupFileVa...

Pablo Saavedra Rodiño noreply at github.com
Thu May 9 22:11:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5f69d0f997171aeead106dcd8fb85c53ebb3d88
      https://github.com/WebKit/WebKit/commit/a5f69d0f997171aeead106dcd8fb85c53ebb3d88
  Author: Pablo Saavedra <psaavedra at igalia.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M Source/WebKit/UIProcess/linux/MemoryPressureMonitor.cpp
    M Tools/TestWebKitAPI/glib/TestExpectations.json

  Log Message:
  -----------
  [GTK][WPE] CGroupMemoryController::getCgroupFileValue not stack if not numerical value is scanned from the file input (e.g: max)
https://bugs.webkit.org/show_bug.cgi?id=273931

Reviewed by Carlos Alberto Lopez Perez.

Improves the CGroupMemoryController::getCgroupFileValue by ensuring it
handles non-numeric values (e.g., max).

Fixes TestNetworkProcessMemoryPressure API test (webkit.org/b/263016).

* Source/WebKit/UIProcess/linux/MemoryPressureMonitor.cpp:
(WebKit::CGroupMemoryController::getCgroupFileValue):
* Tools/TestWebKitAPI/glib/TestExpectations.json:

Canonical link: https://commits.webkit.org/278599@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