Commit 2e29b766 authored by Steven R. Loomis's avatar Steven R. Loomis Committed by Myles Borins
Browse files

intl: Don't crash if v8BreakIterator not available

If the undocumented v8BreakIterator does not have data available,
monkeypatch it to throw an error instead of crashing.

Fixes: https://github.com/nodejs/node/issues/3111
Ref: https://github.com/nodejs/node/pull/9008
PR-URL: https://github.com/nodejs/node/pull/4253


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 2a66ddbc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment