Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: cb1f64337310fec41266ad91ef5600b6a45808c5 https://github.com/WebKit/WebKit/commit/cb1f64337310fec41266ad91ef5600b6a45808c5 Author: Rose <83477269+ataridre...@users.noreply.github.com> Date: 2023-03-05 (Sun, 05 Mar 2023)
Changed paths: M Source/WTF/wtf/cocoa/FileSystemCocoa.mm M Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm Log Message: ----------- Replace checks for ending slash in file paths with runtime assertions https://bugs.webkit.org/show_bug.cgi?id=253253 Reviewed by Alexey Proskuryakov. This issue has been long fixed on iOS Simulator. Therefore, this check is safe to turn into a runtime assertion. * Source/WTF/wtf/cocoa/FileSystemCocoa.mm:(openTemporaryFile): Change temporaryFilePath.last() check to a runtime assertion. * Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm:(createHandleForTemporaryFile): Ditto. Canonical link: https://commits.webkit.org/261246@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes