[ServiceWorker] Use SyntaxError when an URL can't be parsed in Clients.openWindow() (#619)

A lot of specifications uses SyntaxError for that purpose. The only ones that don't are URL and Fetch. I still do not understand why we want to move all errors to TypeError. Meaningful error are for the best.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/619

Received on Wednesday, 11 February 2015 11:32:04 UTC