Conversation
|
Thanks for your contribution! -S-awaiting-review +S-needs-code-changes Reviewed 3 of 3 files at r1. components/script/dom/htmlformelement.rs, line 212 [r1] (raw file): components/script/dom/htmlformelement.rs, line 213 [r1] (raw file): components/script/dom/htmlformelement.rs, line 214 [r1] (raw file): And nit: remove braces. components/script/dom/htmlformelement.rs, line 334 [r1] (raw file): components/script/dom/htmlformelement.rs, line 450 [r1] (raw file): components/script/dom/htmlformelement.rs, line 452 [r1] (raw file): components/script/dom/htmlinputelement.rs, line 475 [r1] (raw file): components/script/dom/htmlselectelement.rs, line 96 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. components/script/dom/htmlformelement.rs, line 214 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. components/script/dom/htmlformelement.rs, line 214 [r1] (raw file): components/script/dom/htmlformelement.rs, line 334 [r1] (raw file): components/script/dom/htmlformelement.rs, line 452 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: 0 of 3 files reviewed at latest revision, 3 unresolved discussions. components/script/dom/htmlformelement.rs, line 214 [r1] (raw file): We'll be using an encoding-agnostic way to generate the Vec of BlobOrStrings, and then running this encoding specific bit of code over it. Comments from the review on Reviewable.io |
|
Review status: 0 of 5 files reviewed at latest revision, 4 unresolved discussions. components/script/dom/formdata.rs, line 165 [r3] (raw file): Comments from the review on Reviewable.io |
|
☔ The latest upstream changes (presumably #9543) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (presumably #9629) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@psdh It seems like the build fails, as well as |
|
☔ The latest upstream changes (presumably #9514) made this pull request unmergeable. Please resolve the merge conflicts. |
|
This needs a rebase and can't be built. |
|
tidy fails due to #9806 |
| generate_multipart_data(&mut form_data, boundary) | ||
| } | ||
| _ => "".to_owned() // TODO: Add serializers for the other encoding types | ||
| FormEncType::TextPlainEncoded => "".to_owned() // TODO: Add serializers for the other encoding types |
There was a problem hiding this comment.
This TODO comment can be removed, I believe.
| } | ||
| FormEncType::FormDataEncoded => { | ||
| let boundary = generate_boundary(); | ||
| let mime = "multipart/formdata; boundary=".to_owned() + &boundary; |
There was a problem hiding this comment.
Aside from the typo (it's "multipart/form-data"), I hear from @seanmonstar that this is bad practice to use strings instead of actual Mime types that hyper provides.
|
-S-awaiting-review +S-needs-code-changes Reviewed 1 of 3 files at r3, 1 of 6 files at r4, 2 of 5 files at r5, 3 of 4 files at r6. components/script/dom/formdata.rs, line 165 [r3] (raw file): components/script/dom/formdata.rs, line 152 [r6] (raw file): components/script/dom/formdata.rs, line 156 [r6] (raw file): components/script/dom/formdata.rs, line 171 [r6] (raw file): components/script/dom/formdata.rs, line 184 [r6] (raw file): components/script/dom/htmlformelement.rs, line 291 [r6] (raw file): components/script/dom/htmlformelement.rs, line 555 [r6] (raw file): components/script/dom/htmlformelement.rs, line 561 [r6] (raw file): Comments from the review on Reviewable.io |
|
With the usage of Hyper, I don't think we need to be waiting on the tidy update in order to land this. |
|
☔ The latest upstream changes (presumably #10014) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@psdh Are you still planning to finish this work? |
|
@jdm Yes. I have exams now but will have time in a couple of days. |
|
Great! |
|
Any updates? |
|
Closing due to inactivity. Feel free to reopen it if you start working on it again! |
|
Oh, I think I completely missed Manish's comment. Anyway, I don't think I would be able to pick this in at least a month's time (lots of course projects this time around). Sorry for the inconvenience. |
r? @Manishearth