[XMLHttpRequest-tests] Test should be for compliance with actual spec (#973)

Though the specification may change in the future, the current literature says to throw a SyntaxError here.

Since these tests verify that a user agent complies with the actual literature, and not a proposed future literature, it is appropriate to assert that the thrown assertion is a SyntaxError rather than a TypeError, for the time being.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/973

Received on Thursday, 8 May 2014 19:38:03 UTC