Repository navigation
Implement Range#insertNode - #6568
Conversation
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @kmcallister (or someone else) soon. |
|
Critic review: https://critic.hoppipolla.co.uk/r/5482 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
Reviewed 1 of 4 files at r1, 1 of 1 files at r2, 2 of 2 files at r3. components/script/dom/range.rs, line 307 [r3] (raw file): components/script/dom/range.rs, line 319 [r3] (raw file): let parent = match start_node.GetParentNode() {
Some(parent) => parent,
None => return Err(HierarchyRequest),
};components/script/dom/range.rs, line 326 [r3] (raw file): components/script/dom/range.rs, line 334 [r3] (raw file): components/script/dom/range.rs, line 350 [r3] (raw file): components/script/dom/range.rs, line 357 [r3] (raw file): components/script/dom/range.rs, line 363 [r3] (raw file): components/script/dom/range.rs, line 369 [r3] (raw file): components/script/dom/range.rs, line 391 [r3] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 6 unresolved discussions, all commit checks successful. components/script/dom/range.rs, line 307 [r3] (raw file): components/script/dom/range.rs, line 319 [r3] (raw file): components/script/dom/range.rs, line 334 [r3] (raw file): components/script/dom/range.rs, line 350 [r3] (raw file): components/script/dom/range.rs, line 357 [r3] (raw file): components/script/dom/range.rs, line 391 [r3] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Reviewed 1 of 1 files at r4, 1 of 1 files at r5. components/script/dom/range.rs, line 319 [r3] (raw file): components/script/dom/range.rs, line 350 [r3] (raw file): tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini, line 3 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. tests/wpt/metadata/dom/ranges/Range-insertNode.html.ini, line 3 [r5] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 1 of 1 files at r6. components/script/dom/range.rs, line 341 [r6] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
📌 Commit 982855c has been approved by |
Implement Range#insertNode Gecko doesn't really follow the spec but it seems to throw a HierarchyRequest error when parent is null. Any ideas who I should talk to about fixing the spec to account for the null checks? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6568) <!-- Reviewable:end -->
|
💔 Test failed - mac1 |
|
@bors-servo retry |
|
@bors-servo: r+ |
|
📌 Commit c2664e5 has been approved by |
Implement Range#insertNode Gecko doesn't really follow the spec but it seems to throw a HierarchyRequest error when parent is null. Any ideas who I should talk to about fixing the spec to account for the null checks? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6568) <!-- Reviewable:end -->
|
💔 Test failed - mac1 |
Gecko doesn't really follow the spec but it seems to throw a HierarchyRequest error when parent is null.
Any ideas who I should talk to about fixing the spec to account for the null checks?