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

Move early abort in Get Trusted Type compliant string to step 1 #427

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

lukewarlow
Copy link
Member

If the input matches the expected type there's no reason to first check CSP directives when you know you're gonna early abort.

Before:

image

After:

image

@lukewarlow lukewarlow requested a review from koto January 31, 2024 15:39
@koto koto merged commit 453170f into w3c:main Jan 31, 2024
2 checks passed
@lukewarlow lukewarlow deleted the reorder-steps-in-3.6 branch January 31, 2024 15:42
github-actions bot added a commit that referenced this pull request Jan 31, 2024
SHA: 453170f
Reason: push, by koto

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants