For both standard and legacy APIs.
<rdar://problem/12218309>
Created attachment 161774 [details] Patch
Committed r127364: <http://trac.webkit.org/changeset/127364>