This was suggested as followup in https://bugs.webkit.org/show_bug.cgi?id=199759#c12.
Created attachment 374905 [details] Patch
Attachment 374905 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 374908 [details] patch
Created attachment 374909 [details] patch fixing mac/ios EWS failures
Created attachment 374916 [details] Patch Fixing mac linker error.
Comment on attachment 374916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=374916&action=review > Source/JavaScriptCore/runtime/CachedTypes.cpp:195 > + error = BytecodeCacheError::StandardError(errno); Not new to this patch, but I worry about the use of "errno" in platform-independent code. Seems like instead of Optional we could use Expected so the error code would be part of the return value rather than in a global variable.