04-21-2015, 04:26 AM
My specific use-case is somewhat moot until HTTP/2 support arrives but I recently found myself wishing that the scripting support included the ability to override the URL protocol so you could test the effects of upgrading a site from HTTP to HTTPS.
The simplest way to implement this might be something along the lines ofbut that seems like it'd be hard to do without impacting performance. Currently I'm testing this by preseeding the HSTS list but that doesn't appear to be possible on Chrome since they removed thecommand-line flag.[/code]
The simplest way to implement this might be something along the lines of