Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f7b2175c9c2330e1917d2e5b3cfb917d256b9617
      
https://github.com/WebKit/WebKit/commit/f7b2175c9c2330e1917d2e5b3cfb917d256b9617
  Author: Dan Hecht <[email protected]>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M Source/bmalloc/libpas/libpas.xcodeproj/project.pbxproj
    M Source/bmalloc/libpas/src/libpas/pas_report_crash.c
    M Source/bmalloc/libpas/src/test/PGMTests.cpp

  Log Message:
  -----------
  [libpas] pas_report_crash_extract_pgm_failure should use the supplied task id 
when invoking the reader callback
https://bugs.webkit.org/show_bug.cgi?id=311270
rdar://173765415

Reviewed by Marcus Plutowski.

ReportCrash supplies a task id to use when calling back. The libpas
code should use that when invoking the callbacks.

Added test to PGMTests.cpp to verify the supplied task is used.

* Source/bmalloc/libpas/libpas.xcodeproj/project.pbxproj:
* Source/bmalloc/libpas/src/libpas/pas_report_crash.c:
(pas_enumerator_reader_adapter):
(pas_report_crash_extract_pgm_failure):
(setup_enumerator_for_crash_reporting): Deleted.
* Source/bmalloc/libpas/src/test/PGMTests.cpp:
(std::mockCrashReporterReader):
(std::testPGMCrashReportTaskPassthrough):
(addPGMTests):

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



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

Reply via email to