Bug 1560215 - Add crashtest. r=padenot
authorAndreas Pehrson <apehrson@mozilla.com>
Tue, 02 Jul 2019 11:33:14 +0000
changeset 543778 c66b92abbb53e007868ec7456a76d4726993abe6
parent 543777 45ec728e832ce110220c75a83298abc59a8a1c61
child 543779 44341752990fa3534e9d5e5affb2c75c00eb0ad6
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1560215
milestone69.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 1560215 - Add crashtest. r=padenot Differential Revision: https://phabricator.services.mozilla.com/D36508
dom/media/test/crashtests/1560215.html
dom/media/test/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/test/crashtests/1560215.html
@@ -0,0 +1,19 @@
+<html class="reftest-wait">
+<head>
+    <script>
+      async function start () {
+        const canvas = document.createElement('canvas')
+        const context = canvas.getContext('2d')
+        context.scale(64, 64)
+        const recorder = new MediaRecorder(
+          canvas.captureStream(), { videoBitsPerSecond: 16 })
+        recorder.start(100)
+        await new Promise(r => recorder.onstart = r)
+        recorder.pause()
+        document.documentElement.removeAttribute("class")
+      }
+
+      window.addEventListener('load', start)
+    </script>
+</head>
+</html>
--- a/dom/media/test/crashtests/crashtests.list
+++ b/dom/media/test/crashtests/crashtests.list
@@ -121,9 +121,10 @@ skip-if(Android) load 1526044.html # Bug
 skip-if(Android&&AndroidVersion<21) load encrypted-track-with-bad-sample-description-index.mp4 # Bug 1533211, unkip after bug 1550912
 load encrypted-track-without-tenc.mp4 # Bug 1533215
 load encrypted-track-with-sample-missing-cenc-aux.mp4 # Bug 1533625
 load 1533909.html
 load 1538727.html
 load empty-samples.webm # Bug 1540580
 test-pref(media.autoplay.block-webaudio,false) load 1545133.html
 load track-with-zero-dimensions.mp4 # Bug 1542539
+load 1560215.html
 load 1547899.html