Patch forthcoming.
Created attachment 291777 [details] the patch
Comment on attachment 291777 [details] the patch Sounds reasonable to me.
Landed in https://trac.webkit.org/changeset/207408