Skip to content
Snippets Groups Projects
Commit 0651a7fa authored by Henrique Ferreiro's avatar Henrique Ferreiro Committed by Leo Balter
Browse files

setPrototypeOf returns 'true' if called with the target's prototype (#768)

parent 9d8d8b69
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ var proxy = new Proxy(target, {
}
});
assert.sameValue(Reflect.setPrototypeOf(proxy, proto), false);
assert.sameValue(Reflect.setPrototypeOf(proxy, proto), true);
assert.sameValue(calls.length, 3);
assert.sameValue(calls[0], "proxy.[[setPrototypeOf]]");
assert.sameValue(calls[1], "target.[[IsExtensible]]");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment