Fix output summary error of tools/runner/runner.js when the Status of last test tested is not 'PASS'
with the Subtest Pass Rate of last test being 'x/y' (the value of y is larger than 1).
Fix the bug of generating reftest by checking the value of 'rel' attribute of the 'link' element
whether equals "match" or "mismatch".
Uniq the reftest.
Add test for EventSource#url in url query encoding testsuite
evaluate assertions immediately after xhr.abort()

Anne has made a good point that it's more appropriate to perform assertions here, rather than in
one of the other event listeners, because XMLHttpRequest#abort() should be synchronous, and the
abort and loadend events are dispatched synchronously.

So, this simplifies the test and avoids relying on setTimeout(), which is nice, and potentially
avoids missing assertions in non-compliant browsers.
Merge pull request #968 from caitp/xhr-abort-events-noncompliance

evaluate assertions immediately after xhr.abort()
Remove tabs from microdata tests.
Change urls for microdata tests to prevent any access to external sites (example.*)

URLs in the document body will be changed when Mozilla are no longer using the
test on old infrastructure that doesn't support url substitutions.
Fix a broken test name
Merge pull request #972 from w3c/jgraham/microdata_no_external_urls

Stop microdata tests trying to resolve example.org urls
Test should be for compliance with actual spec

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.
Only prefix url with resources/ if not in a worker context

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
Add a lint tool for checking common errors.
Fix a bunch of uses of windows-style line endings.
Add travis integration for lint.
Remove debug code
Move some template parsing tests to the parsing folder.
Make lint work from random directories.
Remove some duplication in test names.
Fix return code and printing of messages.