Bug 1456271 - Ajust tests to reflect the alignment to the spec. r=padenot

Both for mochitest (simply an expectation adjustment), and in mochitest (align
with the code).

MozReview-Commit-ID: 2UIq4zrcd02

--HG--
extra : rebase_source : 1858e73b3ad89aade3219ee8556c653c55c85bed
This commit is contained in:
Paul Adenot 2018-07-16 15:04:11 +02:00
Родитель 788fbbb0f0
Коммит 1e98c50388
2 изменённых файлов: 2 добавлений и 9 удалений

Просмотреть файл

@ -41,10 +41,9 @@ addLoadEvent(function() {
ac.createPeriodicWave(new Float32Array(4097), new Float32Array(4097));
});
// real || imag
expectException(function() {
expectNoException(function() {
new PeriodicWave(ac, {});
}, DOMException.INDEX_SIZE_ERR);
});
// real.size == imag.size
expectException(function() {

Просмотреть файл

@ -164,12 +164,6 @@
[MediaStreamTrackAudioSourceNode interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[PeriodicWave must be primary interface of new PeriodicWave(context)]
expected: FAIL
[Stringification of new PeriodicWave(context)]
expected: FAIL
[AudioWorklet interface: existence and properties of interface object]
expected: FAIL