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 upUpdate concept of node filter algorithm #18255
Conversation
highfive
commented
Aug 26, 2017
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @glennw (or someone else) soon. |
highfive
commented
Aug 26, 2017
highfive
commented
Aug 26, 2017
| // "acceptNode", and a list of arguments consisting of node. If that throws an exception, | ||
| // then unset the active flag and rethrow the exception." | ||
| // "7. Unset the active flag" | ||
| // "8. Return result." |
This comment has been minimized.
This comment has been minimized.
KiChjang
Aug 26, 2017
•
Member
I'm not sure why these step annotations are there, we usually just do step n. @nox?
This comment has been minimized.
This comment has been minimized.
CYBAI
Aug 27, 2017
Author
Collaborator
@KiChjang Due to the existing step annotation, I just updated them to the new one. If they're unnecessary, please let me remove them.
This comment has been minimized.
This comment has been minimized.
KiChjang
Aug 27, 2017
Member
These seem to be left by a contributor back in #3253, when we did not have guidelines as to how we're supposed to leave step annotations.
So yes, please change them back into step n instead.
|
@bors-servo: try |
Update concept of node filter algorithm Implement new [filter](https://dom.spec.whatwg.org/#concept-node-filter) algorithm from specification --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18218 (github issue number if applicable). - [ ] There are tests for these changes OR - [X] These changes do not require tests because changes are minimal and the error was triggered by a test <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18255) <!-- Reviewable:end -->
|
|
|
@jdm @KiChjang @shinglyu |
|
Yeah, looks like it. |
|
|
Update concept of node filter algorithm Implement new [filter](https://dom.spec.whatwg.org/#concept-node-filter) algorithm from specification --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18218 (github issue number if applicable). - [X] These changes do not require tests because changes are minimal and the error was triggered by a test <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18255) <!-- Reviewable:end -->
|
Sorry for triggering it two times. I though I had the wrong syntax so asked twice. |
|
|
|
I bet there are tests upstream that would be affected by this, but we're currently stuck on an old version of web-platform-tests :( |
|
Hi @jdm , is there anything I can help or update for it? |
|
#17416 <= this? |
|
|
f325650
to
f846d87
|
|
|
@bors-servo: try |
|
@CYBAI: |
|
@bors-servo try |
Update concept of node filter algorithm Implement new [filter](https://dom.spec.whatwg.org/#concept-node-filter) algorithm from specification --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18218 (github issue number if applicable). - [X] These changes do not require tests because changes are minimal and the error was triggered by a test <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18255) <!-- Reviewable:end -->
|
@wafflespeanut Thanks! |
|
|
|
@bors-servo: r+ |
|
|
Update concept of node filter algorithm Implement new [filter](https://dom.spec.whatwg.org/#concept-node-filter) algorithm from specification --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18218 (github issue number if applicable). - [X] These changes do not require tests because changes are minimal and the error was triggered by a test <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18255) <!-- Reviewable:end -->
|
@CYBAI Your 2nd commit message is incorrect, you're not removing legacy tests - you're updating test expectations. But instead of renaming it, can I ask you to squash your commits into one, please? |
|
|
|
@KiChjang Oh... sorry for late reply. This PR has been merged. How can I update them or any way I can help? Thank. |
CYBAI commentedAug 26, 2017
•
edited
Implement new filter algorithm from specification
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is