Bug 279101

Summary: [WebDriver][WPE] Segfault in MiniBrowser in some tests when the first window is closed and a new one is created
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Lauro Moura
Reported 2024-09-03 19:13:17 PDT
Test: imported/w3c/webdriver/tests/classic/close_window/close.py::test_close_browsing_context bug212950 fixed most of the cases for creating new windows, but it hard-coded the initial window in some checks done in createWebViewForAutomationCallback. The mentioned test closes the initial view, invalidating the original pointer, leading to the segfault when it tries to create a new window.
Attachments
Lauro Moura
Comment 1 2024-09-03 22:00:26 PDT
EWS
Comment 2 2024-09-04 13:35:06 PDT
Committed 283170@main (b9f177ccdf00): <https://commits.webkit.org/283170@main> Reviewed commits have been landed. Closing PR #33102 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-09-04 13:36:17 PDT
Note You need to log in before you can comment on or make changes to this bug.