#SUP-3175

add try / catch when trying to access parent frame context