| Summary: | SharedWorkerGlobalScope.close() does not then allow the SharedWorker to be replaced | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nathan <nathan> |
| Component: | WebCore JavaScript | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, nathan, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 13 | ||
|
Description
Nathan
2023-01-19 07:48:51 PST
I will take a look, thank you for the bug report. Looks like I am able to reproduce with the provided test case: NO: SharedWorker failed to connect; count: 2 (In reply to Chris Dumez from comment #2) > Looks like I am able to reproduce with the provided test case: > NO: SharedWorker failed to connect; count: 2 We were not properly communicating that the SharedWorker had closed to our controller process. After fixing this: OK: Successfully shutdown and reconstructed the SharedWorker many times 🙌; count: 5 Will clean up the patch and write an automated test. Pull request: https://github.com/WebKit/WebKit/pull/8887 Committed 259228@main (76527da41c80): <https://commits.webkit.org/259228@main> Reviewed commits have been landed. Closing PR #8887 and removing active labels. |