Financial-Times/polyfill-service — pull request #172 by triblondon (2014-11-12 12:34:14+00:00)
Title: Fix failing tests in matches and closest by tolerating failure to throw an expected exception from queryselector

@jonathantneal you and I were discussing matches and closest yesterday on IM, and I've done a bit more poking. I don't think the issue is IE not passing throws up the chain, I think the issue is that the underlying querySelector is not throwing in the first place.

If you add a test to the querySelector to check that a SyntaxError is thrown when an invalid selector is used, that test fails. I'd added it and disabled it with an explanation, and disabled the matches and closest tests. Can you review?