Skip to content

quic,timers: use AbortController with correct name/message - #34763

Closed
addaleax wants to merge 2 commits into
nodejs:masterfrom
addaleax:abort-error
Closed

quic,timers: use AbortController with correct name/message#34763
addaleax wants to merge 2 commits into
nodejs:masterfrom
addaleax:abort-error

Conversation

@addaleax

@addaleax addaleax commented Aug 13, 2020

Copy link
Copy Markdown
Member
quic: use AbortController with correct name/message

On the web, AbortError is the error name, not the error
message. Change the code to match that.

timers: use AbortController with correct name/message

On the web, AbortError is the error name, not the error
message. Change the code to match that.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@addaleax
addaleax requested review from a team and jasnell August 13, 2020 19:07
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

@nodejs-github-bot nodejs-github-bot added dont-land-on-v12.x quic Issues and PRs related to the QUIC transport implementation. labels Aug 13, 2020
@aduh95

aduh95 commented Aug 14, 2020

Copy link
Copy Markdown
Contributor

Typo in the commit message: AbortController is the error name, but in the code the error name is AbortError.

On the web, `AbortError` is the error name, not the error
message. Change the code to match that.
On the web, `AbortError` is the error name, not the error
message. Change the code to match that.
@addaleax addaleax added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 14, 2020
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 14, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Trott commented Aug 15, 2020

Copy link
Copy Markdown
Member

Landed in 9594b54...5d179cb

@Trott Trott closed this Aug 15, 2020
Trott pushed a commit that referenced this pull request Aug 15, 2020
On the web, `AbortError` is the error name, not the error
message. Change the code to match that.

PR-URL: #34763
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Trott pushed a commit that referenced this pull request Aug 15, 2020
On the web, `AbortError` is the error name, not the error
message. Change the code to match that.

PR-URL: #34763
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@Trott

Trott commented Aug 15, 2020

Copy link
Copy Markdown
Member

Any semver concerns with the timers change?

@addaleax
addaleax deleted the abort-error branch August 16, 2020 20:47
@addaleax

Copy link
Copy Markdown
Member Author

@Trott Given that AbortController has not been released yet, I don’t think so.

targos pushed a commit to targos/node that referenced this pull request Apr 30, 2021
On the web, `AbortError` is the error name, not the error
message. Change the code to match that.

PR-URL: nodejs#34763
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit that referenced this pull request Apr 30, 2021
On the web, `AbortError` is the error name, not the error
message. Change the code to match that.

PR-URL: #34763
Backport-PR-URL: #38386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

quic Issues and PRs related to the QUIC transport implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants