[XMLHttpRequest-tests] Only prefix url with resources/ if not in a worker context (#976)

Workers base url is already in the resources directory, so you resolve the url
incorrectly if it is prefixed with "resources/".

Good news, this gets the test passing in Gecko, Blink and Safari.

Closes #975

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

Received on Thursday, 8 May 2014 23:32:56 UTC