mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -4,7 +4,7 @@
|
|||
<title>DelayNode IDL Test</title>
|
||||
<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script><script src="/resources/idlharness.js"></script><script src="/resources/WebIDLParser.js"></script><script src="/webaudio/js/lodash.js"></script><script src="/webaudio/js/vendor-prefixes.js"></script><script src="/webaudio/js/helpers.js"></script><style type="text/css">
|
||||
#event-target-idl,
|
||||
#audio-context-idl,
|
||||
#base-audio-context-idl,
|
||||
#audio-node-idl,
|
||||
#audio-param-idl
|
||||
{ visibility:hidden; height: 0px;}
|
||||
|
@ -27,52 +27,43 @@ callback interface EventListener {
|
|||
interface EventListener {};
|
||||
</pre>
|
||||
|
||||
<pre id="audio-context-idl">callback DecodeSuccessCallback = void (AudioBuffer decodedData);
|
||||
callback DecodeErrorCallback = void ();
|
||||
<pre id="base-audio-context-idl">callback DecodeSuccessCallback = void (AudioBuffer decodedData);
|
||||
|
||||
[Constructor]
|
||||
interface AudioContext : EventTarget {
|
||||
|
||||
readonly attribute AudioDestinationNode destination;
|
||||
readonly attribute float sampleRate;
|
||||
readonly attribute double currentTime;
|
||||
readonly attribute AudioListener listener;
|
||||
|
||||
AudioBuffer createBuffer(unsigned long numberOfChannels, unsigned long length, float sampleRate);
|
||||
|
||||
void decodeAudioData(ArrayBuffer audioData,
|
||||
DecodeSuccessCallback successCallback,
|
||||
optional DecodeErrorCallback errorCallback);
|
||||
|
||||
|
||||
// AudioNode creation
|
||||
AudioBufferSourceNode createBufferSource();
|
||||
|
||||
MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement);
|
||||
|
||||
MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream);
|
||||
MediaStreamAudioDestinationNode createMediaStreamDestination();
|
||||
|
||||
ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize = 0,
|
||||
optional unsigned long numberOfInputChannels = 2,
|
||||
optional unsigned long numberOfOutputChannels = 2);
|
||||
|
||||
AnalyserNode createAnalyser();
|
||||
GainNode createGain();
|
||||
DelayNode createDelay(optional double maxDelayTime = 1.0);
|
||||
BiquadFilterNode createBiquadFilter();
|
||||
WaveShaperNode createWaveShaper();
|
||||
PannerNode createPanner();
|
||||
ConvolverNode createConvolver();
|
||||
|
||||
ChannelSplitterNode createChannelSplitter(optional unsigned long numberOfOutputs = 6);
|
||||
ChannelMergerNode createChannelMerger(optional unsigned long numberOfInputs = 6);
|
||||
|
||||
DynamicsCompressorNode createDynamicsCompressor();
|
||||
|
||||
OscillatorNode createOscillator();
|
||||
PeriodicWave createPeriodicWave(Float32Array real, Float32Array imag);
|
||||
callback DecodeSuccessCallback = void (AudioBuffer decodedData);
|
||||
|
||||
interface BaseAudioContext : EventTarget {
|
||||
readonly attribute AudioDestinationNode destination;
|
||||
readonly attribute float sampleRate;
|
||||
readonly attribute double currentTime;
|
||||
readonly attribute AudioListener listener;
|
||||
readonly attribute AudioContextState state;
|
||||
readonly attribute double baseLatency;
|
||||
Promise<void> resume ();
|
||||
attribute EventHandler onstatechange;
|
||||
AudioBuffer createBuffer (unsigned long numberOfChannels, unsigned long length, float sampleRate);
|
||||
Promise<AudioBuffer> decodeAudioData (ArrayBuffer audioData, optional DecodeSuccessCallback successCallback, optional DecodeErrorCallback errorCallback);
|
||||
AudioBufferSourceNode createBufferSource ();
|
||||
ConstantSourceNode createConstantSource ();
|
||||
ScriptProcessorNode createScriptProcessor (optional unsigned long bufferSize = 0
|
||||
, optional unsigned long numberOfInputChannels = 2
|
||||
, optional unsigned long numberOfOutputChannels = 2
|
||||
);
|
||||
AnalyserNode createAnalyser ();
|
||||
GainNode createGain ();
|
||||
DelayNode createDelay (optional double maxDelayTime);
|
||||
BiquadFilterNode createBiquadFilter ();
|
||||
IIRFilterNode createIIRFilter (sequence<double> feedforward, sequence<double> feedback);
|
||||
WaveShaperNode createWaveShaper ();
|
||||
PannerNode createPanner ();
|
||||
StereoPannerNode createStereoPanner ();
|
||||
ConvolverNode createConvolver ();
|
||||
ChannelSplitterNode createChannelSplitter (optional unsigned long numberOfOutputs = 6
|
||||
);
|
||||
ChannelMergerNode createChannelMerger (optional unsigned long numberOfInputs = 6
|
||||
);
|
||||
DynamicsCompressorNode createDynamicsCompressor ();
|
||||
OscillatorNode createOscillator ();
|
||||
PeriodicWave createPeriodicWave (Float32Array real, Float32Array imag, optional PeriodicWaveConstraints constraints);
|
||||
};</pre>
|
||||
|
||||
<pre id="audio-node-idl">enum ChannelCountMode {
|
||||
|
@ -92,7 +83,7 @@ interface AudioNode : EventTarget {
|
|||
void connect(AudioParam destination, optional unsigned long output = 0);
|
||||
void disconnect(optional unsigned long output = 0);
|
||||
|
||||
readonly attribute AudioContext context;
|
||||
readonly attribute BaseAudioContext context;
|
||||
readonly attribute unsigned long numberOfInputs;
|
||||
readonly attribute unsigned long numberOfOutputs;
|
||||
|
||||
|
@ -105,8 +96,10 @@ interface AudioNode : EventTarget {
|
|||
|
||||
<pre id="audio-param-idl">interface AudioParam {
|
||||
|
||||
attribute float value;
|
||||
readonly attribute float defaultValue;
|
||||
attribute float value;
|
||||
readonly attribute float defaultValue;
|
||||
readonly attribute float minValue;
|
||||
readonly attribute float maxValue;
|
||||
|
||||
// Parameter automation.
|
||||
void setValueAtTime(float value, double startTime);
|
||||
|
@ -125,7 +118,13 @@ interface AudioNode : EventTarget {
|
|||
|
||||
};</pre>
|
||||
|
||||
<pre id="delay-node-idl">interface DelayNode : AudioNode {
|
||||
<pre id="delay-node-idl">dictionary DelayOptions : AudioNodeOptions {
|
||||
double maxDelayTime = 1;
|
||||
double delayTime = 0;
|
||||
};
|
||||
|
||||
[Constructor(BaseAudioContext context, optional DelayOptions options)]
|
||||
interface DelayNode : AudioNode {
|
||||
|
||||
readonly attribute AudioParam delayTime;
|
||||
|
||||
|
@ -137,7 +136,7 @@ interface AudioNode : EventTarget {
|
|||
(function() {
|
||||
var idl_array = new IdlArray();
|
||||
idl_array.add_untested_idls(document.getElementById("event-target-idl").textContent);
|
||||
idl_array.add_untested_idls(document.getElementById("audio-context-idl").textContent);
|
||||
idl_array.add_untested_idls(document.getElementById("base-audio-context-idl").textContent);
|
||||
idl_array.add_untested_idls(document.getElementById("audio-node-idl").textContent);
|
||||
idl_array.add_untested_idls(document.getElementById("audio-param-idl").textContent);
|
||||
idl_array.add_idls(document.getElementById("delay-node-idl").textContent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue