Will be useful for https://bugs.webkit.org/show_bug.cgi?id=196091, and this API generally looks like it is neither safe nor particularly useful (it is only used in two places, neither of which are a hot path).
Created attachment 365567 [details] Patch
*** This bug has been marked as a duplicate of bug 196091 ***