js->clj does not work on objects with null prototype

Description

Version: 1.9.946
Follow up from issue CLJS-1998

1 2 3 4 5 6 7 8 9 10 11 12 13 cljs.user=> (js->clj #js {}) {} cljs.user=> (js->clj (.create js/Object nil)) #object[Object] cljs.user=> (keys (js->clj (.create js/Object nil))) org.mozilla.javascript.EcmaError: TypeError: Cannot find default value for object. (.cljs_rhino_repl/goog/../.cljs_rhino_repl/cljs/core.js#9915) (.cljs_rhino_repl/cljs/core.cljs:2930:10) cljs$core$seq (.cljs_rhino_repl/cljs/core.cljs:1212:13) cljs$core$keys (.cljs_rhino_repl/cljs/core.cljs:8648:3) (NO_SOURCE_FILE <cljs repl>:1:0) (NO_SOURCE_FILE <cljs repl>:1:0)

Environment

None

Status

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Affects versions

1.9.908

Priority

Major
Configure