Add type checking to isEqual methods
Created attachment 220995 [details] Patch
Committed r161850: <http://trac.webkit.org/changeset/161850>