I added this API in r110638, but didn't write a test.
The API was added in <http://trac.webkit.org/changeset/110638>