Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9b483097e475a1ea81b40c46f95bedb08f79dd06
https://github.com/WebKit/WebKit/commit/9b483097e475a1ea81b40c46f95bedb08f79dd06
Author: Lauro Moura <[email protected]>
Date: 2025-07-16 (Wed, 16 Jul 2025)
Changed paths:
M Source/WebDriver/CommandResult.cpp
M Source/WebDriver/CommandResult.h
M Source/WebDriver/Session.cpp
M Source/WebDriver/Session.h
Log Message:
-----------
[WebDriver] Address unchecked optional accesses reported by clang-tidy
https://bugs.webkit.org/show_bug.cgi?id=295617
Reviewed by BJ Burg.
clang-tidy `bugprone-unchecked-optional-access` reported a number of
cases where we were accessing the.optional values directly without
checks.
This commit also shields the m_toplevelBrowsingContext value access
behind an "unchecked..." method.
* Source/WebDriver/CommandResult.cpp:
* Source/WebDriver/CommandResult.h:
* Source/WebDriver/Session.cpp:
* Source/WebDriver/Session.h:
Canonical link: https://commits.webkit.org/297461@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes