From 7cf295e2e98b242ae9d1ef5f6395abfe3936608b Mon Sep 17 00:00:00 2001 From: Narcis Beleuzu Date: Wed, 23 Sep 2020 19:36:36 +0300 Subject: [PATCH] Backed out changeset 4574fadace05 (bug 1666490) for mda failure on test_analyserNode.html . CLOSED TREE --- dom/media/webaudio/AnalyserNode.cpp | 2 +- .../the-analysernode-interface/ctor-analyser.html.ini | 10 ++++++++++ .../test-analysernode.html.ini | 7 +++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini create mode 100644 testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini diff --git a/dom/media/webaudio/AnalyserNode.cpp b/dom/media/webaudio/AnalyserNode.cpp index 431dcef3de70..9d4ae5c72a50 100644 --- a/dom/media/webaudio/AnalyserNode.cpp +++ b/dom/media/webaudio/AnalyserNode.cpp @@ -117,7 +117,7 @@ already_AddRefed AnalyserNode::Create( } AnalyserNode::AnalyserNode(AudioContext* aContext) - : AudioNode(aContext, 2, ChannelCountMode::Max, + : AudioNode(aContext, 1, ChannelCountMode::Max, ChannelInterpretation::Speakers), mAnalysisBlock(2048), mMinDecibels(-100.), diff --git a/testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini b/testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini new file mode 100644 index 000000000000..3efadd35f858 --- /dev/null +++ b/testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini @@ -0,0 +1,10 @@ +[ctor-analyser.html] + [< [default constructor\] 1 out of 12 assertions were failed.] + expected: FAIL + + [X node0.channelCount is not equal to 2. Got 1.] + expected: FAIL + + [# AUDIT TASK RUNNER FINISHED: 1 out of 7 tasks were failed.] + expected: FAIL + diff --git a/testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini b/testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini new file mode 100644 index 000000000000..6992ca5707d1 --- /dev/null +++ b/testing/web-platform/meta/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini @@ -0,0 +1,7 @@ +[test-analysernode.html] + [Test AnalyserNode's ctor API] + expected: FAIL + + [Test AnalyserNode API] + expected: FAIL +