This API is no longer possible to implement, as it will always try to set the OriginAttributes on a content BrowsingContext after it has been attached, and JS can never observe a detached BrowsingContext. Users of this API are instead changed to perform assertions that originAttributes have already been set correctly. Differential Revision: https://phabricator.services.mozilla.com/D67046