Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r225082 - WebDriver: crash in Session::computeElementLayout whe…
…n called without a current browsing context https://bugs.webkit.org/show_bug.cgi?id=179917 Reviewed by Darin Adler. In the case of computeElementLayout message, the frameHandle parameter is not optional, but we still need to provide a valid value (empty string means the default frame) when m_currentBrowsingContext is std::nullopt. The same applies to selectOptionElement. * Session.cpp: (WebDriver::Session::computeElementLayout): (WebDriver::Session::selectOptionElement):
- Loading branch information
1 parent
2e9f508
commit ee17892
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters