Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upconsole: remove trace frame #27159
Conversation
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
added
the
console
label
Apr 9, 2019
eugeneo
approved these changes
Apr 9, 2019
richardlau
approved these changes
Apr 9, 2019
|
Commit message has a typo ( |
targos
approved these changes
Apr 9, 2019
| @@ -330,13 +330,13 @@ const consoleMethods = { | |||
| trace(kTraceInstant, kTraceConsoleCategory, `time::${label}`, 0); | |||
| }, | |||
|
|
|||
| trace(...args) { | |||
| trace: function trace(...args) { | |||
This comment has been minimized.
This comment has been minimized.
targos
Apr 9, 2019
Member
Is this strictly needed? I thought the shorthand notation had the same behavior.
This comment has been minimized.
This comment has been minimized.
BridgeAR
Apr 10, 2019
Author
Member
With the shorthand notation, the function would be called as obj.property. It is not possible to access the function itself by only using the property name. That is only possible inside the old function foo type.
It would also be possible if this would not be a property but a variable.
BridgeAR
closed this
Apr 10, 2019
BridgeAR
reopened this
Apr 10, 2019
jasnell
approved these changes
Apr 10, 2019
BridgeAR
added
the
author ready
label
Apr 10, 2019
This comment has been minimized.
This comment has been minimized.
ZYSzys
approved these changes
Apr 10, 2019
lpinca
approved these changes
Apr 10, 2019
ChALkeR
approved these changes
Apr 10, 2019
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Landed in 091902a |
ZYSzys
closed this
Apr 12, 2019
targos
pushed a commit
to targos/node
that referenced
this pull request
Apr 12, 2019
This was referenced Apr 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
BridgeAR commentedApr 9, 2019
The own function's frame was removed originally. This restors that
behavior.
Fixes: #27134
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes