Fix crash seen in iOS simulator tests
Created attachment 273023 [details] Patch
https://trac.webkit.org/r197580