The IsFromCache branch in nsPrefetchNode::OnStartRequest forced the load event unconditionally, overriding the tainting-based decision. Only force it when the channel status is success, so a failed CORS check still fires error. Differential Revision: https://phabricator.services.mozilla.com/D309369