Bug 1185176 - Crashtest. r=karlt, a=ritu
authorPaul Adenot <paul@paul.cx>
Fri, 24 Jul 2015 15:09:18 +0200
changeset 281742 2215ae5f74061f555d4df8d95282544bbfad5509
parent 281741 11446d89a3ad8b4ae50b277394f3616495e1a964
child 281743 da438ed6da6f8417d792e0640b4fcee0e0dfe0db
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt, ritu
bugs1185176
milestone41.0a2
Bug 1185176 - Crashtest. r=karlt, a=ritu
dom/media/test/crashtests/1185176.html
dom/media/test/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/test/crashtests/1185176.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script>
+
+function boom()
+{
+    var ac = new window.AudioContext();
+    var oscillator = ac.createOscillator();
+    oscillator.start(0);
+    oscillator.stop(0.1);
+    setTimeout(function() {
+      oscillator.channelCount = 1;
+      oscillator.channelCountMode = "explicit";
+      oscillator.channelInterpretation = "speakers";
+      document.documentElement.removeAttribute("class");
+    }, 1000);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>
+
--- a/dom/media/test/crashtests/crashtests.list
+++ b/dom/media/test/crashtests/crashtests.list
@@ -76,12 +76,13 @@ load offline-buffer-source-ended-1.html
 load oscillator-ended-1.html
 load oscillator-ended-2.html
 load 1080986.html
 load 1158427.html
 load 1157994.html
 load 1122218.html
 load 1127188.html
 load audiocontext-double-suspend.html
+load 1185176.html
 include ../../mediasource/test/crashtests/crashtests.list
 
 # This needs to run at the end to avoid leaking busted state into other tests.
 skip-if(B2G||winWidget||OSX==1006||OSX==1010&&isDebugBuild) load 691096-1.html