Description
The following code:
AudioContext audioContext = new AudioContext();
XMLHttpRequest xhr = new XMLHttpRequest();
xhr.open("GET", "sample.ogg", true);
xhr.responseType = "arraybuffer";
xhr.on.load.add((e) {
audioContext.decodeAudioData(xhr.response, function(buffer) {
AudioBufferSourceNode source = audioContext.createBufferSource();
source.connect(audioContext.destination, 0);
source.buffer = buffer;
source.noteOn(0);
});
});
xhr.send();
works fine in Chrome/JS but crashes in Dartium. No error reported as Dartium crashes with a "Aw, Snap!" message.
Tested using DartEditor Build 7323 on Windows 64 bits
I did not attach a sample ogg file.
Google Chrome 19.0.1084.41 (Official Build 134854) beta-m
OS Windows
WebKit 536.5 (@115762)
JavaScript V8 3.9.24.17
Flash 11,2,202,235
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.41 Safari/536.5
Command Line "C:\Users\alex\AppData\Local\Google\Chrome\Application\chrome.exe" --flag-switches-begin --flag-switches-end
Executable Path C:\Users\alex\AppData\Local\Google\Chrome\Application\chrome.exe
Profile Path C:\Users\alex\AppData\Local\Google\Chrome\User Data\Default