Bug 1594136 - Add crashtest. r=padenot
authorAndreas Pehrson <apehrson@mozilla.com>
Wed, 13 Nov 2019 13:13:55 +0000
changeset 501733 9473f8de212155dedc4eb74165211636324262bc
parent 501732 710f988369e5588af9b35bf07ac6051083a3407a
child 501734 7a55cb6e7aecdd0d3fb786fefe8cc165558b78e0
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1594136
milestone72.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 1594136 - Add crashtest. r=padenot Differential Revision: https://phabricator.services.mozilla.com/D52521
dom/media/tests/crashtests/1594136.html
dom/media/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/1594136.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<script>
+function start () {
+  const context = new AudioContext();
+  const {stream} = new MediaStreamAudioDestinationNode(context);
+  const [track] = stream.getTracks();
+  track.stop();
+  context.createMediaStreamTrackSource(track);
+}
+
+document.addEventListener('DOMContentLoaded', start);
+</script>
+</head>
+</html>
--- a/dom/media/tests/crashtests/crashtests.list
+++ b/dom/media/tests/crashtests/crashtests.list
@@ -29,8 +29,9 @@ load 1505957.html
 load 1509442.html
 load 1511130.html
 load 1510848.html
 load 1516292.html
 skip-if(Android) pref(media.getusermedia.browser.enabled,true) load 1560207.html # No tabshare on Android
 load 1576938.html
 skip-if(Android) pref(media.getusermedia.audiocapture.enabled,true) load 1573536.html
 skip-if(!Android) pref(media.getusermedia.audiocapture.enabled,true) pref(media.navigator.permission.device,false) load 1573536.html # media.navigator.permission.device is mobile-only, so other platforms fail to set it (Bug 1350948)
+load 1594136.html