aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/AudioContext.webidl
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2019-10-17 16:10:39 +0900
committerKagami Sascha Rosylight <saschanaz@outlook.com>2019-10-19 12:19:25 +0900
commit40ee701283310a505770023594f1f9d64b31e2a2 (patch)
treebe3ee3253b646b6b30d9f318f40ad7b2872d98fe /components/script/dom/webidls/AudioContext.webidl
parent118a9ecdfe5005a0f3328c362ce8d7a7f1b52912 (diff)
downloadservo-40ee701283310a505770023594f1f9d64b31e2a2.tar.gz
servo-40ee701283310a505770023594f1f9d64b31e2a2.zip
Support enum value as a union default value
Diffstat (limited to 'components/script/dom/webidls/AudioContext.webidl')
-rw-r--r--components/script/dom/webidls/AudioContext.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/AudioContext.webidl b/components/script/dom/webidls/AudioContext.webidl
index 8667d8d8b8f..9e5dd6bd556 100644
--- a/components/script/dom/webidls/AudioContext.webidl
+++ b/components/script/dom/webidls/AudioContext.webidl
@@ -13,7 +13,7 @@ enum AudioContextLatencyCategory {
};
dictionary AudioContextOptions {
- AudioContextLatencyCategory latencyHint = "interactive";
+ (AudioContextLatencyCategory or double) latencyHint = "interactive";
float sampleRate;
};