Skip to content

url: revokeObjectURL should throw an error when no parameter is provided - #50925

Closed
strawberrywz wants to merge 3 commits into
nodejs:mainfrom
strawberrywz:main
Closed

url: revokeObjectURL should throw an error when no parameter is provided#50925
strawberrywz wants to merge 3 commits into
nodejs:mainfrom
strawberrywz:main

Conversation

@strawberrywz

Copy link
Copy Markdown

I failed to follow the guidelines for my first commit. I made a typo error so I can reproduce the code and submit it with the correct guidelines. Thank you !

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/url

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Nov 26, 2023

@himself65himself65 left a comment

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.

This looks good since it fits with the web API. But You might need to add a test case

image

Comment threadpackage-lock.json

@himself65himself65Nov 26, 2023

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.

This file is not supposed to have. Please remove it

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

How do I add a test case? I also see an error which says the following:
Check failure on line 1107 in lib/internal/url.js
GitHub Actions
/ lint-js-and-md
Expected '===' and instead saw '=='

am I to fix this as well or?

@himself65himself65 changed the title First Time Contributor url: revokeObjectURL should throw an error when no parameter is providedNov 26, 2023
@meyfa

Copy link
Copy Markdown
Contributor

This fixes issue #50432, which could be added to the PR description.

@deokjinkim

Copy link
Copy Markdown
Contributor

Duplicate of#50433

@deokjinkimdeokjinkim marked this as a duplicate of #50433Nov 28, 2023
@marco-ippolitomarco-ippolito added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Dec 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicateIssues and PRs that are duplicates of other issues or PRs.needs-ciPRs that need a full CI run.whatwg-urlIssues and PRs related to the WHATWG URL implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@strawberrywz@nodejs-github-bot@meyfa@deokjinkim@himself65@marco-ippolito