Make property descriptors hold named/indexed property values

This commit is contained in:
Patrick Shaughnessy 2020-01-06 14:20:51 -05:00
parent 1d645f3741
commit 111ede9c77
8 changed files with 6 additions and 30 deletions

View file

@ -822,8 +822,7 @@ unsafe extern "C" fn getOwnPropertyDescriptor(
assert!(desc.obj.is_null() || desc.obj == target.get());
if desc.obj == target.get() {
// FIXME(#11868) Should assign to desc.obj, desc.get() is a copy.
desc.get().obj = proxy.get();
desc.obj = proxy.get();
}
true