Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a47428dc96430c8d373f8a7481b756d7eec3ccbb
      
https://github.com/WebKit/WebKit/commit/a47428dc96430c8d373f8a7481b756d7eec3ccbb
  Author: Vitor Roriz <[email protected]>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M Tools/Scripts/webkitpy/w3c/wpt_linter.py

  Log Message:
  -----------
  REGRESSION(314840@main): WPT linter crashes instead of reporting lint errors
https://bugs.webkit.org/show_bug.cgi?id=316784
rdar://179237557

Reviewed by Tim Nguyen.

The exception handler in WPTLinter._run_lint builds its error message from
result, but result is never assigned when subprocess.run() raises
CalledProcessError, so it dies with "UnboundLocalError: local variable
'result' referenced before assignment". Use the caught exception's stderr
(e.stderr) instead.

* Tools/Scripts/webkitpy/w3c/wpt_linter.py:
(WPTLinter._run_lint):

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



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

Reply via email to