Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1b1b6513f5e68f5ec14f53ef4a44d7699104263c
https://github.com/WebKit/WebKit/commit/1b1b6513f5e68f5ec14f53ef4a44d7699104263c
Author: Lauro Moura <[email protected]>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M Source/WebDriver/Session.cpp
Log Message:
-----------
[WebDriver] Fix switch_to_frame integer id parameter checks
https://bugs.webkit.org/show_bug.cgi?id=288055
Reviewed by Carlos Garcia Campos.
Replace assertion with a regular if check, to avoid the WebDriver
service crashing with assertions enabled when getting an frame number
out of range.
According to the spec, we should return `invalid argument` instead:
* Source/WebDriver/Session.cpp:
(WebDriver::Session::switchToFrame):
Canonical link: https://commits.webkit.org/290706@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