Bug 929786 - Don't forget that JS_ValueToObject can return null (r=bustage)

--HG--
extra : rebase_source : 6bad633d1ad32c73ec749275a61d9ab37a367089