Bug 895557, follow the spec when doing fragment navigation during page loads, r=bz

--HG--
extra : rebase_source : 4edc21fada3dd6a462522e8483191000b5ca1fd8
Bug 895557, follow the spec when doing fragment navigation during page loads, enable test

--HG--
extra : rebase_source : ed08041d6ff4b53da32d6a7a73fcc9ad7b5e8958
Automatic merge