Bug 1230428 - Part 2. Add crashtest. r=eeejay
☠☠ backed out by a5fa1e187b98 ☠ ☠
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Thu, 10 Dec 2015 13:46:46 -0500
changeset 276105 5a889d2cc25ba685416703862652097239038383
parent 276104 f75a98aa4ef04966d2064bda531c9c1ddb494e7c
child 276106 22f7f38e9a4f8d7f7a06ba7780c15e45876840a4
push id69042
push userm_kato@ga2.so-net.ne.jp
push dateThu, 10 Dec 2015 18:48:21 +0000
treeherdermozilla-inbound@5a889d2cc25b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseeejay
bugs1230428
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1230428 - Part 2. Add crashtest. r=eeejay
dom/media/webspeech/synth/crashtests/1230428.html
dom/media/webspeech/synth/crashtests/crashtests.list
testing/crashtest/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/webspeech/synth/crashtests/1230428.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<meta charset="utf-8">
+<script type="application/javascript">
+function f()
+{
+  var s = new SpeechSynthesisUtterance("hello world");
+  s.onend = function() {
+    document.documentElement.removeAttribute('class');
+  };
+  speechSynthesis.speak(s);
+  speechSynthesis.cancel();
+  speechSynthesis.pause();
+  speechSynthesis.resume();
+}
+  </script>
+</head>
+<body onload="f();">
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/dom/media/webspeech/synth/crashtests/crashtests.list
@@ -0,0 +1,1 @@
+skip-if(Android||gtkWidget||B2G) pref(media.webspeech.synth.enabled,true) load 1230428.html
--- a/testing/crashtest/crashtests.list
+++ b/testing/crashtest/crashtests.list
@@ -14,16 +14,17 @@ include ../../dom/canvas/crashtests/cras
 include ../../dom/events/crashtests/crashtests.list
 include ../../dom/html/crashtests/crashtests.list
 include ../../dom/indexedDB/crashtests/crashtests.list
 include ../../dom/jsurl/crashtests/crashtests.list
 include ../../dom/mathml/crashtests/crashtests.list
 include ../../dom/media/mediasource/test/crashtests/crashtests.list
 include ../../dom/media/test/crashtests/crashtests.list
 skip-if(!webrtc) include ../../dom/media/tests/crashtests/crashtests.list
+include ../../dom/media/webspeech/synth/crashtests/crashtests.list
 include ../../dom/offline/crashtests/crashtests.list
 include ../../dom/plugins/test/crashtests/crashtests.list
 include ../../dom/smil/crashtests/crashtests.list
 include ../../dom/svg/crashtests/crashtests.list
 include ../../dom/workers/test/crashtests/crashtests.list
 include ../../dom/xbl/crashtests/crashtests.list
 include ../../dom/xml/crashtests/crashtests.list
 include ../../dom/xslt/crashtests/crashtests.list