I have looked into this fully and we have met the original requirements for using this code on Web-platform-tests. StackOverflow code is cc-wiki + attribution for full programs but excerpts should just have attribution which all of StackOverflow falls under (see [Jeff Atwoods thoughts](http://meta.stackoverflow.com/questions/25956/what-is-up-with-the-source-code-license-on-stack-overflow) on the matter.)

This means we should have a link to http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html here as well since its come from there. A link will satisfy the W3C licencing rules