mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 614fd870e47c9f4e76291e5af4e32b676c0acac0
This commit is contained in:
parent
063bd7ac19
commit
b49ffaa0f7
137 changed files with 4756 additions and 721 deletions
|
@ -4,7 +4,7 @@ import os
|
|||
from six import BytesIO
|
||||
|
||||
def rel_path_to_url(rel_path, url_base="/"):
|
||||
assert not os.path.isabs(rel_path)
|
||||
assert not os.path.isabs(rel_path), rel_path
|
||||
if url_base[0] != "/":
|
||||
url_base = "/" + url_base
|
||||
if url_base[-1] != "/":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue