Many of these setters are redundant, and duplicate work done elsewhere. As it is no longer correct to set nsILoadContext attributes at these times, they're being replaced with assertions. Differential Revision: https://phabricator.services.mozilla.com/D67047