Catch exceptions when looking up properties in the DOM

Firefox will sometimes throw an exception when looking up known but
disabled features in the dom. This commit catches exceptions when
looking up properties in testDOMProps.