Skip to content

perf_hooks,trace_events: use stricter equality - #28166

Closed
cjihrig wants to merge 1 commit into
nodejs:masterfrom
cjihrig:stricter
Closed

perf_hooks,trace_events: use stricter equality#28166
cjihrig wants to merge 1 commit into
nodejs:masterfrom
cjihrig:stricter

Conversation

@cjihrig

Copy link
Copy Markdown
Contributor

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

nodejs-github-bot commented Jun 11, 2019

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-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
Copy Markdown
Collaborator

@ZYSzys

Copy link
Copy Markdown
Member

Landed in 2b8b230.

@ZYSzysZYSzys closed this Jun 16, 2019
pullBot 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 <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>

@Bigelow77Bigelow77 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[redacted]

@Bigelow77Bigelow77 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[redacted]

@Bigelow77Bigelow77 left a comment

Copy link
Copy Markdown

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 <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
@BridgeARBridgeAR 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 <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
@cjihrig
cjihrig deleted the stricter branch June 19, 2019 18:07
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perf_hooksIssues and PRs related to the implementation of the Performance Timing API.trace_eventsIssues 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

@cjihrig@nodejs-github-bot@ZYSzys@jasnell@Trott@lpinca@gengjiawen@richardlau@BridgeAR@Bigelow77