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

perf_hooks,trace_events: use stricter equality #28166

Closed
wants to merge 1 commit into from

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Jun 11, 2019

There is no need to use loose equality on these checks because undefined is caught by the preceding typeof check.

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

There is no need to use loose equality on these checks because
undefined is caught by the preceding typeof check.
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jun 11, 2019

@nodejs-github-bot nodejs-github-bot added perf_hooks Issues and PRs related to the implementation of the Performance Timing API. trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events. labels Jun 11, 2019
@nodejs-github-bot
Copy link
Collaborator

@ZYSzys
Copy link
Member

ZYSzys commented Jun 16, 2019

Landed in 2b8b230.

@ZYSzys ZYSzys closed this Jun 16, 2019
pull bot pushed a commit to Rachelmorrell/node that referenced this pull request Jun 16, 2019
There is no need to use loose equality on these checks because
undefined is caught by the preceding typeof check.

PR-URL: nodejs#28166
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Copy link

@Bigelow77 Bigelow77 left a comment

Choose a reason for hiding this comment

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

[redacted]

Copy link

@Bigelow77 Bigelow77 left a comment

Choose a reason for hiding this comment

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

[redacted]

Copy link

@Bigelow77 Bigelow77 left a comment

Choose a reason for hiding this comment

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

[redacted]

BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
There is no need to use loose equality on these checks because
undefined is caught by the preceding typeof check.

PR-URL: #28166
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
@BridgeAR BridgeAR mentioned this pull request Jun 17, 2019
targos pushed a commit that referenced this pull request Jun 18, 2019
There is no need to use loose equality on these checks because
undefined is caught by the preceding typeof check.

PR-URL: #28166
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
@cjihrig cjihrig deleted the stricter branch June 19, 2019 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf_hooks Issues and PRs related to the implementation of the Performance Timing API. trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants