Auto merge of #6793 - notriddle:hsts-preload, r=jdm
Auto merge of #6793 - notriddle:hsts-preload, r=jdm

Add basic unit test for `preload_hsts_domains`.

Closes #6789.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6793)
<!-- Reviewable:end -->

pyecs/servo,rentongzhang/servo,wartman4404/servo,boghison/servo,j3parker/servo,nerith/servo,jimberlage/servo,meh/servo,rentongzhang/servo,caldwell/servo,rentongzhang/servo,RenaudParis/servo,CJ8664/servo,huonw/servo,j3parker/servo,notriddle/servo,notriddle/servo,nrc/servo,GyrosOfWar/servo,dhananjay92/servo,s142857/servo,walac/servo,dsandeephegde/servo,aidanhs/servo,avadacatavra/servo,saneyuki/servo,huonw/servo,szeged/servo,GyrosOfWar/servo,steveklabnik/servo,thiagopnts/servo,rentongzhang/servo,thiagopnts/servo,pyecs/servo,vks/servo,RenaudParis/servo,saneyuki/servo,RenaudParis/servo,nick-thompson/servo,avadacatavra/servo,larsbergstrom/servo,upsuper/servo,brendandahl/servo,bjwbell/servo,rnestler/servo,emilio/servo,boghison/servo,nrc/servo,DominoTree/servo,codemac/servo,KiChjang/servo,boghison/servo,mdibaiee/servo,paulrouget/servo,saratang/servo,saratang/servo,WriterOfAlicrow/servo,tempbottle/servo,anthgur/servo,AnthonyBroadCrawford/servo,aweinstock314/servo,emilio/servo,s142857/servo,runarberg/servo,rentongzhang/servo,mbrubeck/servo,akosel/servo,splav/servo,bjwbell/servo,eddyb/servo,vks/servo,dvberkel/servo,mbrubeck/servo,thiagopnts/servo,RenaudParis/servo,jdramani/servo,jdramani/servo,fiji-flo/servo,huonw/servo,nick-thompson/servo,fiji-flo/servo,DominoTree/servo,canaltinova/servo,jdramani/servo,walac/servo,emilio/servo,canaltinova/servo,rnestler/servo,GyrosOfWar/servo,dsandeephegde/servo,saratang/servo,codemac/servo,meh/servo,bjwbell/servo,runarberg/servo,DominoTree/servo,brendandahl/servo,eddyb/servo,dhananjay92/servo,dvberkel/servo,larsbergstrom/servo,kindersung/servo,runarberg/servo,mattnenterprise/servo,splav/servo,tafia/servo,codemac/servo,jimberlage/servo,DominoTree/servo,thiagopnts/servo,thiagopnts/servo,tempbottle/servo,mattnenterprise/servo,brendandahl/servo,sadmansk/servo,mbrubeck/servo,steveklabnik/servo,aweinstock314/servo,dati91/servo,j3parker/servo,saneyuki/servo,jimberlage/servo,peterjoel/servo,mattnenterprise/servo,runarberg/servo,s142857/servo,sadmansk/servo,nick-thompson/servo,A-deLuna/servo,nnethercote/servo,steveklabnik/servo,dagnir/servo,mattnenterprise/servo,jdramani/servo,CJ8664/servo,canaltinova/servo,vks/servo,dvberkel/servo,pyfisch/servo,WriterOfAlicrow/servo,A-deLuna/servo,splav/servo,huonw/servo,kindersung/servo,dagnir/servo,caldwell/servo,jlegendary/servo,dati91/servo,pyfisch/servo,pyfisch/servo,walac/servo,dagnir/servo,eddyb/servo,saneyuki/servo,DominoTree/servo,runarberg/servo,saneyuki/servo,KiChjang/servo,s142857/servo,larsbergstrom/servo,DominoTree/servo,anthgur/servo,cbrewster/servo,RenaudParis/servo,AnthonyBroadCrawford/servo,vks/servo,sadmansk/servo,pyecs/servo,rnestler/servo,SimonSapin/servo,larsbergstrom/servo,dhananjay92/servo,WriterOfAlicrow/servo,sadmansk/servo,SimonSapin/servo,rentongzhang/servo,avadacatavra/servo,youprofit/servo,tafia/servo,mdibaiee/servo,huonw/servo,nerith/servo,pyfisch/servo,boghison/servo,KiChjang/servo,dati91/servo,notriddle/servo,cbrewster/servo,szeged/servo,CJ8664/servo,saneyuki/servo,wartman4404/servo,boghison/servo,tempbottle/servo,youprofit/servo,saratang/servo,canaltinova/servo,s142857/servo,cbrewster/servo,eddyb/servo,saneyuki/servo,dvberkel/servo,emilio/servo,pyfisch/servo,akosel/servo,saratang/servo,zentner-kyle/servo,pyecs/servo,larsbergstrom/servo,upsuper/servo,peterjoel/servo,WriterOfAlicrow/servo,jimberlage/servo,pyfisch/servo,meh/servo,zentner-kyle/servo,KiChjang/servo,A-deLuna/servo,boghison/servo,aweinstock314/servo,nnethercote/servo,jlegendary/servo,peterjoel/servo,mattnenterprise/servo,wartman4404/servo,tempbottle/servo,g-k/servo,KiChjang/servo,aidanhs/servo,nrc/servo,AnthonyBroadCrawford/servo,ConnorGBrewster/servo,nick-thompson/servo,mdibaiee/servo,aweinstock314/servo,KiChjang/servo,j3parker/servo,jimberlage/servo,mbrubeck/servo,g-k/servo,youprofit/servo,anthgur/servo,nrc/servo,emilio/servo,AnthonyBroadCrawford/servo,runarberg/servo,tafia/servo,emilio/servo,jdramani/servo,nnethercote/servo,huonw/servo,sadmansk/servo,caldwell/servo,AnthonyBroadCrawford/servo,avadacatavra/servo,avadacatavra/servo,walac/servo,A-deLuna/servo,thiagopnts/servo,splav/servo,bjwbell/servo,pyecs/servo,eddyb/servo,ConnorGBrewster/servo,anthgur/servo,aidanhs/servo,anthgur/servo,splav/servo,bjwbell/servo,saratang/servo,A-deLuna/servo,mbrubeck/servo,splav/servo,emilio/servo,paulrouget/servo,ConnorGBrewster/servo,fiji-flo/servo,vks/servo,paulrouget/servo,aidanhs/servo,dsandeephegde/servo,notriddle/servo,CJ8664/servo,peterjoel/servo,jimberlage/servo,codemac/servo,meh/servo,KiChjang/servo,canaltinova/servo,splav/servo,nnethercote/servo,AnthonyBroadCrawford/servo,RenaudParis/servo,jdramani/servo,youprofit/servo,kindersung/servo,GyrosOfWar/servo,rnestler/servo,notriddle/servo,akosel/servo,pyecs/servo,g-k/servo,paulrouget/servo,zentner-kyle/servo,jimberlage/servo,nerith/servo,AnthonyBroadCrawford/servo,rnestler/servo,A-deLuna/servo,dsandeephegde/servo,nrc/servo,walac/servo,codemac/servo,kindersung/servo,ConnorGBrewster/servo,larsbergstrom/servo,KiChjang/servo,szeged/servo,cbrewster/servo,sadmansk/servo,vks/servo,paulrouget/servo,kindersung/servo,g-k/servo,avadacatavra/servo,splav/servo,s142857/servo,peterjoel/servo,paulrouget/servo,notriddle/servo,CJ8664/servo,kindersung/servo,bjwbell/servo,aidanhs/servo,steveklabnik/servo,szeged/servo,fiji-flo/servo,peterjoel/servo,nnethercote/servo,jlegendary/servo,SimonSapin/servo,g-k/servo,nerith/servo,dati91/servo,nerith/servo,aweinstock314/servo,mbrubeck/servo,dagnir/servo,peterjoel/servo,dagnir/servo,runarberg/servo,anthgur/servo,mattnenterprise/servo,WriterOfAlicrow/servo,notriddle/servo,walac/servo,s142857/servo,pyfisch/servo,tempbottle/servo,rnestler/servo,upsuper/servo,dati91/servo,dati91/servo,nrc/servo,akosel/servo,saneyuki/servo,bjwbell/servo,boghison/servo,aidanhs/servo,mdibaiee/servo,splav/servo,vks/servo,brendandahl/servo,jdramani/servo,szeged/servo,jlegendary/servo,cbrewster/servo,akosel/servo,dsandeephegde/servo,nnethercote/servo,canaltinova/servo,zentner-kyle/servo,ConnorGBrewster/servo,brendandahl/servo,larsbergstrom/servo,RenaudParis/servo,tafia/servo,larsbergstrom/servo,KiChjang/servo,CJ8664/servo,dvberkel/servo,dhananjay92/servo,notriddle/servo,peterjoel/servo,avadacatavra/servo,mattnenterprise/servo,meh/servo,tafia/servo,dati91/servo,jlegendary/servo,jlegendary/servo,paulrouget/servo,dagnir/servo,peterjoel/servo,larsbergstrom/servo,paulrouget/servo,jimberlage/servo,dvberkel/servo,szeged/servo,dsandeephegde/servo,wartman4404/servo,codemac/servo,saratang/servo,dhananjay92/servo,rnestler/servo,g-k/servo,rnestler/servo,mdibaiee/servo,WriterOfAlicrow/servo,upsuper/servo,zentner-kyle/servo,steveklabnik/servo,j3parker/servo,mbrubeck/servo,nerith/servo,tempbottle/servo,eddyb/servo,DominoTree/servo,dati91/servo,splav/servo,caldwell/servo,thiagopnts/servo,brendandahl/servo,jimberlage/servo,saneyuki/servo,paulrouget/servo,g-k/servo,steveklabnik/servo,wartman4404/servo,cbrewster/servo,dagnir/servo,tafia/servo,fiji-flo/servo,thiagopnts/servo,caldwell/servo,szeged/servo,CJ8664/servo,walac/servo,ConnorGBrewster/servo,GyrosOfWar/servo,youprofit/servo,brendandahl/servo,eddyb/servo,avadacatavra/servo,emilio/servo,SimonSapin/servo,akosel/servo,notriddle/servo,zentner-kyle/servo,GyrosOfWar/servo,SimonSapin/servo,dsandeephegde/servo,pyecs/servo,j3parker/servo,A-deLuna/servo,upsuper/servo,larsbergstrom/servo,sadmansk/servo,nerith/servo,steveklabnik/servo,SimonSapin/servo,paulrouget/servo,SimonSapin/servo,ConnorGBrewster/servo,upsuper/servo,cbrewster/servo,aidanhs/servo,nnethercote/servo,jlegendary/servo,caldwell/servo,pyfisch/servo,wartman4404/servo,upsuper/servo,nnethercote/servo,nick-thompson/servo,tafia/servo,nnethercote/servo,cbrewster/servo,zentner-kyle/servo,nnethercote/servo,szeged/servo,emilio/servo,tempbottle/servo,j3parker/servo,pyfisch/servo,DominoTree/servo,eddyb/servo,nick-thompson/servo,nick-thompson/servo,fiji-flo/servo,youprofit/servo,aweinstock314/servo,KiChjang/servo,notriddle/servo,mbrubeck/servo,pyfisch/servo,szeged/servo,huonw/servo,anthgur/servo,dhananjay92/servo,meh/servo,canaltinova/servo,codemac/servo,WriterOfAlicrow/servo,meh/servo,caldwell/servo,fiji-flo/servo,dhananjay92/servo,anthgur/servo,ConnorGBrewster/servo,SimonSapin/servo,mdibaiee/servo,CJ8664/servo,aweinstock314/servo,nrc/servo,dvberkel/servo,canaltinova/servo,sadmansk/servo,youprofit/servo,mdibaiee/servo,rentongzhang/servo,kindersung/servo,upsuper/servo,GyrosOfWar/servo,szeged/servo,DominoTree/servo,wartman4404/servo,akosel/servo,dsandeephegde/servo,mattnenterprise/servo,DominoTree/servo,saneyuki/servo,emilio/servo,peterjoel/servo,fiji-flo/servo