Uh oh!
There was an error while loading. Please reload this page.
test: add hasIntl to failing test - #13699
Conversation
Currently when node is configured --without-intl the tests in this commit fail. This commit adds checks for internationalization for these tests
danbev
commented
Jun 15, 2017
refack
commented
Jun 15, 2017
It is documented in anyway that WHATWG URL doesn't work without ICU? |
danbev
commented
Jun 15, 2017
Sorry, I don't know if it is documented or not. |
refack
commented
Jun 15, 2017
I'll go dig. |
TimothyGu
commented
Jun 15, 2017
Not that I am aware of. However, WHATWG URL does work without ICU, just not the Punycode encoding or decoding part. |
| 'use strict'; | ||
| require('../common'); | ||
| const common = require('../common'); | ||
| if (!(common.hasIntl && common.hasSmallICU)) { |
There was a problem hiding this comment.
Is common.hasSmallICU a thing? I'm only finding process.binding('config').hasSmallICU with a quick search.
There was a problem hiding this comment.
Good catch! I was looking at an old commit and did not notice that that function does not exist or has been removed. Going to add it now. Thanks.
Trott
left a comment
There was a problem hiding this comment.
If we're adding a property to common, can you also add documentation for it in test/common/README.md?
danbev
commented
Jun 16, 2017
Ah sorry, forgot about that. I'll add that. |
Commit d7e4ae1 ("test: add common.hasIntl") added common.hasIntl but I was not able to find it in the README.md so this commit adds it.
Commit d7e4ae1 ("test: add common.hasIntl") added common.hasIntl but I was not able to find it in the README.md so this commit adds it. PR-URL: nodejs#13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Currently when node is configured --without-intl the tests in this commit fail. This commit adds checks for internationalization for these tests PR-URL: nodejs#13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
danbev
commented
Jun 18, 2017
Commit d7e4ae1 ("test: add common.hasIntl") added common.hasIntl but I was not able to find it in the README.md so this commit adds it. PR-URL: #13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Currently when node is configured --without-intl the tests in this commit fail. This commit adds checks for internationalization for these tests PR-URL: #13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Commit d7e4ae1 ("test: add common.hasIntl") added common.hasIntl but I was not able to find it in the README.md so this commit adds it. PR-URL: #13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Currently when node is configured --without-intl the tests in this commit fail. This commit adds checks for internationalization for these tests PR-URL: #13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Commit d7e4ae1 ("test: add common.hasIntl") added common.hasIntl but I was not able to find it in the README.md so this commit adds it. PR-URL: #13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Currently when node is configured --without-intl the tests in this commit fail. This commit adds checks for internationalization for these tests PR-URL: #13699 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
commented
Jul 17, 2017
should this be backported to v6.x? |
Currently when node is configured
--without-intlthe tests in thiscommit fail. This commit adds checks for internationalization for these
tests
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test