mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 14cfa4d648cc1c853b4153268df672d21425f8c1
This commit is contained in:
parent
1b73cf3352
commit
75736751d9
1213 changed files with 19434 additions and 12344 deletions
|
@ -71,14 +71,13 @@ def main(request, response):
|
|||
response_data = open(os.path.join(request.doc_root,
|
||||
"images",
|
||||
"smiley.png"), "rb").read()
|
||||
elif content_type == "audio/mpeg":
|
||||
elif content_type == "audio/wav":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"webaudio", "resources", "sin_440Hz_-6dBFS_1s.wav"), "rb").read()
|
||||
elif content_type == "video/ogg":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"media",
|
||||
"sound_5.oga"), "rb").read()
|
||||
elif content_type == "video/mp4":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"media",
|
||||
"movie_5.mp4"), "rb").read()
|
||||
"movie_5.ogv"), "rb").read()
|
||||
elif content_type == "application/javascript":
|
||||
response_data = open(os.path.join(request.doc_root,
|
||||
"mixed-content",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue