Auto merge of #8247 - Ms2ger:assert, r=jdm
Auto merge of #8247 - Ms2ger:assert, r=jdm

Add thread assertions to js.rs.



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

szeged/servo,larsbergstrom/servo,thiagopnts/servo,paulrouget/servo,DominoTree/servo,jimberlage/servo,dsandeephegde/servo,ConnorGBrewster/servo,anthgur/servo,emilio/servo,jimberlage/servo,nnethercote/servo,anthgur/servo,saneyuki/servo,paulrouget/servo,peterjoel/servo,steveklabnik/servo,KiChjang/servo,avadacatavra/servo,nrc/servo,thiagopnts/servo,anthgur/servo,jimberlage/servo,sadmansk/servo,cbrewster/servo,dati91/servo,jimberlage/servo,sadmansk/servo,SimonSapin/servo,ConnorGBrewster/servo,fiji-flo/servo,mbrubeck/servo,canaltinova/servo,steveklabnik/servo,mattnenterprise/servo,DominoTree/servo,emilio/servo,emilio/servo,peterjoel/servo,emilio/servo,mattnenterprise/servo,fiji-flo/servo,splav/servo,mattnenterprise/servo,CJ8664/servo,SimonSapin/servo,splav/servo,mbrubeck/servo,paulrouget/servo,paulrouget/servo,peterjoel/servo,pyfisch/servo,szeged/servo,nrc/servo,pyfisch/servo,dsandeephegde/servo,avadacatavra/servo,canaltinova/servo,saneyuki/servo,nrc/servo,CJ8664/servo,ConnorGBrewster/servo,KiChjang/servo,dati91/servo,jimberlage/servo,upsuper/servo,pyfisch/servo,dati91/servo,paulrouget/servo,thiagopnts/servo,cbrewster/servo,sadmansk/servo,pyfisch/servo,thiagopnts/servo,dsandeephegde/servo,nnethercote/servo,fiji-flo/servo,saneyuki/servo,rnestler/servo,nnethercote/servo,larsbergstrom/servo,rnestler/servo,CJ8664/servo,DominoTree/servo,SimonSapin/servo,canaltinova/servo,cbrewster/servo,ConnorGBrewster/servo,sadmansk/servo,CJ8664/servo,peterjoel/servo,szeged/servo,rnestler/servo,mbrubeck/servo,pyfisch/servo,splav/servo,avadacatavra/servo,sadmansk/servo,notriddle/servo,saneyuki/servo,DominoTree/servo,DominoTree/servo,avadacatavra/servo,pyfisch/servo,emilio/servo,dsandeephegde/servo,saneyuki/servo,larsbergstrom/servo,KiChjang/servo,nnethercote/servo,peterjoel/servo,SimonSapin/servo,mbrubeck/servo,steveklabnik/servo,canaltinova/servo,nnethercote/servo,mattnenterprise/servo,eddyb/servo,dati91/servo,upsuper/servo,jimberlage/servo,DominoTree/servo,larsbergstrom/servo,szeged/servo,fiji-flo/servo,mattnenterprise/servo,KiChjang/servo,peterjoel/servo,rnestler/servo,cbrewster/servo,splav/servo,pyfisch/servo,avadacatavra/servo,mbrubeck/servo,rnestler/servo,sadmansk/servo,peterjoel/servo,fiji-flo/servo,mbrubeck/servo,fiji-flo/servo,pyfisch/servo,SimonSapin/servo,splav/servo,saneyuki/servo,steveklabnik/servo,eddyb/servo,sadmansk/servo,saneyuki/servo,avadacatavra/servo,paulrouget/servo,notriddle/servo,larsbergstrom/servo,KiChjang/servo,szeged/servo,SimonSapin/servo,SimonSapin/servo,avadacatavra/servo,canaltinova/servo,steveklabnik/servo,upsuper/servo,saneyuki/servo,eddyb/servo,notriddle/servo,upsuper/servo,anthgur/servo,CJ8664/servo,szeged/servo,nnethercote/servo,upsuper/servo,eddyb/servo,canaltinova/servo,splav/servo,cbrewster/servo,eddyb/servo,cbrewster/servo,thiagopnts/servo,szeged/servo,cbrewster/servo,szeged/servo,CJ8664/servo,peterjoel/servo,steveklabnik/servo,dsandeephegde/servo,notriddle/servo,canaltinova/servo,anthgur/servo,paulrouget/servo,upsuper/servo,KiChjang/servo,nrc/servo,emilio/servo,nrc/servo,saneyuki/servo,KiChjang/servo,saneyuki/servo,paulrouget/servo,ConnorGBrewster/servo,mbrubeck/servo,larsbergstrom/servo,pyfisch/servo,larsbergstrom/servo,dsandeephegde/servo,nnethercote/servo,DominoTree/servo,thiagopnts/servo,nnethercote/servo,nrc/servo,DominoTree/servo,mbrubeck/servo,thiagopnts/servo,thiagopnts/servo,dsandeephegde/servo,notriddle/servo,larsbergstrom/servo,rnestler/servo,canaltinova/servo,jimberlage/servo,splav/servo,KiChjang/servo,nnethercote/servo,paulrouget/servo,dati91/servo,notriddle/servo,jimberlage/servo,eddyb/servo,anthgur/servo,avadacatavra/servo,nrc/servo,jimberlage/servo,mattnenterprise/servo,mattnenterprise/servo,notriddle/servo,peterjoel/servo,emilio/servo,upsuper/servo,larsbergstrom/servo,sadmansk/servo,splav/servo,nnethercote/servo,notriddle/servo,eddyb/servo,ConnorGBrewster/servo,pyfisch/servo,dati91/servo,cbrewster/servo,ConnorGBrewster/servo,anthgur/servo,emilio/servo,steveklabnik/servo,CJ8664/servo,dsandeephegde/servo,rnestler/servo,larsbergstrom/servo,DominoTree/servo,eddyb/servo,notriddle/servo,CJ8664/servo,szeged/servo,emilio/servo,notriddle/servo,fiji-flo/servo,upsuper/servo,dati91/servo,splav/servo,fiji-flo/servo,szeged/servo,rnestler/servo,peterjoel/servo,anthgur/servo,dati91/servo,ConnorGBrewster/servo,emilio/servo,SimonSapin/servo,KiChjang/servo,paulrouget/servo,mattnenterprise/servo,splav/servo,KiChjang/servo,DominoTree/servo