nodejs/node#3111 - v8BreakIterator disablement#4253
nodejs/node#3111 - v8BreakIterator disablement#4253srl295 wants to merge 1 commit intonodejs:masterfrom
Conversation
81c275d to
d8b0b26
Compare
|
Rebased. Problem, it doesn't actually work. My changes to |
|
linking: #3111 |
|
OK, it's working again. Can I get a LGTM? |
|
To test: before: crashes in |
Question: what's the best way to test this? |
lib/internal/process.js
Outdated
There was a problem hiding this comment.
Style error: space after (. Can you put each check on its own line, followed by the &&? You'll also need to start with:
if (process.config &&
process.config.variables &&
// ...There was a problem hiding this comment.
Thanks. I'll drop the check for process.config.variables.v8_enable_i18n_support also. For this code's purpose, checking Intl is enough. One fewer dependency on an internal v8 variable is better.
|
Updated, PTAL |
lib/internal/process.js
Outdated
There was a problem hiding this comment.
You still need a process.config && process.config.variables feature check here and can you make sure make lint passes?
|
lib/internal/process.js
Outdated
There was a problem hiding this comment.
Needs a process.config && process.config.variables feature check.
7da4fd4 to
c7066fb
Compare
|
Updated, rebased. Thanks @jasnell |
If the undocumented v8BreakIterator does not have data available, monkeypatch it to throw an error instead of crashing. Fixes nodejs#3111
|
LGTM if CI is green :-) |
|
ci build in progress… |
|
Landed in cd752e8 |
|
@srl295 this does not land cleanly on |
|
Yes. Probably an earlier version would. Or maybe depend on back porting the other process change @jasnell ? |
|
@srl295 ping |
|
#9008 is the v4.x backport. |
Getting this going… need to rebase