aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-05-22 05:09:43 -0400
committerGitHub <noreply@github.com>2019-05-22 05:09:43 -0400
commit1cbb04c647ae4dc6d97054f53d0b839b444bbca4 (patch)
tree31c448ef30bba3b2204c1eb723ac8dd89e7686df /components/script/dom/webidls
parent415b26e4f11b25b317a37c406c1d6f1fc3709561 (diff)
parentf8bcddea54c78d91aa1600a1cb153880de796a24 (diff)
downloadservo-1cbb04c647ae4dc6d97054f53d0b839b444bbca4.tar.gz
servo-1cbb04c647ae4dc6d97054f53d0b839b444bbca4.zip
Auto merge of #23282 - josephhutch:OscillatorNodeType, r=ferjm
Implemented type attribute for OscillatorNode interface <!-- Please describe your changes on the following line: --> Please see https://github.com/servo/media/pull/242 for implementation of the new oscillator node message. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23282) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r--components/script/dom/webidls/OscillatorNode.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/OscillatorNode.webidl b/components/script/dom/webidls/OscillatorNode.webidl
index 263b8c29bae..510b87880a7 100644
--- a/components/script/dom/webidls/OscillatorNode.webidl
+++ b/components/script/dom/webidls/OscillatorNode.webidl
@@ -24,8 +24,8 @@ dictionary OscillatorOptions : AudioNodeOptions {
[Exposed=Window,
Constructor (BaseAudioContext context, optional OscillatorOptions options)]
interface OscillatorNode : AudioScheduledSourceNode {
-// [SetterThrows]
-// attribute OscillatorType type;
+ [SetterThrows]
+ attribute OscillatorType type;
readonly attribute AudioParam frequency;
readonly attribute AudioParam detune;