-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
getFnName unit tests ADDED #10941
getFnName unit tests ADDED #10941
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM, Thanks @dragthor
@dragthor I seen your comment in #8311 (comment). Do you plan to add any others tests in this PR ? You can open/rename a PR with the [WIP] tag. |
Separate PR. |
Ok then... |
Note: tests are being repaired in #10943. |
Let me figure this out. Edge "" |
I need to remove the unnamed function expression test case. |
Seems some (newer) browsers use the variable name for automatic namespacing. Is it safe to remove the unnamed function expression test case? |
As there is no consistent behavior we can expect (but just "we found a name", or "we were not able to get a name", and unless we find a polyfill (for new or old browsers), we should not test this case. |
…6.5.0 5137351 getFnName unit tests Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
Foundation.getFnName()
unit tests added.