Update web-platform-tests to revision d04c0d50dbbf7752c27957005a5a659701b781ad

This commit is contained in:
WPT Sync Bot 2018-02-15 20:09:00 -05:00
parent ff58cb0a3f
commit 44c252aede
56 changed files with 1921 additions and 67 deletions

View file

@ -430,7 +430,7 @@ def check_parsed(repo_root, path, f):
for reftest_node in source_file.reftest_nodes:
href = reftest_node.attrib.get("href", "").strip(space_chars)
parts = urlsplit(href)
if parts.scheme or parts.netloc:
if (parts.scheme or parts.netloc) and parts != urlsplit("about:blank"):
errors.append(("ABSOLUTE-URL-REF",
"Reference test with a reference file specified via an absolute URL: '%s'" % href, path, None))
continue