Skip to content

Comments

Use "domain pattern" to refer to patterns in scope specifications#244

Merged
drubery merged 1 commit intomainfrom
push-rpqrmnmxmykk
Feb 13, 2026
Merged

Use "domain pattern" to refer to patterns in scope specifications#244
drubery merged 1 commit intomainfrom
push-rpqrmnmxmykk

Conversation

@drubery
Copy link
Collaborator

@drubery drubery commented Feb 13, 2026

It's confusing that the JSON key is "domain" but we call it "host pattern". Since these patterns only match domains anyway, just rename it.

@drubery drubery requested a review from thefrog-gh February 13, 2026 21:31
spec.bs Outdated
: <dfn>host</dfn>
:: a [=string=] defining the domain or domain pattern that must match for this scope specification to apply
: <dfn>domain</dfn>
:: a [=string=] defining the domain or domain pattern that must match for this scope specification to apply.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the entries above and below this don't have a period at the end

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, none of the entries have periods. I guess we can skip it here too.

It's confusing that the JSON key is "domain" abut we call it "host
pattern". Since these patterns only match domains anyway, just rename
it.
@drubery drubery merged commit 335e903 into main Feb 13, 2026
2 checks passed
@drubery drubery deleted the push-rpqrmnmxmykk branch February 13, 2026 23:38
github-actions bot added a commit that referenced this pull request Feb 13, 2026
SHA: 335e903
Reason: push, by drubery

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