mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision d04c0d50dbbf7752c27957005a5a659701b781ad
This commit is contained in:
parent
ff58cb0a3f
commit
44c252aede
56 changed files with 1921 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue