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 upDOMImplementation::createDocument should set content type based on namespace #10830
Conversation
highfive
commented
Apr 24, 2016
|
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. |
highfive
commented
Apr 24, 2016
|
Heads up! This PR modifies the following files:
|
|
Thanks for your PR. You'll need to update -S-awaiting-review +S-needs-code-changes Reviewed 1 of 1 files at r1, 1 of 1 files at r2. components/script/dom/domimplementation.rs, line 76 [r2] (raw file): Comments from Reviewable |
|
Ahhh I didn't realize there was a config file for expected test failures. Since all the tests pass, I will remove it. Review status: all files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
|
Reviewed 3 of 3 files at r3. components/script/dom/domimplementation.rs, line 84 [r3] (raw file): Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/domimplementation.rs, line 84 [r3] (raw file): Comments from Reviewable |
|
Thanks! This is good to go once you squash the commits into one; let me know if you need help with that. -S-awaiting-review +S-needs-squash Reviewed 2 of 2 files at r4. Comments from Reviewable |
|
Squashed and ready to go! Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending. Comments from Reviewable |
|
@bors-servo r=Ms2ger |
|
|
DOMImplementation::createDocument should set content type based on namespace Set document content type based on the namespace. Standard: https://dom.spec.whatwg.org/#dom-domimplementation-createdocument Fixes #10743. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10830) <!-- Reviewable:end -->
|
|
highfive
commented
Apr 28, 2016
|
|
You'll have to update |
[10743] Fix namespace in createDocument test [10743] Remove test ini file, match returns static strings instead of DOMString. [10743] Fix arguments to XMLDocument::new Update failing test [10743] Add content type to XmlDocument constructor based on namespace [10743] Fix namespace in createDocument test [10743] Remove test ini file, match returns static strings instead of DOMString. [10743] Fix arguments to XMLDocument::new Update failing test
|
Updated that test file and squashed again. I didn't run the full wpt-test suite, as I don't have enough time to wait for it (that or I cannot figure out how to run it faster). I checked a few tests in areas where they might fail because of this and they were passing, so hopefully there is no more failures... |
|
@bors-servo r=Ms2ger |
|
|
DOMImplementation::createDocument should set content type based on namespace Set document content type based on the namespace. Standard: https://dom.spec.whatwg.org/#dom-domimplementation-createdocument Fixes #10743. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10830) <!-- Reviewable:end -->
|
|
|
@cjkenn thanks! We don't expect you to run all of wpt locally; that's what our bits are for :) |
cjkenn commentedApr 24, 2016
•
edited by Ms2ger
Set document content type based on the namespace.
Standard: https://dom.spec.whatwg.org/#dom-domimplementation-createdocument
Fixes #10743.
This change is