adding type tests across iframes for all isType functions
(cherry picked from commit d01bb56833efc411d69b9b8d790bacfbbf461dfa)