internal: fix TypeError in v8-polyfill
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
v8 profile processor
Description of change
readline()
can return a boolean, in which case, line 90 will throw an exception. This change addresses the issue by defaulting to a string in readline()
instead of returning false.