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 upM1504: Implement support for missing XMLHttpRequest APIs #8182
Conversation
highfive
commented
Oct 24, 2015
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @metajack (or someone else) soon. |
|
It would probably make sense to update the Review status: 0 of 6 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. components/script/dom/xmlhttprequest.rs, line 661 [r1] (raw file): components/script/dom/xmlhttprequest.rs, line 668 [r1] (raw file): components/script/dom/xmlhttprequest.rs, line 671 [r1] (raw file): components/script/dom/xmlhttprequest.rs, line 675 [r1] (raw file): Comments from the review on Reviewable.io |
|
Also,
|
|
Review status: 0 of 6 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/script/dom/xmlhttprequest.rs, line 671 [r1] (raw file): Could you provide some clarification on this especially since we need to assign the override_mime_type to final MIME type in the further steps which again I am assuming is a string from the xhr specifications? Comments from the review on Reviewable.io |
|
Review status: 0 of 6 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/script/dom/xmlhttprequest.rs, line 671 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: 0 of 6 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/script/dom/xmlhttprequest.rs, line 671 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: 0 of 6 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/script/dom/xmlhttprequest.rs, line 671 [r1] (raw file): Comments from the review on Reviewable.io |
|
We have made the changes suggested by @eefriedman and are waiting for someone to review the changes. |
|
Reviewed 5 of 6 files at r1, 2 of 2 files at r2. components/script/dom/xmlhttprequest.rs, line 123 [r2] (raw file): components/script/dom/xmlhttprequest.rs, line 666 [r2] (raw file): components/script/dom/xmlhttprequest.rs, line 667 [r2] (raw file): Hmm, maybe my previous suggestion for override charset wasn't precisely correct; what I wanted to say was that Comments from the review on Reviewable.io |
|
Oh, also, it probably makes sense to use http://doc.servo.org/mime/struct.Mime.html#method.get_param instead of a for loop. |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. components/script/dom/xmlhttprequest.rs, line 667 [r2] (raw file): Could you shed some more light on this ? Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. components/script/dom/xmlhttprequest.rs, line 667 [r2] (raw file): Comments from the review on Reviewable.io |
|
Review status: 5 of 7 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. components/script/dom/xmlhttprequest.rs, line 666 [r2] (raw file): components/script/dom/xmlhttprequest.rs, line 667 [r2] (raw file): Comments from the review on Reviewable.io |
|
Review status: 5 of 7 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. components/script/dom/xmlhttprequest.rs, line 664 [r3] (raw file):
Comments from the review on Reviewable.io |
|
Review status: 5 of 7 files reviewed at latest revision, 3 unresolved discussions. components/script/dom/xmlhttprequest.rs, line 664 [r3] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 1 of 2 files at r3, 1 of 1 files at r4. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
Hi @jdm, I am assuming that after running the commands you specified, the test expectations shall be adjusted to reflect the current state of the code and thus resulting in no unexpected test results if I run the tests thereafter. However after running the commands you specified (
Any insights on why this is happening as I expect 0 unexpected results after the expectations have been adjusted? Is this the expected behavior? This is the reason I've not updated the pull request still. |
|
I agree, that result is surprising. @jitendra29 Could you try running |
|
I ran the command but I got some new unexpected results this time. The results are as follows:
Any tips on how should I proceed now ? Should I go ahead and update the pull request anyway ? |
|
The send-entity-body-document.htm failure is spurious (#8157). Regenerate the log with a release build ( |
|
The previous update to the pull request just rebases the pull request with servo/master and resolves the merge conflicts. @jdm @eefriedman Thanks a lot. This time the tests ran without any unexpected results. Following is the output of running the tests:
I can now go ahead and update the pull request with the new commit updating the test expectations right ? |
|
Yes, please update the pull request. |
|
@eefriedman done. Do I need to squash these 2 commits into a single commit ? |
|
Please squash. |
|
done |
|
@bors-servo r+ |
|
|
M1504: Implement support for missing XMLHttpRequest APIs We have completed the initial steps for "Implement support for missing XMLHttpRequest APIs" * Implemented overrideMimeType according to XHR specifications * Updated the test expectations <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8182) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry
|
|
|
|
|
jitendra29 commentedOct 24, 2015
We have completed the initial steps for "Implement support for missing XMLHttpRequest APIs"