bug 1548816 crashtest r=padenot
authornils@vulndev.org, Karl Tomlinson <karlt+@karlt.net>
Wed, 08 May 2019 09:35:19 +0000
changeset 474656 0cf679ede4c4b13ad29286daff941853721887b5
parent 474655 15a1de74bc510d9e03edbe4af04a90b6d4d4d8f8
child 474657 40b9b95aa0e0a199a5510b71c955b0d8ebfdbd58
push id36043
push userrmaries@mozilla.com
push dateTue, 21 May 2019 09:44:47 +0000
treeherdermozilla-central@b74e5737da64 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1548816
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 1548816 crashtest r=padenot Differential Revision: https://phabricator.services.mozilla.com/D30160
dom/media/test/crashtests/copyFromChannel-2.html
dom/media/test/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/test/crashtests/copyFromChannel-2.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <title>Crashtest for bug 1548816</title>
+  <script>
+let cx = new OfflineAudioContext({numberOfChannels: 1,
+                                  length: 1, sampleRate: 44100});
+let buffer = new AudioBuffer({numberOfChannels: 13,
+                              length: 22050, sampleRate: 44100});
+buffer.getChannelData(12)[0] = 1.0;
+let o2248 = new AudioBufferSourceNode(cx, {buffer: buffer});
+let array = new Float32Array(52428);
+buffer.copyFromChannel(array, 12);
+  </script>
+</head>
+</html>
--- a/dom/media/test/crashtests/crashtests.list
+++ b/dom/media/test/crashtests/crashtests.list
@@ -101,16 +101,17 @@ load 1450845.html
 load disconnect-wrong-destination.html
 load analyser-channels-1.html
 skip-if(verify&&isDebugBuild&&gtkWidget) load audiocontext-double-suspend.html
 load buffer-source-duration-1.html
 skip-if(verify&&isDebugBuild&&gtkWidget) load buffer-source-ended-1.html
 load buffer-source-resampling-start-1.html
 load buffer-source-slow-resampling-1.html
 load convolver-memory-report-1.html
+load copyFromChannel-2.html
 skip-if(verify&&isDebugBuild&&gtkWidget) HTTP load media-element-source-seek-1.html
 skip-if(verify&&isDebugBuild&&gtkWidget) load offline-buffer-source-ended-1.html
 load oscillator-ended-1.html
 load oscillator-ended-2.html
 skip-if(Android&&AndroidVersion=='22') load video-replay-after-audio-end.html # bug 1315125, bug 1358876
 # This needs to run at the end to avoid leaking busted state into other tests.
 skip-if(Android) load 691096-1.html # Bug 1365451
 load 1236639.html