mirror of
https://github.com/servo/servo.git
synced 2025-09-08 14:08:22 +01:00
Support enum value as a union default value
This commit is contained in:
parent
118a9ecdfe
commit
40ee701283
4 changed files with 36 additions and 29 deletions
|
@ -1,23 +1,8 @@
|
|||
[audiocontextoptions.html]
|
||||
[X creating two high latency contexts incorrectly threw TypeError: "'0' is not a valid enum value for enumeration 'AudioContextLatencyCategory'.".]
|
||||
expected: FAIL
|
||||
|
||||
[X context = new AudioContext({'latencyHint': interactiveLatency/2}) incorrectly threw TypeError: "'0' is not a valid enum value for enumeration 'AudioContextLatencyCategory'.".]
|
||||
expected: FAIL
|
||||
|
||||
[X context = new AudioContext({'latencyHint': validLatency}) incorrectly threw TypeError: "'0' is not a valid enum value for enumeration 'AudioContextLatencyCategory'.".]
|
||||
expected: FAIL
|
||||
|
||||
[X context = new AudioContext({sampleRate: 1}) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[< [test-audiocontextoptions-latencyHint-double\] 3 out of 6 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[# AUDIT TASK RUNNER FINISHED: 2 out of 3 tasks were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[Executing "test-audiocontextoptions-latencyHint-double"]
|
||||
[# AUDIT TASK RUNNER FINISHED: 1 out of 3 tasks were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X context = new AudioContext({sampleRate: 1000000}) did not throw an exception.]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue