Skip to content
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

Selector: Add a test for throwing on post-comma invalid selectors #4516

Merged
merged 1 commit into from
Oct 21, 2019

Conversation

mgol
Copy link
Member

@mgol mgol commented Oct 16, 2019

Summary

Sizzle's PR jquery/sizzle#456 introduced a test catching not throwing on
badly-escaped identifiers by Firefox 3.6-5. Unfortunately, it was placed just
before a test Opera 10-11 failed, making Opera fail quicker and not adding
a post-comma invalid selector to rbuggyQSA.

The issue was fixed in jquery/sizzle#463. This jQuery commit backports the test
that Sizzle PR added as no workarounds are needed in browsers jQuery supports.

Ref jquery/sizzle#456
Ref jquery/sizzle#463

Checklist

@mgol mgol added this to the 4.0.0 milestone Oct 16, 2019
@mgol mgol self-assigned this Oct 16, 2019
Sizzle's PR jquery/sizzle#456 introduced a test catching not throwing on
badly-escaped identifiers by Firefox 3.6-5. Unfortunately, it was placed just
before a test Opera 10-11 failed, making Opera fail quicker and not adding
a post-comma invalid selector to rbuggyQSA.

The issue was fixed in jquery/sizzle#463. This jQuery commit backports the test
that Sizzle PR added as no workarounds are needed in browsers jQuery supports.

Ref jquery/sizzle#456
Ref jquery/sizzle#463
@mgol mgol changed the title Selector: Throw on post-comma invalid selectors in Opera 10-11 again Selector: Add a test for throwing on post-comma invalid selectors Oct 21, 2019
@mgol mgol merged commit 6eee5f7 into jquery:master Oct 21, 2019
@mgol mgol deleted the post-comma-selector branch October 21, 2019 17:03
@mgol mgol removed the Needs review label Oct 21, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants