GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — src: add a condition if the argument of `DomainToUnicode` is empty by pluris · Pull Request #49097 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What's the goal of this pull request? Can you provide an example and update your PR with a test?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@anonrig Thank you for your comments.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@pluris It already returns an empty string when an empty string is passed. It seems like this is an optimization for performance for the empty input to perform faster. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| return args.GetReturnValue().Set( | |
| String::NewFromUtf8(env->isolate(), "").ToLocalChecked()); | |
| return args.GetReturnValue().Set(FIXED_ONE_BYTE_STRING(env->isolate(), "")); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you apply the changes?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@anonrig Oh, I'm so sorry. I checked this comment too late. I thought I fixed it, but maybe I didn't add a commit...
It seems that the PR has been merged, but I will fix it.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@anonrig Lines 79 to 82 in f1b3ade
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@pluris I don't think removing it would make a difference since it is a single branch (in c++). So, personally I'm fine with adding it to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@anonrig Thank you for your opinion. It helped me a lot. 😄 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@pluris Can you rebase from |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
e2fd13c to
4e380fd
Compare
|
@anonrig Yes, I did rebase and force-push. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
4e380fd to
adf338b
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 45e5ec8 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #49336 Refs: #49097 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]>
PR-URL: #49097 Refs: #46410 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
PR-URL: #49336 Refs: #49097 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]>
PR-URL: #49097 Refs: #46410 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
PR-URL: nodejs/node#49097 Refs: nodejs/node#46410 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
PR-URL: nodejs/node#49097 Refs: nodejs/node#46410 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.