make it more spec compliant.
Created attachment 414706 [details] Patch
Created attachment 414712 [details] Patch
Committed r270135: <https://trac.webkit.org/changeset/270135> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414712 [details].
<rdar://problem/71643547>