Index: third_party/WebKit/LayoutTests/media/sources-fallback-codecs.html |
diff --git a/third_party/WebKit/LayoutTests/media/sources-fallback-codecs.html b/third_party/WebKit/LayoutTests/media/sources-fallback-codecs.html |
index 03bc6774acfc475e02636a508951c6df43b8a922..6ffa741f6b9348a154b109da0aee2bed01280f38 100644 |
--- a/third_party/WebKit/LayoutTests/media/sources-fallback-codecs.html |
+++ b/third_party/WebKit/LayoutTests/media/sources-fallback-codecs.html |
@@ -1,263 +1,45 @@ |
<!DOCTYPE html> |
-<html> |
- <head> |
- <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
- (Please avoid writing new tests using video-test.js) --> |
- <script src=video-test.js></script> |
- <script> |
- var canPlayThroughCount = 0; |
- function onCanPlayThrough() { |
- if (++canPlayThroughCount == document.getElementsByTagName('video').length + document.getElementsByTagName('audio').length) { |
- endTest(); |
- return; |
- } |
- } |
- function onError(e) { |
- var type = e.target.type; |
- if (!type) { |
- var src = e.target.src; |
- var semicolon; |
- if ((src.substr(0,5) == "data:") && ((semicolon = src.substr(5).indexOf(';')) > 0)) |
- type = src.substr(5).substr(0, semicolon); |
- if (!type) { |
- failTest("Couldn't find type"); |
- return; |
- } |
- } |
- |
- if (e.target.tagName == 'SOURCE' && !e.target.parentNode.canPlayType(type)) { |
- // Expected error; ignore. |
- return; |
- } |
- var id = (e.target.tagName == 'SOURCE' ? e.target.parentNode.id : e.target.id); |
- failTest("tag: " + e.target.tagName + ", id: " + id + ", src: " + e.target.src); |
- } |
- </script> |
- </head> |
- <body> |
- Test that fallback among codecs is done correctly regardless of their order. |
- <!-- This could be made far more general, testing all permutations of |
- (audio|video)Codecs and so on, but in reality we only have these 4 |
- test files, so simply enumerating them manually and testing they |
- all hit canplaythrough is good enough. Someday when many more |
- files are present, consider generalizing this. |
- --> |
- |
- <video id='v1' controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'> |
- <source onerror='onError(event)' type="video/mp4" src="content/test.mp4"/> |
- <source onerror='onError(event)' type="video/ogg" src="content/test.ogv"/> |
- </video> |
- |
- <video id='v2' controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'> |
- <source onerror='onError(event)' type="video/ogg" src="content/test.ogv"/> |
- <source onerror='onError(event)' type="video/mp4" src="content/test.mp4"/> |
- </video> |
- |
- <audio id='a1' controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'> |
- <source onerror='onError(event)' type="audio/wav" src="content/test.wav"/> |
- <source onerror='onError(event)' type="audio/ogg" src="content/test.oga"/> |
- </audio> |
- |
- <audio id='a2' controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'> |
- <source onerror='onError(event)' type="audio/ogg" src="content/test.oga"/> |
- <source onerror='onError(event)' type="audio/wav" src="content/test.wav"/> |
- </audio> |
- |
- <!-- The base64'd data below was generated from the corresponding content/test.{mp4,ogv} files with: |
- rm -f test-frame.ogv test-frame.mp4 && \ |
- ~/tmp/ffmpeg/ffmpeg -i test.mp4 -an -vframes 1 test-frame.png && \ |
- pngtopnm test-frame.png > test-frame.pnm && pnmscale 0.25 test-frame.pnm|pnmtopng > test-frame.png && \ |
- ~/tmp/ffmpeg/ffmpeg -i test-frame.png -an -vframes 1 -s 80x60 test-frame.mp4 && \ |
- ffmpeg2theora test-frame.mp4 -o test-frame.ogv && rm test-frame.png test-frame.pnm |
- Followed by [base64 -w 120 test-frame.ogv] and [base64 -w 120 test-frame.mp4]. |
- --> |
- <video id="v3" controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'> |
- <source onerror='onError(event)' |
- src="data:video/mp4;base64, |
-AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAHuG1kYXQAAAGzABAHAAABthBgdgpU4Bg8SyD1tWXqqBr13UzOZBxmb/64MV3Y2OWRzRBZ |
-vxztjdtC0aswA4S201VqgQ/Np60Xf8OUmDifBg+95svvk+lsTg4EMuv6x9WzQbpfFfpARTAuyg4uzeDkGWlUS9HIed50tZ6pNjlvoEfjd6hclYB4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K8RYGDCXYRMY |
-qVpiJEi6iqzlnq91PbMvN7rqyqfI2QlKUpAgQIcDeBvA3afsV8/MqBxcDH6z8DKVq+fDeHyLb9bk1SlLLSZV5sj6vR9c+ZoSzmUe7nFIY77Io1uY7TGlp67W |
-1xSRjyffmuz+ZZnIo6iK81o5jPqjLad2pJVNlxcrFNTU1NxMGZmYZLw9FOO1MMyzMZOXW2i5f+SZOTWvXrxbvWtF9F/qpM8k7VWZ1srpVdmc/rNt5671q/4o |
-aPLioDn63vKe+3TsR1QdT3cbbX29dJhFWxGfPji8uow/RvEdxN26QXd3d3dmltxmvn9xX41q7lJ+EyZMmTJk5d7e2lt4T80idGzp5p4ZOwcwt9MfSg2px6rr |
-OjC7dunTLPnPm37py9tZjaU10a2lujlPd5ZYZbWZmZmYa7t76epZjI6IyFSpUiRI6tO81MJ+FSshXxUNo2qCYteb6DTfQ7eWHcYqrx8q3N+WmphpSJJJJM/j |
-1au8t2/m25K9evXr169fcx23mLqG6yrVvctNSdG9PTPz32j10DtUeJJJCiPs2L3slpLcg3LLLJJJQaTfR9IalPOLMvdptttts9C1Q35jwWm306Lp06dOnTp0 |
-aWtuFpwSSSSHPcIguQA="/> |
- </video> |
- |
- <video id="v4" controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'> |
- <source onerror='onError(event)' |
- src="data:video/ogg;base64, |
-T2dnUwACAAAAAAAAAABDt3UdAAAAAG1FPOwBQGZpc2hlYWQAAwAAAAAAAAAAAAAA6AMAAAAAAAAAAAAAAAAAAOgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
-AABPZ2dTAAIAAAAAAAAAAKK34ysAAAAAwlsClQEqgHRoZW9yYQMCAQAFAAQAAFAAADwABAAAABkAAAABAAABAAABAgAAAIDAT2dnUwAAAAAAAAAAAABDt3Ud |
-AQAAAFp3fKUBUGZpc2JvbmUALAAAAKK34ysDAAAAGQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAYAAABDb250ZW50LVR5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O7wQfAz3YR//ArgZPYDA4O/j0JZ8SBCyNGQJAoyBIGM3Nszg65 |
-/dg9KU0ZAssfyut/18FfOYHejZoiN64XH3AV8+A+MZAbifeO46k45f/YwcgIrj/v0lKe/O7777/urfwDuRL4vnLC2W8VNKmlTXI85zhb9Tzg5Pq3b4MHGJys |
-A0vsJbIsiyLIsEXpf8Fvh9ve5rMuDmsFkgjCv6z0V/RCArnWZw2pL3cs2uKgHydecWhDe3OxQXkRfRz3haf8V7+0/u7FiQDyfSCDxnf/uIhzK8RYGDCXYRMY |
-qVpiJEi6iqzlnq91PbMvN7rqyqfI2QlKUpAgQIcDeBvA3afsV8/MqBxcDH6z8DKVq+fDeHyLb9bk1SlLLSZV5sj6vR9c+ZoSzmUe7nFIY77Io1uY7TGlp67W |
-1xSRjyffmuz+ZZnIo6iK81o5jPqjLad2pJVNlxcrFNTU1NxMGZmYZLw9FOO1MMyzMZOXW2i5f+SZOTWvXrxbvWtF9F/qpM8k7VWZ1srpVdmc/rNt5671q/4o |
-aPLioDn63vKe+3TsR1QdT3cbbX29dJhFWxGfPji8uow/RvEdxN26QXd3d3dmltxmvn9xX41q7lJ+EyZMmTJk5d7e2lt4T80idGzp5p4ZOwcwt9MfSg2px6rr |
-OjC7dunTLPnPm37py9tZjaU10a2lujlPd5ZYZbWZmZmYa7t76epZjI6IyFSpUiRI6tO81MJ+FSshXxUNo2qCYteb6DTfQ7eWHcYqrx8q3N+WmphpSJJJJM/j |
-1au8t2/m25K9evXr169fcx23mLqG6yrVvctNSdG9PTPz32j10DtUeJJJCiPs2L3slpLcg3LLLJJJQaTfR9IalPOLMvdptttts9C1Q35jwWm306Lp06dOnTp0 |
-aWtuFpwSSSSHPcIguQA="/> |
- <source onerror='onError(event)' |
- src="data:video/mp4;base64, |
-AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAHuG1kYXQAAAGzABAHAAABthBgdgpU4Bg8SyD1tWXqqBr13UzOZBxmb/64MV3Y2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XN0c2QA |
-AAAAAAAAAQAAALVtcDR2AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAFAAPABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
-GP//AAAAX2VzZHMAAAAAA4CAgE4AAQAEgICAQCARAAAAAAYBgAAGAYAFgICALgAAAbABAAABtYkTAAABAAAAASAAxI2IAM0ChAeUQwAAAbJMYXZjNTQuMS4x |
-MDAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAHsAAAAAEAAAAUc3RjbwAA |
-AAAAAAABAAAALAAAAGF1ZHRhAAAAWW1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALGlsc3QAAAAkqXRvbwAAABxkYXRhAAAA |
-AQAAAABMYXZmNTQuMC4xMDA="/> |
- </video> |
- |
- </body> |
-</html> |
+<title>Test that fallback among codecs is done correctly regardless of their order.</title> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script> |
+// This could be made far more general, testing all permutations of |
+// (audio|video)Codecs and so on, but in reality we only have these 4 |
+// test files, so simply enumerating them manually and testing they |
+// all hit canplaythrough is good enough. Someday when many more |
+// files are present, consider generalizing this. |
+ |
+// The base64'd data below was generated from the corresponding content/test.{mp4,ogv}files with: |
+// rm -f test-frame.ogv test-frame.mp4 and |
+// ~/tmp/ffmpeg/ffmpeg -i test.mp4 -an -vframes 1 test-frame.png and |
+// pngtopnm test-frame.png > test-frame.pnm && pnmscale 0.25 test-frame.pnm|pnmtopng > test-frame.png and |
+// ~/tmp/ffmpeg/ffmpeg -i test-frame.png -an -vframes 1 -s 80x60 test-frame.mp4 and |
+// ffmpeg2theora test-frame.mp4 -o test-frame.ogv && rm test-frame.png test-frame.pnm |
+// Followed by [base64 -w 120 test-frame.ogv] and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YRMYqVpiJEi6iqzlnq91PbMvN7rqyqfI2QlKUpAgQIcDeBvA3afsV8/MqBxcDH6z8DKVq+fDeHyLb9bk1SlLLSZV5sj6vR9c+ZoSzmUe7nFIY77Io1uY7TGlp67W1xSRjyffmuz+ZZnIo6iK81o5jPqjLad2pJVNlxcrFNTU1NxMGZmYZLw9FOO1MMyzMZOXW2i5f+SZOTWvXrxbvWtF9F/qpM8k7VWZ1srpVdmc/rNt5671q/4oaPLioDn63vKe+3TsR1QdT3cbbX29dJhFWxGfPji8uow/RvEdxN26QXd3d3dmltxmvn9xX41q7lJ+EyZMmTJk5d7e2lt4T80idGzp5p4ZOwcwt9MfSg2px6rrOjC7dunTLPnPm37py9tZjaU10a2lujlPd5ZYZbWZmZmYa7t76epZjI6IyFSpUiRI6tO81MJ+FSshXxUNo2qCYteb6DTfQ7eWHcYqrx8q3N+WmphpSJJJJM/j1au8t2/m25K9evXr169fcx23mLqG6yrVvctNSdG9PTPz32j10DtUeJJJCiPs2L3slpLcg3LLLJJJQaTfR9IalPOLMvdptttts9C1Q35jwWm306Lp06dOnTp0aWtuFpwSSSSHPcIguQA="; |
+ |
+var testInfo = [ |
+ { element: "video", typeArray: ["video/mp4", "video/ogg"], srcArray: ["content/test.mp4", "content/test.ogv"], description: "Test video with ['video/mp4', 'video/ogg']" }, |
+ { element: "video", typeArray: ["video/ogg", "video/mp4"], srcArray: ["content/test.ogv", "content/test.mp4"], description: "Test video with ['video/ogg', 'video/mp4']" }, |
+ { element: "audio", typeArray: ["audio/wav", "audio/ogg"], srcArray: ["content/test.wav", "content/test.oga"], description: "Test audio with ['audio/wav', 'audio/ogg']" }, |
+ { element: "audio", typeArray: ["audio/ogg", "audio/wav"], srcArray: ["content/test.oga", "content/test.wav"], description: "Test audio with ['audio/ogg', 'audio/wav']" }, |
+ { element: "video", srcArray: [mp4DataSrc, ogvDataSrc], description: "Test video with ['data:video/mp4;base64', 'data:video/ogg;base64']" }, |
+ { element: "video", srcArray: [ogvDataSrc, mp4DataSrc], description: "Test video with ['data:video/ogg;base64', 'data:video/mp4;base64']" } |
+]; |
+ |
+testInfo.forEach(function(test) { |
+ async_test(function(t) { |
+ var media = document.createElement(test.element); |
+ for (var i = 0; i < test.srcArray.length; i++) { |
+ var source = document.createElement("source"); |
+ if (test.typeArray) |
+ source.type = test.typeArray[i]; |
+ source.src = test.srcArray[i]; |
+ media.appendChild(source); |
+ } |
+ media.oncanplaythrough = t.step_func_done(); |
+ }, test.description); |
+}); |
+</script> |