mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5
This commit is contained in:
parent
f60598909a
commit
b97474fbba
236 changed files with 4817 additions and 893 deletions
|
@ -70,20 +70,20 @@ def main(request, response):
|
|||
if content_type == "image/png":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"images",
|
||||
"smiley.png")).read()
|
||||
"smiley.png"), "rb").read()
|
||||
elif content_type == "audio/mpeg":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"media",
|
||||
"sound_5.oga")).read()
|
||||
"sound_5.oga"), "rb").read()
|
||||
elif content_type == "video/mp4":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"media",
|
||||
"movie_5.mp4")).read()
|
||||
"movie_5.mp4"), "rb").read()
|
||||
elif content_type == "application/javascript":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"mixed-content",
|
||||
"generic",
|
||||
"worker.js")).read()
|
||||
"worker.js"), "rb").read()
|
||||
else:
|
||||
response_data = "/* purged */"
|
||||
elif action == "take":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue