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 upform submission for <textarea> and <select> #7919
Conversation
|
@nox, would you review this? |
|
Sure. |
|
Thanks for your contribution! See remarks on Reviewable. -S-awaiting-review +S-needs-code-changes Reviewed 2 of 2 files at r1. components/script/dom/htmlformelement.rs, line 255 [r1] (raw file): if let Some(datum) = input.get_form_datum(submitter) {
data_set.push(datum);
}components/script/dom/htmlformelement.rs, line 269 [r1] (raw file): components/script/dom/htmlformelement.rs, line 272 [r1] (raw file): components/script/dom/htmlselectelement.rs, line 67 [r1] (raw file): if let Some(option) = HTMLOptionElementCast::to_ref(&child) {
...
}components/script/dom/htmlselectelement.rs, line 68 [r1] (raw file): @jdm Does our IDL getter for the Comments from the review on Reviewable.io |
|
Mmm, I knew that |
|
One last nitpick. Btw @6112, why are there no test expectations changes? -S-awaiting-review +S-needs-code-changes Reviewed 2 of 2 files at r2. components/script/dom/htmlselectelement.rs, line 68 [r1] (raw file): Comments from the review on Reviewable.io |
|
As for the test expectations, I'm not quite sure what you mean. I'm very new here, and mostly clueless about the tests. |
|
@nox I'm not sure how much automated testing exists for form submission right now; http://mxr.mozilla.org/servo/search?string=.submit doesn't reveal very many likely tests. |
|
#7923 has a test for this. |
|
|
|
-S-awaiting-review Reviewed 1 of 1 files at r3. Comments from the review on Reviewable.io |
|
The file -S-awaiting-review +S-needs-code-changes Reviewed 3 of 3 files at r6. Comments from the review on Reviewable.io |
|
|
|
@6112 You're almost there! Is there anything that we can do to help? |
small changes from code review !child.get_disabled_state() becomes child.get_enabled_state()
|
Thanks for reminding me, @KiChjang . I'd forgotten about this. |
|
@bors-servo r+ Perfect, thanks! Sorry didn't notice earlier that you had rebased. Reviewed 3 of 3 files at r7. Comments from the review on Reviewable.io |
|
|
|
|
form submission for <textarea> and <select> Fixes #7849. Fixes #7850. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7919) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
|
|
|
|
@bors-servo: retry
|
|
|
|
|
6112 commentedOct 7, 2015
Fixes #7849.
Fixes #7850.