Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplemented type attribute for OscillatorNode interface #23282
Conversation
highfive
commented
Apr 27, 2019
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @ferjm (or someone else) soon. |
highfive
commented
Apr 27, 2019
|
Heads up! This PR modifies the following files:
|
highfive
commented
Apr 27, 2019
|
The implementation changes appear to be missing. |
|
@jdm The implementation changes are in servo/media#242. What do you mean when you say they appear to be missing? I didn't know how to submit a pull request for both servo/servo and servo/media at the same time, which is why I split it up into two different pull requests. |
|
This change does not compile right now, since there are missing SetType and GetType methods for OscillatorNode. |
|
@jdm My bad. I think I added the correct methods, although GetType was called Type in biquadfilternode.rs, so I kept the same style and just called it Type. |
|
Thanks for the PR :) There are still a few build errors that need to be fixed. |
|
@ferjm I fixed a few of the build errors, but I can't figure out why it can't find the get and set methods: error[E0599]: no method named |
|
You likely got these method calls from the We need exactly the same thing for |
|
@ferjm There are build errors for this, but a main reason seems to be that the OscillatorNodeMessage hasn't been implemented yet (see servo/media#242). Is there anything else I can do for this pull request before that one is merged? |
|
servo/media#242 was just merged. You should be able to update servo-media here to get the latest changes by running |
|
@ferjm Could you please take a look at this? I made the changes you suggested. I am getting build errors, but they all seem to be for files that are not modified by this pull request. |
|
@ferjm Now that I've committed and pushed the changes to Cargo.lock, it says this branch has merge conflicts that need to be resolved. I'm not sure how to resolve them because I'm not sure what the correct version of Cargo.lock is? |
|
@PurpleHairEngineer I recommend performing a rebase, and when it encounters the merge conflict with Cargo.lock then run |
|
@jdm I ran |
|
@PurpleHairEngineer did you fetch upstream before rebasing?
These commands assume that you have a remote named In any case, I recommend waiting for #23294 to be merged, as updating servo-media before that one will throw additional build errors. |
|
@PurpleHairEngineer #23294 was already merged, so this PR should be ready for merge after rebasing. Let me know if you need any help with the rebase or if you want me to do it? Thanks. |
|
@bors-servo try=wpt |
Implemented type attribute for OscillatorNode interface <!-- Please describe your changes on the following line: --> Please see servo/media#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 -->
|
I went ahead and rebased and squashed the commits |
|
|
|
|
@bors-servo r+ |
|
|
Implemented type attribute for OscillatorNode interface <!-- Please describe your changes on the following line: --> Please see servo/media#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 -->
|
|
PurpleHairEngineer commentedApr 27, 2019
•
edited by SimonSapin
Please see servo/media#242 for implementation of the new oscillator node message.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is