Skip to content

url: fix canParse false value when v8 optimizes - #48817

Closed
anonrig wants to merge 1 commit into
nodejs:mainfrom
anonrig:fix-canparse-url
Closed

url: fix canParse false value when v8 optimizes#48817
anonrig wants to merge 1 commit into
nodejs:mainfrom
anonrig:fix-canparse-url

Conversation

@anonrig

@anonrig anonrig commented Jul 17, 2023

Copy link
Copy Markdown
Member

Fixes #48816

I requested fast-track to include this change with the currently pending Node 18 release (which includes URL.canParse as well. cc @danielleadams

cc @nodejs/url

@anonrig
anonrig requested a review from KhafraDev July 17, 2023 17:42
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/url

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. labels Jul 17, 2023
@anonrig anonrig added request-ci Add this label to start a Jenkins CI on a PR. fast-track PRs proposed for a shorter-than-standard waiting period before landing. labels Jul 17, 2023
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @anonrig. Please 👍 to approve.

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 17, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

assert.strictEqual(URL.canParse('https://example.org'), true);
assert.strictEqual(canParse('https://example.org'), true);

// This for-loop is used to test V8 Fast API optimizations

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
// This for-loop is used to test V8 Fast API optimizations
// This for-loop is used to test V8 Fast API optimizations.

@anonrig

anonrig commented Jul 17, 2023

Copy link
Copy Markdown
Member Author

@nodejs/build it seems windows-fanned build is failing. is there an outage?

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@anonrig anonrig added the commit-queue PRs queued for automated landing through the Commit Queue. label Jul 18, 2023
danielleadams pushed a commit that referenced this pull request Jul 18, 2023
PR-URL: #48817
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
@danielleadams

Copy link
Copy Markdown
Contributor

Landed in e0500d6

@anonrig anonrig mentioned this pull request Jul 18, 2023
@danielleadams

Copy link
Copy Markdown
Contributor

@anonrig this will need a backport to v18.x-staging

juanarbol pushed a commit that referenced this pull request Jul 18, 2023
PR-URL: #48817
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48817
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48817
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
@panva panva removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. fast-track PRs proposed for a shorter-than-standard waiting period before landing. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL.canParse fails when stressed

9 participants