<rdar://problem/61599658>
Created attachment 396897 [details] proposed patch.
Comment on attachment 396897 [details] proposed patch. Need a bit more work. New patch coming.
Created attachment 396920 [details] proposed patch.
Comment on attachment 396920 [details] proposed patch. Can you add tests for all this?
(In reply to Saam Barati from comment #4) > Comment on attachment 396920 [details] > proposed patch. > > Can you add tests for all this? I already tried but am not able to. It was trickier than it looked on the surface. The result keep coming back as undefined when an exception is thrown. I filed https://bugs.webkit.org/show_bug.cgi?id=210725 to investigate this later.
Thanks for the review. Landed in r260343: <http://trac.webkit.org/r260343>.