In cases where this API is used by custom elements, different subclasses may want to add a different stylesheet to adoptedStyleSheets. In that case, it's better to have explicit add and remove methods rather than to have author scripts manipulate FrozenArray.
In cases where this API is used by custom elements, different subclasses may want to add a different stylesheet to
adoptedStyleSheets. In that case, it's better to have explicitaddandremovemethods rather than to have author scripts manipulateFrozenArray.