Bug 1577184 - Add crashtest. r=karlt a=lizzard
authorAndreas Pehrson <apehrson@mozilla.com>
Tue, 03 Sep 2019 23:31:25 +0000
changeset 554966 401ccc238dc6e97d2e8015d12767504a348ef5cb
parent 554965 2a11b5cf25b3409a68e3317446e8c2d8cf92a7ec
child 554967 f0c0707cc3659b0f93e07e1fcc5d7350f7a6e27c
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt, lizzard
bugs1577184
milestone70.0
Bug 1577184 - Add crashtest. r=karlt a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D44486
dom/media/test/crashtests/1577184.html
dom/media/test/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/test/crashtests/1577184.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<script>
+function start () {
+  const frame = document.createElementNS('http://www.w3.org/1999/xhtml', 'frame')
+  document.documentElement.appendChild(frame)
+  frame.contentWindow.eval('window.top.context=new AudioContext()')
+  document.documentElement.innerHTML = ''
+  context.createMediaElementSource(new Audio(''))
+}
+
+document.addEventListener('DOMContentLoaded', start)
+</script>
+</head>
+</html>
--- a/dom/media/test/crashtests/crashtests.list
+++ b/dom/media/test/crashtests/crashtests.list
@@ -125,8 +125,9 @@ 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
 skip-if(Android) load 1547784.html # Skip on Android as clearkey is not supported
 load 1547899.html
 load 1569645.html
+load 1577184.html