Backed out changeset f7b7bdd7b05c (bug 1413256) for web-platform-tests on constant-source-basic.html. r=backout on a CLOSED TREE

This commit is contained in:
Brindusan Cristian 2017-11-23 19:53:53 +02:00
Родитель b0ab9e37b0
Коммит b710626d94
3 изменённых файлов: 1 добавлений и 28 удалений

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

@ -150,9 +150,7 @@ ConstantSourceNode::ConstantSourceNode(AudioContext* aContext)
ChannelCountMode::Max,
ChannelInterpretation::Speakers)
, mOffset(new AudioParam(this, ConstantSourceNodeEngine::OFFSET,
"offset", 1.0f,
std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::max()))
"offset", 1.0f))
, mStartCalled(false)
{
ConstantSourceNodeEngine* engine = new ConstantSourceNodeEngine(this, aContext->Destination());

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

@ -107,7 +107,6 @@ skip-if = toolkit == 'android' # bug 1056706
[test_bug1255618.html]
[test_bug1267579.html]
[test_bug1355798.html]
[test_bug1413256.html]
[test_channelMergerNode.html]
[test_channelMergerNodeWithVolume.html]
[test_channelSplitterNode.html]

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

@ -1,24 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test offset.minValue and offset.maxValue are correct</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="webaudio.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<pre id="test">
<script class="testbody" type="text/javascript">
c = new AudioContext();
n = new ConstantSourceNode(c);
var min =-3.4028234663852886e+38;
var max = 3.4028234663852886e+38;
is(n.offset.minValue, min,"Sould be the most-negative single-float value");
is(n.offset.maxValue, max,"Should be the most-positive single-float value");
</script>
</pre>
</body>
</html>