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

Editorial: Plumb reason through abort and cancel algorithm wrappers #1300

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

jeremyroman
Copy link
Contributor

@jeremyroman jeremyroman commented Dec 19, 2023

These are clearly intended to pass the reason through.

Fixes #1241, fixes #1273.


Preview | Diff

These are clearly intended to pass the reason through.

Fixes whatwg#1241, fixes whatwg#1273.
@jeremyroman
Copy link
Contributor Author

#1275 was previously sent for review in April but hasn't been merged. Merging that PR would be another option.

@jeremyroman
Copy link
Contributor Author

@domenic how would you (or another editor; it seems nontrivial to discover who) like to proceed?

@domenic
Copy link
Member

domenic commented Dec 20, 2023

That PR got stalled as the original person did not respond to review comments, so we can use this one!

index.bs Outdated
1. Let |cancelAlgorithmWrapper| be an algorithm that runs these steps:
1. Let |result| be the result of running |cancelAlgorithm|, if |cancelAlgorithm| was given, or
1. Let |cancelAlgorithmWrapper| be an algorithm that runs these steps given |reason|:
1. Let |result| be the result of running |cancelAlgorithm| given |reason|, if |cancelAlgorithm| was given, or
Copy link
Member

Choose a reason for hiding this comment

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

Rewrap to 100 chars here and below

Copy link
Contributor Author

Choose a reason for hiding this comment

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

CONTRIBUTING.md in this repository says the line limit in this specification is 120 chars, unlike other WHATWG repositories.

Should I comply with that right now, or do you still want this wrapped at 100?

Copy link
Member

Choose a reason for hiding this comment

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

It looks like CONTRIBUTING.md is outdated; 100 would be best, please!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@domenic domenic merged commit b0fc04d into whatwg:main Jan 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants