Just to make sure we're on the same page: you're considering eg. the <script src="ipfs://deadbeef/jquery.js"> case, right? That wouldn't hit an SOP wall over HTTP so I don't think that it needs to be treated differently over IPFS?
♥ 2