Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New test: [iOS] TestWebKitAPI.ServiceWorker.ExtensionServiceWorkerDis…
…ableCORS is frequently timing out https://bugs.webkit.org/show_bug.cgi?id=247757 rdar://102206729 Reviewed by Geoffrey Garen. All tests in this files were calling [ServiceWorkerSchemeHandler addMappingFromURLString:] with a string literal. As a result, this function has an optimization to avoid copying (& freeing) the passed-in string. However, the new ServiceWorker.ExtensionServiceWorkerDisableCORS is passing a dynamically generated String and this optimization is thus no longer safe. * Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: (-[ServiceWorkerSchemeHandler addMappingFromURLString:toData:]): Canonical link: https://commits.webkit.org/256553@main
- Loading branch information