Commit 642076f2 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

src: don't set non-primitive values on templates

V8 is going to disallow non-primitive values on v8::FunctionTemplate
and v8::ObjectTemplate because those can't be shared across contexts.

Fixes: https://github.com/nodejs/node/issues/6216
PR-URL: https://github.com/nodejs/node/pull/6228


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent 15f13cd7
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