Fix exception when looking up indexedDB when disabled in Firefox.

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.

While this fix could be more specific, putting it in the testDOMProps function will help prevent bugs like this from being introduced in the future.