Added the check.
Created attachment 136253 [details] Patch
Committed r113700: <http://trac.webkit.org/changeset/113700>