Add unit test for r239322
Created attachment 368133 [details] Patch
http://trac.webkit.org/r244594
<rdar://problem/50171859>