Created attachment 426869 [details]
iOS bots are red.
Created attachment 427165 [details]
Comment on attachment 427165 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=427165&action=review
> +auto ShareableResource::createHandle() -> Optional<Handle>
It seems weird to use Optional<Handle> considering that Handle has a "null" state and a isNull() function.
For example, we purposely avoid using Optional<String> in the code base, for this exact reason.
I think we could simply return a null Handle in case of failure.