Bug 267645 part 1. Add a way to ask for DOMException to be exposed in sandboxes. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D63278