There are some extra hoops here because devtools has a lint to prevent Cu.importGlobalProperties, which is the normal way one would import a WebIDL constructor. MozReview-Commit-ID: 2mdNI6N1z5B
1431533
eslint --fix