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

Dfns extraction: expand logic that skips imported definitions #1789

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Mar 6, 2025

The crawler expected "imported definitions" to use <dfn> as the wrapping element with an inner <a> element. The Source map format spec now uses the opposite pattern. This update expands the logic accordingly.

Close #1788.

The crawler expected "imported definitions" to use `<dfn>` as the wrapping
element with an inner `<a>` element. The Source map format spec now uses the
opposite pattern. This update expands the logic accordingly.

Close #1788.
@tidoust tidoust requested a review from dontcallmedom March 6, 2025 18:49
@dontcallmedom
Copy link
Member

since the upstream spec has been changed, I wonder if it's still worth merging this? did you check if it would generate true and/or false positives?

@tidoust
Copy link
Member Author

tidoust commented Mar 7, 2025

No false positives generated! Don't you trust our test suite? 😲

And it's actually useful as it captures two cases of that same pattern used in other specs:

@tidoust tidoust merged commit 35d1671 into main Mar 7, 2025
1 check passed
@tidoust tidoust deleted the dfns-skip-imported branch March 7, 2025 09:51
tidoust added a commit that referenced this pull request Mar 12, 2025
Dependencies bumped:
- Bump web-specs from 3.42.0 to 3.43.0 (#1793)
- Bump rollup from 4.34.9 to 4.35.0 (#1790)
- Bump puppeteer from 24.3.1 to 24.4.0 (#1787)
- Dfns extraction: expand logic that skips imported definitions (#1789)
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.

Dfns extraction: expand logic that skips imported definitions
2 participants