Closed Bug 919928 Opened 12 years ago Closed 11 years ago

Object.getPrototypeOf() on proxy does not return the current [[Prototype]]

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: anba, Unassigned)

Details

test case: --- var o = {}; var p = new Proxy(o, {}); o.__proto__ = p; Object.getPrototypeOf(p) === p --- Expected: yields true Actual: yields false `Object.getPrototypeOf(p)` returns the [[Prototype]] of `o` at the time the Proxy was created.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.