mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1791604 test AudioContext creation after sync XMLHttpRequest r=padenot
Based on testcase by Jason Kratzer <jkratzer@mozilla.com> Differential Revision: https://phabricator.services.mozilla.com/D157766
This commit is contained in:
parent
3135e1b982
commit
eb2a6df077
13
dom/media/test/crashtests/audiocontext-after-xhr.html
Normal file
13
dom/media/test/crashtests/audiocontext-after-xhr.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const xhr = new XMLHttpRequest()
|
||||
xhr.open('G', '', false)
|
||||
xhr.send()
|
||||
window.ac = new AudioContext()
|
||||
})
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
@ -99,6 +99,7 @@ load 1489160.html
|
||||
load disconnect-wrong-destination.html
|
||||
load analyser-channels-1.html
|
||||
load audiocontext-after-unload-1.html
|
||||
load audiocontext-after-xhr.html
|
||||
load audiocontext-double-suspend.html
|
||||
skip-if(Android) load audioworkletnode-after-unload-1.html # Needs secure context
|
||||
load buffer-source-duration-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user