Update ext/dom names after policy change (#14171)
Only register error handling when observable Closes GH-13702.