Selector: Drop support for legacy pseudos, test custom pseudos
commit8c7da22caeae8c2c3f7e9869d5f47414669f106c
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 11 Oct 2022 09:55:46 +0000 (11 11:55 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 09:55:46 +0000 (11 11:55 +0200)
tree802691b43d9f7c16579dc721439ae569aa3c5176
parentee6e874075ba1fcd8f9e62cd1ee5c04f6518b6d6
Selector: Drop support for legacy pseudos, test custom pseudos

This backports custom pseudos tests from Sizzle; they were missed in original
test backports. Also, the support for legacy custom pseudos has been dropped.

The `jQuery.expr` test cleanup has been wrapped in `try-finally` for cleaner
test isolation in case anything goes wrong.

Closes gh-5137
src/selector.js
test/unit/selector.js