-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent reentrancy in TreeWalker::accept_node and NodeIterator::accept_node #18218
Labels
A-content/dom
Interacting with the DOM from web content
C-assigned
There is someone working on resolving the issue
C-has-open-pr
There is a PR open that resolves the issue
E-less-complex
Straightforward. Recommended for a new contributor.
Comments
jdm
added
A-content/dom
Interacting with the DOM from web content
E-less-complex
Straightforward. Recommended for a new contributor.
labels
Aug 24, 2017
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
@highfive: assign me |
Hey @CYBAI! Thanks for your interest in working on this issue. It's now assigned to you! |
4 tasks
bors-servo
pushed a commit
that referenced
this issue
Aug 27, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Aug 29, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Oct 6, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Oct 17, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Oct 17, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Oct 18, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Oct 21, 2017
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 -->
bors-servo
pushed a commit
that referenced
this issue
Oct 21, 2017
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 -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-content/dom
Interacting with the DOM from web content
C-assigned
There is someone working on resolving the issue
C-has-open-pr
There is a PR open that resolves the issue
E-less-complex
Straightforward. Recommended for a new contributor.
accept_node implements the filter algorithm from the specification, but that algorithm has been updated since it was first written. We need to add an active flag to both TreeWalker and NodeIterator and update it appropriately according to the specification.
Code:
components/script/dom/nodeiterator.rs
,components/script/dom/treewalker.rs
Tests:
./mach test-wpt tests/wpt/web-platform-tests/dom/traversal
The text was updated successfully, but these errors were encountered: