Skip to content

xpath: Verify context node in XPathExpression::evaluate_internal#40105

Merged
simonwuelker merged 1 commit intoservo:mainfrom
simonwuelker:xpath-context-node-verification
Oct 24, 2025
Merged

xpath: Verify context node in XPathExpression::evaluate_internal#40105
simonwuelker merged 1 commit intoservo:mainfrom
simonwuelker:xpath-context-node-verification

Conversation

@simonwuelker
Copy link
Copy Markdown
Contributor

evaluate_internal is the common code path used when evaluating an expression, so any verification that always applies must happen there.

Testing: This change adds a test
Fixes #40104
Part of #34527

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 23, 2025
@simonwuelker simonwuelker force-pushed the xpath-context-node-verification branch from 8997e6a to 5a734a8 Compare October 23, 2025 13:30
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 23, 2025
@jdm jdm added this pull request to the merge queue Oct 23, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 23, 2025
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 23, 2025
@jdm jdm added S-fails-tidy `./mach test-tidy` reported errors. and removed S-tests-failed The changes caused existing tests to fail. labels Oct 23, 2025
@arihant2math arihant2math removed the S-fails-tidy `./mach test-tidy` reported errors. label Oct 24, 2025
@simonwuelker simonwuelker force-pushed the xpath-context-node-verification branch from 5a734a8 to 07b6399 Compare October 24, 2025 11:45
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 24, 2025
@simonwuelker simonwuelker added this pull request to the merge queue Oct 24, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 24, 2025
Merged via the queue into servo:main with commit f0c18f7 Oct 24, 2025
33 checks passed
@simonwuelker simonwuelker deleted the xpath-context-node-verification branch October 24, 2025 13:28
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

xpath: Context node verification doesn't happen when using XPathEvaluator interface

4 participants