Bug 1020041 - Host limit in nsStandardURL. r=jduell, r=valentin, a=1.4+

--HG--
rename : dom/base/test/test_url_empty_port.html => dom/base/test/test_url_malformedHost.html
Bug 1020226 - Fix unhandled Promise rejection handling in workers. r=khuey, a=Preeti