When called, the register method must run these steps:
ENVIRONMENT, the unit of related similar-origin browsing contextsDOCUMENT, the context object of the methodNAME, the custom element name of the element being registeredFUNCTION, the custom element constructor function, optional