summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1306476.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/media/tests/crashtests/1306476.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/dom/media/tests/crashtests/1306476.html b/dom/media/tests/crashtests/1306476.html
new file mode 100644
index 0000000000..d15cbe57df
--- /dev/null
+++ b/dom/media/tests/crashtests/1306476.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+ <meta charset=utf-8>
+ <title>Bug 1348381: Integer overflow playing vorbis file</title>
+</head>
+<body>
+ <audio id=player controls
+ src="data:audio/ogg;base64,T2dnUwACAAAAAAAAAAD+ML0RAAAAACtaCMoBHgF2b3JiaXMAAAAAAkSsAAAAAAAAAHECAAAAAAC4AU9nZ1MAAAAAAAAAAAAA/jC9EQEAAACZyDL8E/8a/////////////////////5EDdm9yYmlzLQAAAFhpcGguT3JnIGxpYlZvcmJpcyBJIDIwMTAxMTAxIChTY2hhdWZlbnVnZ2V0KRAAAAAbAAAARU5DT0RFUj1Ib29rRmxhc2hPZ2dFbmNvZGVyBwAAAFRJVExFPWYIAAAAVkVSU0lPTj0HAAAAQUxCVU09YQwAAABUUkFDS05VTUJFUj0IAAAAQVJUSVNUPWEKAAAAUEVSRk9STUVSPQoAAABDT1BZUklHSFQ9CAAAAExJQ0VOU0U9DQAAAE9SR0FOSVpBVElPTj0MAAAAREVTQ1JJUFRJT049BgAAAEdFTlJFPQUAAABEQVRFPQoAAABMT0NBVElPTj1mCAAAAENPTlRBQ1Q9BQAAAElTUkM9AQV2b3JiaXMpQkNWAQAIAAAAMUwgxYDQkFUAABAAAGAkKQ6TZkkppZShKHmYlEhJKaWUxTCJmJSJxRhjjDHGGGOMMcYYY4wgNGQVAAAEAIAoCY6j5klqzjlnGCeOcqA5aU44pyAHilHgOQnC9SZjbqa0pmtuziklCA1ZBQAAAgBASCGFFFJIIYUUYoghhhhiiCGHHHLIIaeccgoqq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klUysipXSa3rN2Q2OSE3S26wfm/IPfeEzE3n5vszm3vI/QJwkk29k8w=">
+ </audio>
+ <div id=result>
+ </div>
+
+ <script type="application/javascript">
+ function done() {
+ // Remove reftest-wait to terminate the test.
+ document.documentElement.removeAttribute("class");
+ }
+
+ function log(msg) {
+ // Append a status result.
+ let p = document.createElement("p");
+ p.textContent = msg;
+ document.getElementById("result").appendChild(p);
+ }
+
+ // Confirm playback completes.
+ let a = document.getElementById("player");
+ a.addEventListener("ended", () => {
+ log("Playback completed.");
+ done();
+ });
+ a.addEventListener("error", () => {
+ log("Playback error.");
+ });
+
+ log("Starting playback...");
+ a.play();
+
+ // Set a short timeout in case we hang.
+ setTimeout(() => {
+ log("Timed out!");
+ done();
+ }, 100);
+ </script>
+</body>
+</html>