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: | WebDriver | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/33102
EWS
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
<rdar://problem/135296363>