</spec>
</specs>
</testcase>
- <testcase purpose="Check if AudioListener.dopplerFactor attribute exists" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_dopplerFactor_exists">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="dopplerFactor" interface="AudioListener" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the type of AudioListener.dopplerFactor is number" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_dopplerFactor_type">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="dopplerFactor" interface="AudioListener" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if AudioListener.setOrientation method exists" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_setOrientation_exists">
<description>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setOrientation_exists.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if AudioListener.setVelocity method exists" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_setVelocity_exists">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="method" element_name="setVelocity" interface="AudioListener" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the type of AudioListener.setVelocity is function" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_setVelocity_type">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="method" element_name="setVelocity" interface="AudioListener" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AudioListener.speedOfSound attribute exists" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_speedOfSound_exists">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="speedOfSound" interface="AudioListener" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the type of AudioListener.speedOfSound is number" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audiolistener_speedOfSound_type">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="speedOfSound" interface="AudioListener" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if AudioNode.connect method exists" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="audionode_connect_exists">
<description>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audionode_connect_exists.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if the type of PannerNode.setVelocity is function" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="pannernode_setVelocity_type">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="method" element_name="setVelocity" interface="PannerNode" specification="Web Audio API" section="Media" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-webaudio-20121213/#PannerNode</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if the PannerNode.distanceModel set value 'inverse'" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" priority="P1" id="pannernode_distanceModel_inverse">
<description>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/pannernode_distanceModel_inverse.html</test_script_entry>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiodestinationnode_maxChannelCount_check.html?total_num=3&locator_key=id&value=3</test_script_entry>
</description>
</testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_dopplerFactor_exists" priority="P1" purpose="Check if AudioListener.dopplerFactor attribute exists">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_dopplerFactor_type" priority="P1" purpose="Check if the type of AudioListener.dopplerFactor is number">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html</test_script_entry>
- </description>
- </testcase>
<testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_setOrientation_exists" priority="P1" purpose="Check if AudioListener.setOrientation method exists">
<description>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setOrientation_exists.html</test_script_entry>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setPosition_type.html</test_script_entry>
</description>
</testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_setVelocity_exists" priority="P1" purpose="Check if AudioListener.setVelocity method exists">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_setVelocity_type" priority="P1" purpose="Check if the type of AudioListener.setVelocity is function">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_speedOfSound_exists" priority="P1" purpose="Check if AudioListener.speedOfSound attribute exists">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audiolistener_speedOfSound_type" priority="P1" purpose="Check if the type of AudioListener.speedOfSound is number">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html</test_script_entry>
- </description>
- </testcase>
<testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="audionode_connect_exists" priority="P1" purpose="Check if AudioNode.connect method exists">
<description>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/audionode_connect_exists.html</test_script_entry>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/pannernode_setPosition_type.html</test_script_entry>
</description>
</testcase>
- <testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="pannernode_setVelocity_type" priority="P1" purpose="Check if the type of PannerNode.setVelocity is function">
- <description>
- <test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html</test_script_entry>
- </description>
- </testcase>
<testcase component="W3C_HTML5 APIs/Media/Web Audio API (Partial)" execution_type="auto" id="pannernode_distanceModel_inverse" priority="P1" purpose="Check if the PannerNode.distanceModel set value 'inverse'">
<description>
<test_script_entry>/opt/tct-webaudio-w3c-tests/webaudio/pannernode_distanceModel_inverse.html</test_script_entry>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Li, Hao <haox.li@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: audiolistener_dopplerFactor_exists</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if AudioListener.dopplerFactor attribute exists" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id=log></div>
- <script type="text/javascript">
- test(function () {
- var context = window.AudioContext;
- if(!context) {
- assert_true(false, "AudioContext interface exists in window");
- }
- if(!("listener" in context)) {
- assert_true(false, "listener attribute exists in AudioContext interface");
- }
- var listener = context.listener;
- assert_true("dopplerFactor" in listener, "AudioListener.dopplerFactor attribute exists");
- }, document.title);
- </script>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Li, Hao <haox.li@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: audiolistener_dopplerFactor_type</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if AudioListener.dopplerFactor attribute is of type number" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id=log></div>
- <script type="text/javascript">
- test(function () {
- var context = window.AudioContext;
- if(!context) {
- assert_true(false, "AudioContext interface exists in window");
- }
- if(!("listener" in context)) {
- assert_true(false, "listener attribute exists in AudioContext interface");
- }
- var listener = context.listener;
- if(!("dopplerFactor" in listener)) {
- assert_true(false, "dopplerFactor attribute exists in AudioListener interface");
- }
- assert_true(typeof listener.dopplerFactor == "number", "AudioListener.dopplerFactor attribute is of type number");
- }, document.title);
- </script>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Li, Hao <haox.li@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: audiolistener_setVelocity_exists</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if AudioListener.setVelocity method exists" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id=log></div>
- <script type="text/javascript">
- test(function () {
- var context = window.AudioContext;
- if(!context) {
- assert_true(false, "AudioContext interface exists in window");
- }
- if(!("listener" in context)) {
- assert_true(false, "listener attribute exists in AudioContext interface");
- }
- var listener = context.listener;
- assert_true("setVelocity" in listener, "AudioListener.setVelocity method exists");
- }, document.title);
- </script>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Li, Hao <haox.li@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: audiolistener_setVelocity_type</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if AudioListener.setVelocity method is of type function" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id=log></div>
- <script type="text/javascript">
- test(function () {
- var context = window.AudioContext;
- if(!context) {
- assert_true(false, "AudioContext interface exists in window");
- }
- if(!("listener" in context)) {
- assert_true(false, "listener attribute exists in AudioContext interface");
- }
- var listener = context.listener;
- if(!("setVelocity" in listener)) {
- assert_true(false, "setVelocity attribute exists in AudioListener interface");
- }
- assert_true(listener.setVelocity instanceof Function, "AudioListener.setVelocity method is of type function");
- }, document.title);
- </script>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Li, Hao <haox.li@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: audiolistener_speedOfSound_exists</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if AudioListener.speedOfSound attribute exists" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id=log></div>
- <script type="text/javascript">
- test(function () {
- var context = window.AudioContext;
- if(!context) {
- assert_true(false, "AudioContext interface exists in window");
- }
- if(!("listener" in context)) {
- assert_true(false, "listener attribute exists in AudioContext interface");
- }
- var listener = context.listener;
- assert_true("speedOfSound" in listener, "AudioListener.speedOfSound attribute exists");
- }, document.title);
- </script>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Li, Hao <haox.li@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: audiolistener_speedOfSound_type</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if AudioListener.speedOfSound attribute is of type number" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id=log></div>
- <script type="text/javascript">
- test(function () {
- var context = window.AudioContext;
- if(!context) {
- assert_true(false, "AudioContext interface exists in window");
- }
- if(!("listener" in context)) {
- assert_true(false, "listener attribute exists in AudioContext interface");
- }
- var listener = context.listener;
- if(!("speedOfSound" in listener)) {
- assert_true(false, "speedOfSound attribute exists in AudioListener interface");
- }
- assert_true(typeof listener.speedOfSound == "number", "AudioListener.speedOfSound attribute is of type number");
- }, document.title);
- </script>
- </body>
-</html>
<link rel="author" title="Intel" href="http://www.intel.com" />
<link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#DynamicsCompressorNode-section" />
<meta name="flags" content="" />
- <meta name="assert" content="Check if DynamicsCompressorNode.reduction attribute is AudioParam type" />
+ <meta name="assert" content="Check if DynamicsCompressorNode.reduction attribute is number type" />
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="./support/webaudio.js"></script>
var context = window.AudioContext;
var dynamicscompressornode = context.createDynamicsCompressor();
assert_true("reduction" in dynamicscompressornode, "reduction attribute exists in DynamicsCompressorNode interface");
- assert_equals(typeof dynamicscompressornode.reduction, "object", "Check if DynamicsCompressorNode.reduction attribute is of type");
+ assert_equals(typeof dynamicscompressornode.reduction, "number", "Check if DynamicsCompressorNode.reduction attribute is of type number");
} catch (e){
- assert_true(false, "Exception: {" + e.message + "}" + " Check if DynamicsCompressorNode.reduction attribute is AudioParam type");
+ assert_true(false, "Exception: {" + e.message + "}" + " Check if DynamicsCompressorNode.reduction attribute is number type");
}
}, document.title);
</script>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- nianx.gan <nianx.gan@intel.com>
- Ge, Qing <qingx.ge@intel.com>
-
--->
-
-<html>
- <head>
- <title>WebAudio Test: pannernode_setVelocity_type</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/2012/WD-webaudio-20121213/#PannerNode" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if PannerNode.setVelocity is method type" />
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="./support/webaudio.js"></script>
- </head>
- <body>
- <div id="log"></div>
- <script type="text/javascript">
- test(function () {
- try{
- var context = window.AudioContext;
- var pannernode = context.createPanner();
- assert_true(typeof pannernode.setVelocity == "function", "Check if PannerNode.setVelocity is method type");
- } catch (e) {
- assert_true(false, "Exception: {" + e.message + "}" + " Check if PannerNode.setVelocity is method type");
- }
- }, document.title);
- </script>
- </body>
-</html>